Re: Why is ereg being deprecated?
| From: | Rasmus Lerdorf | Date: | Mon, 12 Oct 2009 15:53:56 +0000 |
| Subject: | Re: Why is ereg being deprecated? | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-45746@lists.php.net to get a copy of this message | ||
The real answer is that there is no Unicode support in the ereg
functions, and like it or not, the world is going Unicode.
-Rasmus
Guilherme Blanco wrote:
> It was fat, slow and everything that you can do with POSIX regex you
> can easily do with PCRE regex, which is faster.
>
> It is a decision forever. Do not expect it to come on PHP 5.4 (?) or PHP 6.
>
> Cheers,
>
> On Mon, Oct 12, 2009 at 12:46 PM, Mark Krenz <mark@suso.org> wrote:
>> I just found this out a couple days ago when I checked the ereg manual
>> page for something and was shocked. I searched around a bit but
>> couldn't find a straight answer on why this function is being removed?
>> Did the deprecation notice just get made in 5.3 or has it been there
>> longer than that?
>>
>> Thanks,
>> Mark
>>
>> --
>> Mark S. Krenz
>> IT Director
>> Suso Technology Services, Inc.
>> http://suso.org/
>>
>> --
>> PHP Internals - PHP Runtime Development Mailing List
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>
>
>