Make these tests work regardless of the register_globals setting.

This commit is contained in:
foobar 2001-11-13 12:20:31 +00:00
parent 8b40f3c231
commit 2e3fbf41f9
4 changed files with 4 additions and 4 deletions

View file

@ -5,6 +5,6 @@ a=Hello+World
--GET--
--FILE--
<?php error_reporting(0);
echo $a?>
echo $_POST['a']; ?>
--EXPECT--
Hello World

View file

@ -7,6 +7,6 @@ b=Hello+Again+World&c=Hi+Mom
--FILE--
<?php
error_reporting(0);
echo "$a $b $c"?>
echo "{$_POST['a']} {$_GET['b']} {$_GET['c']}"?>
--EXPECT--
Hello World Hello Again World Hi Mom

View file

@ -6,6 +6,6 @@ a=Hello+World&b=Hello+Again+World
--FILE--
<?php
error_reporting(0);
echo "$a $b"?>
echo "{$_POST['a']} {$_POST['b']}" ?>
--EXPECT--
Hello World Hello Again World

View file

@ -6,6 +6,6 @@ a=Hello+World&b=Hello+Again+World&c=1
--FILE--
<?php
error_reporting(0);
echo "$a $b $c"?>
echo "{$_POST['a']} {$_POST['b']} {$_POST['c']}"?>
--EXPECT--
Hello World Hello Again World 1