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

Reply via email to