cvs: php-src(PHP_5_0) / NEWS /tests/lang bug30862.phpt

From: Date: Sat, 12 Feb 2005 16:39:48 +0000
Subject: cvs: php-src(PHP_5_0) / NEWS /tests/lang bug30862.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-30363@lists.php.net to get a copy of this message
helly Sat Feb 12 11:39:48 2005 EDT Added files: (Branch: PHP_5_0) /php-src/tests/lang bug30862.phpt Modified files: /php-src NEWS Log: - BFN and add test http://cvs.php.net/diff.php/php-src/NEWS?r1=1.1760.2.242&r2=1.1760.2.243&ty=u Index: php-src/NEWS diff -u php-src/NEWS:1.1760.2.242 php-src/NEWS:1.1760.2.243 --- php-src/NEWS:1.1760.2.242 Thu Feb 10 21:06:42 2005 +++ php-src/NEWS Sat Feb 12 11:39:48 2005 @@ -83,6 +83,7 @@ - Fixed bug #31055 (apache2filter: per request leak proportional to the full path of the request URI). (kameshj at fastmail dot fm) - Fixed bug #30901 (can't send cookies with soap envelop). (Dmitry) +- Fixed bug #30862 (Static array with boolean indexes). (Marcus) - Fixed bug #30726 (-.1 like numbers are not being handled correctly). (Ilia) - Fixed bug #30725 (PHP segfaults when an exception is thrown in getIterator() within foreach). (Marcus) http://cvs.php.net/co.php/php-src/tests/lang/bug30862.phpt?r=1.1&p=1 Index: php-src/tests/lang/bug30862.phpt +++ php-src/tests/lang/bug30862.phpt --TEST-- Bug #30862 (Static array with boolean indexes) --FILE-- <?php class T { static $a = array(false=>"false", true=>"true"); } print_r(T::$a); ?> ---------- <?php define("X",0); define("Y",1); class T2 { static $a = array(X=>"false", Y=>"true"); } print_r(T2::$a); ?> --EXPECT-- Array ( [0] => false [1] => true ) ---------- Array ( [0] => false [1] => true )

« previous php.cvs (#30363) next »