Re: Re: cvs: php-src(PHP_5_2) / run-tests.php

From: Date: Fri, 09 Feb 2007 21:27:37 +0000
Subject: Re: Re: cvs: php-src(PHP_5_2) / run-tests.php
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-27966@lists.php.net to get a copy of this message
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

« previous php.internals (#27966) next »