Excellent point! I find my self using regex's a bit to often when there are other solutions available.
btw, have you ever tested the difference between
if(ereg('^[0-9]{6}$',$str)) if(preg_grep('^[0-9]{6}$',$str))
I've been meaning to find out advantages/disadvantages with PERL vs. POSIX compatible.
Hi,
I haven't, but feel free to do your own :)
Use the sample found on http://au.php.net/microtime
Justin
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php