We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c1a80e0 + 6b99a8b commit 0a59a71Copy full SHA for 0a59a71
ext/session/tests/session_module_name_variation4.phpt
@@ -29,10 +29,12 @@ $_SESSION["Blah"] = "Hello World!";
29
$_SESSION["Foo"] = FALSE;
30
$_SESSION["Guff"] = 1234567890;
31
var_dump($_SESSION);
32
+$oldsession = $_SESSION;
33
34
var_dump(session_write_close());
35
session_start();
-var_dump($_SESSION);
36
+// the session may have been GC'd or not; we accept either outcome
37
+var_dump($_SESSION === $oldsession || $_SESSION === []);
38
var_dump(session_destroy());
39
40
@@ -51,14 +53,7 @@ array(3) {
51
53
int(1234567890)
52
54
}
55
bool(true)
-array(3) {
- ["Blah"]=>
56
- string(12) "Hello World!"
57
- ["Foo"]=>
58
- bool(false)
59
- ["Guff"]=>
60
- int(1234567890)
61
-}
+bool(true)
62
63
array(0) {
64
0 commit comments