From: Derick Rethans Date: Mon, 22 Nov 2004 21:41:16 +0000 (+0000) Subject: - Added test case for bug #30862. X-Git-Tag: RELEASE_0_2~638 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a07c080ce8f486a3b0471fabc39960372f0485d5;p=php - Added test case for bug #30862. --- 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 +)