/
usr
/
local
/
lsws
/
phpbuild
/
php-8.0.7
/
Zend
/
tests
/
File Upload :
llllll
Current File: //usr/local/lsws/phpbuild/php-8.0.7/Zend/tests/bug45742.phpt
--TEST-- Bug #45742 Wrong class array inpretetion using constant indexes --FILE-- <?php class Constants { // Needs to be equal const A = 1; const B = 1; } class ArrayProperty { public static $array = array( Constants::A => 23, Constants::B => 42, ); } var_dump( ArrayProperty::$array ); ?> --EXPECT-- array(1) { [1]=> int(42) }
Copyright ©2k19 -
Hexid
|
Tex7ure