From: SVN Migration Date: Sun, 11 Jan 2004 13:59:49 +0000 (+0000) Subject: This commit was manufactured by cvs2svn to create branch 'PHP_4_3'. X-Git-Tag: php-4.3.5RC1~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=77e02d2e300a2063ebe63d1e931fb6b3d861649e;p=php This commit was manufactured by cvs2svn to create branch 'PHP_4_3'. --- 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)