Return to bug26869.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / tests / lang |
Initial revision
--TEST-- Bug #26869 (constant as the key of static array) --FILE-- <?php define("A", "1"); static $a=array(A => 1); var_dump($a); var_dump(isset($a[A])); ?> --EXPECT-- array(1) { [1]=> int(1) } bool(true)