Re: [PHP4BETA] ereg() vs. preg_match()
| From: | Adam Trachtenberg | Date: | Tue, 18 Apr 2000 23:36:11 +0000 |
| Subject: | Re: [PHP4BETA] ereg() vs. preg_match() | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-13701@lists.php.net to get a copy of this message | ||
On Tue, 18 Apr 2000, Andi Gutmans wrote:
> Any idea how these two compare performance wise? Which is faster and is it
> significant?
I remember reading that the preg_*() stuff is much faster and overall
better than the old ereg*() stuff. Of course, I still use the old
functions out of habit.
I have no data on this, but Andrei ported the code, so I bet he knows.
-adam
--
/ adam maccabee trachtenberg | visit college life online \
\ adam@student.net | http://www.student.com /