RE: removing ereg from default PHP package (was [PHP-DEV] Re: [PHP-CVS] cvs: php-src(PHP_5_2) / run-tests.php )
| From: | Andi Gutmans | Date: | Sat, 10 Feb 2007 05:35:35 +0000 |
| Subject: | RE: removing ereg from default PHP package (was [PHP-DEV] Re: [PHP-CVS] cvs: php-src(PHP_5_2) / run-tests.php ) | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-27978@lists.php.net to get a copy of this message | ||
I guess I missed the part of removing the extension.
I very much agree with using PCRE in the Core instead of ereg() and enabling PCRE by default.
However, I think it's a bad idea to unbundle ereg. I think a huge amount of PHP apps depend on
ereg() and it would be a real PITA
for our users if we unbundle it from the default distro. I think we should just disable it by
default and keep it in the bundle. If
we're worried about Unicode strings, we can just emit an E_WARNING or E_ERROR if Unicode
strings are passed to it. But for the
sanity of our users, we should keep it in the default package.
Andi
> -----Original Message-----
> From: Derick Rethans [mailto:derick@php.net]
> Sent: Friday, February 09, 2007 8:36 AM
> To: Adam Maccabee Trachtenberg
> Cc: Ilia Alshanetsky; internals@lists.php.net
> Subject: Re: [PHP-DEV] Re: [PHP-CVS] cvs: php-src(PHP_5_2) /
> run-tests.php
>
> On Thu, 8 Feb 2007, Adam Maccabee Trachtenberg wrote:
>
> > I read this as saying we're removing the entire ereg extension from
> > PHP 6. If that's not true, then never mind.
>
> http://www.php.net/~derick/meeting-notes.html#move-ereg-to-pecl
>
> regards,
> Derick
>
> --
> PHP Internals - PHP Runtime Development Mailing List To
> unsubscribe, visit: http://www.php.net/unsub.php
>