Re: Why is ereg being deprecated?
| From: | Pierre Joye | Date: | Mon, 12 Oct 2009 16:27:02 +0000 |
| Subject: | Re: Why is ereg being deprecated? | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-45751@lists.php.net to get a copy of this message | ||
hi,
On Mon, Oct 12, 2009 at 6:22 PM, Mark Krenz <mark@suso.org> wrote:
>
> Just to clarify. You mean that with the changes you've made for
> Unicode support in PHP 6, that current POSIX based ereg expressions will
> not work the same?
The ereg functions cannot work with Unicode and can't be fixed without
rewriting them. Nobody likes to do it as pcre works just fine and has
many active maintainers (inside and outside php).
Cheers,
--
Pierre
http://blog.thepimp.net | http://www.libgd.org