Re: ereg deprecation?

From: Date: Mon, 31 May 2010 17:23:48 +0000
Subject: Re: ereg deprecation?
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-48582@lists.php.net to get a copy of this message
On Mon, 2010-05-31 at 14:09 -0300, Felipe Pena wrote: > Hi, > > 2010/4/28 Michael Maclean <michael@no-surprises.co.uk> > > > Hi, > > I think I asked this before on IRC, but I've forgotten the answer. I was > > just remembering that the ereg extension was due to be deprecated in PHP6 - > > does this still apply to trunk? > > > > > I think make no sense to keep it deprecated. > > Here's a patch for undeprecate ext/ereg in 5_3 and trunk: > http://felipe.ath.cx/diff/undeprecate-ereg.diff > > Any objection? If no, I'll commit it in soon. I still won't recommend using ereg - the missing binary-safety causes quite some broken checks ... is there anything that can be done which can't be done using pcre? If not: Less code to maintain -> less trouble :-) johanns

« previous php.internals (#48582) next »