Shouldn't we allow "-" in %i, too?
I would like the following:

%i = [+\-]?[0-9]+
%d = [0-9]+
%f = [+\-]?\.?[0-9]+\.?[0-9]*

marcus

At 15:08 23.10.2002, Derick Rethans wrote:
On Wed, 23 Oct 2002, Marcus Börger wrote:

> helly         Wed Oct 23 08:59:18 2002 EDT
>
>   Modified files:
>     /php4     README.TESTING
>   Log:
>   update and correct
>
>
> +/ext/standard/tests/strings 003.phpt is a good example for using EXPECTF
> +instead of EXPECT. From time to time the algorythmn used for shuffle
> +changed and sometimes the machine used to execute the code has influence
> +on the result of shuffle. But it always retuns a three character string
> +detectable by %s. Other forms scanable are %i for integers, %f for

Maybe you want to add that %d is an alias for %i?

regards,
Derick

--

---------------------------------------------------------------------------
 Derick Rethans                                   http://derickrethans.nl/
 JDI Media Solutions
--------------[ if you hold a unix shell to your ear, do you hear the c? ]-

--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to