Browse Source

Make these tests work regardless of the register_globals setting.

experimental/ZendEngine2
foobar 25 years ago
parent
commit
2e3fbf41f9
  1. 2
      tests/basic/002.phpt
  2. 2
      tests/basic/003.phpt
  3. 2
      tests/basic/004.phpt
  4. 2
      tests/basic/005.phpt

2
tests/basic/002.phpt

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

2
tests/basic/003.phpt

@ -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

2
tests/basic/004.phpt

@ -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

2
tests/basic/005.phpt

@ -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
Loading…
Cancel
Save