Re: Sanitizing Numbers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2009-03-13 at 15:45 -0400, Robert Cummings wrote:
> On Fri, 2009-03-13 at 19:09 +0000, Richard Heyes wrote:
> > > ereg
> > 
> > [Gasps and runs off shouting "PCRE"] ...
> 
> You know... Until somewhat recently I preferred POSIX over PCRE...
> rationale being it's "POSIX" that's a standard!!! But recently I came
> across some legacy code in a site I maintain that was using ereg(). It
> just so happened I was tracking down another bug and so I was doing some
> timestamp squeezing to find the problem when I discovered a horrible
> horrible thing... a few preg() calls

Should have said... a few ereg() calls.

Cheers,
Rob.
-- 
http://www.interjinn.com
Application and Templating Framework for PHP


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux