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 f1436c4 + 0a59a71 commit dd30a3dCopy full SHA for dd30a3d
ext/session/tests/session_module_name_variation4.phpt
@@ -23,10 +23,12 @@ $_SESSION["Blah"] = "Hello World!";
23
$_SESSION["Foo"] = FALSE;
24
$_SESSION["Guff"] = 1234567890;
25
var_dump($_SESSION);
26
+$oldsession = $_SESSION;
27
28
var_dump(session_write_close());
29
session_start();
-var_dump($_SESSION);
30
+// the session may have been GC'd or not; we accept either outcome
31
+var_dump($_SESSION === $oldsession || $_SESSION === []);
32
var_dump(session_destroy());
33
34
@@ -45,14 +47,7 @@ array(3) {
45
47
int(1234567890)
46
48
}
49
bool(true)
-array(3) {
- ["Blah"]=>
50
- string(12) "Hello World!"
51
- ["Foo"]=>
52
- bool(false)
53
- ["Guff"]=>
54
- int(1234567890)
55
-}
+bool(true)
56
57
array(0) {
58
0 commit comments