Justtechjobs.com Find a programming school near you






Online Campus Both


php4-beta | 200004

Re: [PHP4BETA] ereg() vs. preg_match() From: Adam Trachtenberg (adam <email protected>)
Date: 04/18/00

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 <email protected>           | http://www.student.com    /

-- PHP 4.0 Beta Mailing List <http://www.php.net/version4/> To unsubscribe, e-mail: php4beta-unsubscribe <email protected> For additional commands, e-mail: php4beta-help <email protected> To contact the list administrators, e-mail: php4beta-admin <email protected>