[snip]
Tipp:  Do not use preg_match() if you only want to check if one string 
is contained in another string. Use strpos() or strstr() instead as they

will be faster.
[/snip]


This brings up a good point. Just exactly how much faster would one be
over another in this small example? How big would the string have to be
to note any degredation of performance?

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

Reply via email to