1
0
mirror of https://github.com/php/php-src.git synced 2026-04-29 03:03:26 +02:00

Remove register_globals regression test for Pierre

This commit is contained in:
Sara Golemon
2006-03-07 00:26:27 +00:00
parent 303bfea78f
commit cc523d42cb
-26
View File
@@ -1,26 +0,0 @@
--TEST--
unset() CV 6 (indirect unset() of global variable in session_unset())
--SKIPIF--
<?php include(dirname(__FILE__).'/../../ext/session/tests/skipif.inc'); ?>
--INI--
register_globals=1
session.auto_start=0
session.save_handler=files
--FILE--
<?php
$x = "1\n";
session_start();
echo $x;
session_register('x');
$_SESSION['x'] = "2\n";
echo $x;
session_unset();
echo $x;
echo "ok\n";
?>
--EXPECTF--
1
2
Notice: Undefined variable: x in %sunset_cv06.php on line %d
ok