Antony Dovgal wrote:
As far as I understand, the point is that ereg does/can not support
Unicode, therefore we cannot keep it PHP6, which major feature is
Unicode support.
_BUT_ it is possible to use PCRE to "emulate" ereg, so yes, the existing
code
should continue working.
Well I remember that Andrei once brought up the idea of an ereg wrapper
around pcre, but IIRC the idea was dropped because there would be tons
of subtle issues from edge cases. So the decision was made to simply
turn it into a pecl extension to be installed by the user as needed
without shiny new unicode support. Not sure if that means that ereg
would not be made to work with PHP6 at all ...
Overall I would say, while painful I do not really see the point in
investing development resources into keeping ereg alive, since its just
a duplication of efforts. Then again I have avoided ereg since PHP4
days. The ereg userbase will be the determining factor if ereg makes the
jump to PHP6 I guess ..
regards,
Lukas
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php