>using any of the string functions on the output would ofcourse
> cause a performance drawback (do you agree with me?), i had
> used a combination of string functions to do instead of regexps,
> which one will be faster as you think ?

Hi,

i made some basic bench and see that it really depends...

try to make some basic search like ^[0-9]{1,4}$
how can u do this ? with substr, strlen, strstr and ifthenelse ?
i found really faster to use preg_match(), which is really faster
than if (ereg())...



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

Reply via email to