From 717604ea70cfd7323237d1e0de9fba7b80e91786 Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Mon, 22 Dec 2003 22:53:48 +0000 Subject: Add more tests --- tests/lang/bug23524.phpt | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100755 tests/lang/bug23524.phpt (limited to 'tests/lang') diff --git a/tests/lang/bug23524.phpt b/tests/lang/bug23524.phpt new file mode 100755 index 0000000000..18ffc33a48 --- /dev/null +++ b/tests/lang/bug23524.phpt @@ -0,0 +1,29 @@ +--TEST-- +Bug #23524 Improper handling of constants in array indeces +--FILE-- +THE_CONST)) { + print_r($a); + } + f(); + f(); + f(); + echo "Done"; +?> +--EXPECT-- +Begin +Array +( + [123] => 123 +) +Array +( + [123] => 123 +) +Array +( + [123] => 123 +) +Done -- cgit v1.2.1