On Wed, 25 Feb 2004, Zeev Suraski wrote: >zeev Wed Feb 25 09:57:43 2004 EDT > > Modified files: > /php-src/tests/lang bug22367.phpt > Log: > This is no longer valid out of the box PHP 5 code. > We tried to enable compatibility mode but the test engine doesn't appear > to take the --INI-- section into account in compile time, so it didn't > work...
The --INI-- section works just fine. What happens is that the output is NOT valid anymore. (or is it?) So either there's a bug somewhere in the compatibility stuff or the expected output is just wrong.. --Jani > >http://cvs.php.net/diff.php/php-src/tests/lang/bug22367.phpt?r1=1.4&r2=1.5&ty=u >Index: php-src/tests/lang/bug22367.phpt >diff -u php-src/tests/lang/bug22367.phpt:1.4 php-src/tests/lang/bug22367.phpt:1.5 >--- php-src/tests/lang/bug22367.phpt:1.4 Sun Dec 14 13:25:13 2003 >+++ php-src/tests/lang/bug22367.phpt Wed Feb 25 09:57:43 2004 >@@ -1,7 +1,10 @@ > --TEST-- > Bug #22367 (weird zval allocation problem) >+--SKIPIF-- >+<?php if(version_compare(zend_version(), "2.0.0-dev", '>=')) echo "skip Overriden >method does not match overriding method - incompatible with ZE2\n"; ?> > --FILE-- > <?php >+ > class foo > { > public $test = array(0, 1, 2, 3, 4); > > -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php