summaryrefslogtreecommitdiff
path: root/ext/session/tests/bug24592.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/session/tests/bug24592.phpt')
-rw-r--r--ext/session/tests/bug24592.phpt33
1 files changed, 0 insertions, 33 deletions
diff --git a/ext/session/tests/bug24592.phpt b/ext/session/tests/bug24592.phpt
deleted file mode 100644
index 9f94c3bf11..0000000000
--- a/ext/session/tests/bug24592.phpt
+++ /dev/null
@@ -1,33 +0,0 @@
---TEST--
-Bug #24592 (crash when multiple NULL values are being stored)
---INI--
-register_globals=0
-html_errors=0
---FILE--
-<?php
-@session_start();
-
-$foo = $_SESSION['foo'];
-$bar = $_SESSION['bar'];
-
-var_dump($foo, $bar, $_SESSION);
-
-$_SESSION['foo'] = $foo;
-$_SESSION['bar'] = $bar;
-
-var_dump($_SESSION);
-?>
---EXPECTF--
-Notice: Undefined index: foo in %s on line %d
-
-Notice: Undefined index: bar in %s on line %d
-NULL
-NULL
-array(0) {
-}
-array(2) {
- ["foo"]=>
- NULL
- ["bar"]=>
- NULL
-}