From 2e3fbf41f9341da9a9fc022519fad0ff44f79e62 Mon Sep 17 00:00:00 2001 From: foobar Date: Tue, 13 Nov 2001 12:20:31 +0000 Subject: [PATCH] Make these tests work regardless of the register_globals setting. --- tests/basic/002.phpt | 2 +- tests/basic/003.phpt | 2 +- tests/basic/004.phpt | 2 +- tests/basic/005.phpt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/basic/002.phpt b/tests/basic/002.phpt index d694a201c2..6ea0c11fa1 100644 --- a/tests/basic/002.phpt +++ b/tests/basic/002.phpt @@ -5,6 +5,6 @@ a=Hello+World --GET-- --FILE-- +echo $_POST['a']; ?> --EXPECT-- Hello World diff --git a/tests/basic/003.phpt b/tests/basic/003.phpt index c728a79efd..9c105f7398 100644 --- a/tests/basic/003.phpt +++ b/tests/basic/003.phpt @@ -7,6 +7,6 @@ b=Hello+Again+World&c=Hi+Mom --FILE-- +echo "{$_POST['a']} {$_GET['b']} {$_GET['c']}"?> --EXPECT-- Hello World Hello Again World Hi Mom diff --git a/tests/basic/004.phpt b/tests/basic/004.phpt index 4e8eb2b2c0..b7e50e0f33 100644 --- a/tests/basic/004.phpt +++ b/tests/basic/004.phpt @@ -6,6 +6,6 @@ a=Hello+World&b=Hello+Again+World --FILE-- +echo "{$_POST['a']} {$_POST['b']}" ?> --EXPECT-- Hello World Hello Again World diff --git a/tests/basic/005.phpt b/tests/basic/005.phpt index 9a30c59194..651b83d81a 100644 --- a/tests/basic/005.phpt +++ b/tests/basic/005.phpt @@ -6,6 +6,6 @@ a=Hello+World&b=Hello+Again+World&c=1 --FILE-- +echo "{$_POST['a']} {$_POST['b']} {$_POST['c']}"?> --EXPECT-- Hello World Hello Again World 1 -- 2.50.1