From 77e02d2e300a2063ebe63d1e931fb6b3d861649e Mon Sep 17 00:00:00 2001 From: SVN Migration Date: Sun, 11 Jan 2004 13:59:49 +0000 Subject: [PATCH] This commit was manufactured by cvs2svn to create branch 'PHP_4_3'. --- tests/lang/bug26869.phpt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 tests/lang/bug26869.phpt diff --git a/tests/lang/bug26869.phpt b/tests/lang/bug26869.phpt new file mode 100644 index 0000000000..77dd2592ed --- /dev/null +++ b/tests/lang/bug26869.phpt @@ -0,0 +1,15 @@ +--TEST-- +Bug #26869 (constant as the key of static array) +--FILE-- + 1); + var_dump($a); + var_dump(isset($a[A])); +?> +--EXPECT-- +array(1) { + [1]=> + int(1) +} +bool(true) -- 2.50.1