Bogdan Stancescu wrote:
...therefore it's faster. Only use it when you really need regexp functionality - same with all other functions which are dual straight string/regexp matching.
Leif K-Brooks wrote:
str_replace() doesn't have regex. Stephen wrote:I can't quite figure this out... What exactly is the difference between
str_replace() and ereg_replace()? Don't they both do the exact same thing?
Thanks,
Stephen Craton
http://www.melchior.us
"What is a dreamer that cannot persevere?" -- http://www.melchior.us
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php