2010/6/1 Johannes Schlüter <johan...@schlueters.de>:
> On Mon, 2010-05-31 at 14:09 -0300, Felipe Pena wrote:
>> 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 :-)

I believe PCRE's generally quicker into the bargain anyway.

We've already told people we're killing ereg, and there are good
reasons to do so regardless of Unicode (lack of binary safety being
the main one, with the needless duplication with PCRE being another).
Let's keep it deprecated and kill it when it makes sense to do so
(next major, or if and when Unicode comes back at some future date).

Adam

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to