summaryrefslogtreecommitdiff
path: root/Zend
diff options
context:
space:
mode:
authorKalle Sommer Nielsen <kalle@php.net>2010-04-15 16:36:08 (GMT)
committerKalle Sommer Nielsen <kalle@php.net>2010-04-15 16:36:08 (GMT)
commita5304b138f2201fcc6020a8ef68d31beb03ed236 (patch)
tree737b3fd34ded2e55e9098b8961a55dbcf0069b92 /Zend
parentfb76a3f2db9fc327867a8a8f385d0934d591c47b (diff)
downloadphp-a5304b138f2201fcc6020a8ef68d31beb03ed236.tar.gz
Removed register_long_arrays ini option (and $HTTP_SESSION_VARS from ext/session)
Diffstat (limited to 'Zend')
-rw-r--r--Zend/tests/unset_cv05.phpt8
1 files changed, 3 insertions, 5 deletions
diff --git a/Zend/tests/unset_cv05.phpt b/Zend/tests/unset_cv05.phpt
index 8e3c634..6ef7b34 100644
--- a/Zend/tests/unset_cv05.phpt
+++ b/Zend/tests/unset_cv05.phpt
@@ -1,7 +1,6 @@
--TEST--
unset() CV 5 (indirect unset() of global variable in session_start())
--INI--
-register_long_arrays=1
session.auto_start=0
session.save_handler=files
--SKIPIF--
@@ -12,14 +11,13 @@ include(dirname(__FILE__).'/../../ext/session/tests/skipif.inc');
?>
--FILE--
<?php
-$HTTP_SESSION_VARS = "ok\n";
-echo $HTTP_SESSION_VARS;
+$_SESSION = "ok\n";
+echo $_SESSION;
session_start();
-echo $HTTP_SESSION_VARS;
+echo $_SESSION;
echo "\nok\n";
?>
--EXPECTF--
-Warning: Directive 'register_long_arrays' is deprecated in PHP %d.%d and greater in Unknown on line 0
ok
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at %sunset_cv05.php on line %d