View Full Version : ereg_replace and preg_replace


nacho
10-26-2005, 10:55 AM
I don't understand the difference between functions ereg_replace and preg_replace in PHP.
Someone could help me, please?

Thanks a lot.

phoztech
01-06-2006, 09:32 PM
preg_replace(), which uses a Perl-compatible regular expression syntax, is often a faster alternative to ereg_replace().

Paz
01-07-2006, 09:31 AM
[QUOTE=phoztech]preg_replace(), [/QUOTE]
LOL... I thought it was something to do with getting rid of the wife....