From d4ef4079deecd3387967adf1e1a5f0cf5a031a3b Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Thu, 3 Oct 2002 05:06:01 +0000 Subject: [PATCH] Verify PHP 4.2 compatibility: unset($c) with enabled register_globals --- ext/session/tests/007.phpt | 56 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 ext/session/tests/007.phpt diff --git a/ext/session/tests/007.phpt b/ext/session/tests/007.phpt new file mode 100644 index 00000000000..bc1fef11359 --- /dev/null +++ b/ext/session/tests/007.phpt @@ -0,0 +1,56 @@ +--TEST-- +Verify PHP 4.2 compatibility: unset($c) with enabled register_globals +--SKIPIF-- + +--FILE-- + +--EXPECT-- +float(3.14) +array(1) { + ["c"]=> + &float(3.14) +} +float(3.14) +array(1) { + ["c"]=> + &float(3.14) +}