AW: 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
| From: | S. Schürmann | Date: | Mon, 27 Apr 2009 00:14:02 +0000 |
| Subject: | AW: 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 |
||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-57303@lists.php.net to get a copy of this message | ||
And:
Thanks for the feedback ;)
S.
----- Ursprüngliche Mail ----
Von: S. Schürmann <sschuermann303@yahoo.de>
An: Kalle Sommer Nielsen <kalle@php.net>; Sebastian Schürmann <sebs@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 <kalle@php.net>
An: Sebastian Schürmann <sebs@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 <sebs@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
kalle@php.net