From a07c080ce8f486a3b0471fabc39960372f0485d5 Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Mon, 22 Nov 2004 21:41:16 +0000 Subject: [PATCH] - Added test case for bug #30862. --- tests/lang/bug30862.phpt | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 tests/lang/bug30862.phpt diff --git a/tests/lang/bug30862.phpt b/tests/lang/bug30862.phpt new file mode 100644 index 0000000000..12c95d57e8 --- /dev/null +++ b/tests/lang/bug30862.phpt @@ -0,0 +1,30 @@ +--TEST-- +Bug #30862 (Static array with boolean indexes) +--FILE-- +"false", true=>"true"); +} +print_r(T::$a); +?> +---------- +"false", Y=>"true"); +} +print_r(T2::$a); +?> +--EXPECT-- +Array +( + [0] => false + [1] => true +) +---------- +Array +( + [0] => false + [1] => true +) -- 2.40.0