ID:               49594
 Updated by:       paj...@php.net
 Reported By:      jay at phpcourses dot ca
-Status:           Open
+Status:           Bogus
 Bug Type:         Feature/Change Request
 Operating System: all
 PHP Version:      5.3.0
 New Comment:

The api is still usable as it is emulated by pcre. If you really like
to use it for the rest of your life, disable the deprecated warnings and
be done with that.


Previous Comments:
------------------------------------------------------------------------

[2009-10-01 14:25:16] jay at phpcourses dot ca

recommended?

simply not true

all it ever says is "Note: preg_match(), which uses a Perl-compatible
regular expression syntax, is often a faster alternative to ereg(). "

plus, posix regex have a life of their own, independent of php

at my engineering firm we use posix regex exclusively

php is making a mistake abandoning parts of its api.

a mistake.

------------------------------------------------------------------------

[2009-10-01 04:44:08] a at b dot c dot de

For the past eight years PHP has recommended using the PCRE regex
functions. This has been noted on, for example, the manual page for
ereg().

------------------------------------------------------------------------

[2009-09-18 19:53:09] jay at phpcourses dot ca

Description:
------------
why is PHP deprecating the pervasive, very important POSIX regex
support? nearly every script i have ever written and/or taught in the
past 8 years uses posix regex, and now it will ALL be useless? my
customers will be disappointed and their code won't work. just LEAVE THE
POSIX REGEX ALONE.

Reproduce code:
---------------
ereg('posix')

Expected result:
----------------
success

Actual result:
--------------
the single worst mistake php has ever made


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=49594&edit=1

Reply via email to