And: Thanks for the feedback ;)
S. ----- Ursprüngliche Mail ---- Von: S. Schürmann <sschuermann...@yahoo.de> An: Kalle Sommer Nielsen <ka...@php.net>; Sebastian Schürmann <s...@php.net> CC: php-cvs@lists.php.net Gesendet: Montag, den 27. April 2009, 02:13:26 Uhr Betreff: AW: [PHP-CVS] cvs: php-src(PHP_5_2) /ext/spl/tests spl_classes.phpt /ext/standard/tests/general_functions call_user_method.phpt /ext/standard/tests/versioning php_sapi_name_variation001.phpt Hey. I will add some variants that are working with pass sections for each PHP Version. Sebastian ----- Ursprüngliche Mail ---- Von: Kalle Sommer Nielsen <ka...@php.net> An: Sebastian Schürmann <s...@php.net> CC: php-cvs@lists.php.net Gesendet: Montag, den 27. April 2009, 02:09:41 Uhr Betreff: Re: [PHP-CVS] cvs: php-src(PHP_5_2) /ext/spl/tests spl_classes.phpt /ext/standard/tests/general_functions call_user_method.phpt /ext/standard/tests/versioning php_sapi_name_variation001.phpt Hi Sebastian 2009/4/27 Sebastian Schürmann <s...@php.net>: > sebs Sun Apr 26 23:54:12 2009 UTC > > Modified files: (Branch: PHP_5_2) > /php-src/ext/spl/tests spl_classes.phpt > /php-src/ext/standard/tests/general_functions call_user_method.phpt > /php-src/ext/standard/tests/versioning > php_sapi_name_variation001.phpt > Log: > - fixes to tests > - spl_classes only checks for is_array(), the output in 5_3_0 and 5_2_0 is > very different, > test will run this way in 5.2 and 5.3 w.o. problems > - call user method recognizes the different errormessage in 5_2_0 now > - the php_sap_name_variation001 check now goes for cgi instead of the > cgi-fcgi output string > > > --FILE-- > <?php > -var_dump(spl_classes()); > +var_dump(is_array(spl_classes())); > ?> The only thing thats different with spl_classes() in 5.2 <> 5.3+ is just that in 5.3 a few more classes have been added, I still think its better to have them listed else the test seems pretty much pointless here as spl_classes() always returns an array. > --EXPECT-- > > [snip] > > -- > PHP CVS Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > regrads -- Kalle Sommer Nielsen ka...@php.net -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php