Hi! This thread has veered off-course. So to summarize:
(1) ereg is deprecated, and usage is discouraged (2) It emits E_DEPRECATED errors as of PHP 5.3 (3) We cannot disable/remove ereg at compile time (today) I'm suggesting we alter (3) so that we, the people who compile PHP, can optionally remove this extension from our PHP 5.4+. This means adding --without-regex to go along with --with-regex, which is the current compile-time option for ext/ereg. Any objections? Regardless of deprecation status, this option should be available. Or if not, why? Regards, Philip On Jan 10, 2012, at 10:41 AM, Pierre Joye wrote: > Can you please carefully read what I wrote? Thanks. > > I said: > > " the deprecation is only an information via the documentation" > > as in not adding noises to the language without any good reason. > > On Tue, Jan 10, 2012 at 7:11 PM, Ferenc Kovacs <tyr...@gmail.com> wrote: >> >> >> On Tue, Jan 10, 2012 at 6:28 PM, Pierre Joye <pierre....@gmail.com> wrote: >>> >>> what I mean is that, as far as I remember, the deprecation is only an >>> information via the documentation. We did not want to break BC and all >>> that as it is now emulated through pcre. >> >> >> no, we deprecated it, and albeit it was a discussion to un-deprecate it, we >> kept it: >> I think we have enough reasons to keep it deprecated as we have much better >> alternative (pcre) which we want to recommend to the users. >> http://lxr.php.net/opengrok/xref/PHP_5_4/ext/ereg/ereg.c#54 >> >> -- >> Ferenc Kovács >> @Tyr43l - http://tyrael.hu > > > > -- > Pierre > > @pierrejoye | http://blog.thepimp.net | http://www.libgd.org -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php