ID:               49594
 User updated by:  jay at phpcourses dot ca
 Reported By:      jay at phpcourses dot ca
 Status:           Bogus
 Bug Type:         Feature/Change Request
 Operating System: all
 PHP Version:      5.3.0
 New Comment:

i need to talk to someone more senior/experienced

i write 5000 - 10000 php scripts a year, most of which use posix regex

and i don't need a junior telling me "we are not forcing you to upgrade
to php 5.3; keep 5.2 forever"

only a newbie would say that

my clients' scripts are on 1000s of servers around the world

php could also remove support for the pow() function, since there are
alternative ways of raising numbers to powers, but like the ereg()
support, they'd f*ck millions of developer worldwide

in short:
keep ereg() == no problems
scrap ereg() == problems

so why scrap API support?


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

[2009-10-01 16:24:21] jay at phpcourses dot ca

you are mistaken again

posix regex are ALSO everywhere!

i have written probably 10000 scripts, i won't be updating them to use
your favorite version of regex

you have once again missed the point:

do not throw away support for APIs

YOU keep the regex, and let US choose

that's community-driven, open-source software

trust me on this

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

[2009-10-01 15:19:24] bever...@php.net

No, you think it's a mistake. In fact, the PCRE library offers more
features, (mostly) better performance and is used in other programming
languages as well (Java, Javascript, .NET). On top of that, it offers
more consistent syntax.

After all, no one is forcing you to upgrade your PHP version. It will
remain available throughout the 5.x versions. Just don't update to PHP 6
if it really is a problem. Either way, you've got more than enough time
to update any scripts or sites.

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

[2009-10-01 15:16:20] paj...@php.net

You completely ignore the options you have, that's your rights. There
is no bug, there is no issue > bogus. If you don't know how to use the
error_reporting flags, please read the manual or ask for support in one
of the numerous support channels.

Thanks for your understanding.

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

[2009-10-01 15:03:36] jay at phpcourses dot ca

you've missed the point entirely

unlike C and Java etc

php has gone the route of "most of your old scripts will no longer work
when you upgrade php"

it's a mistake

there is no point in trying to defend it, it's a known mistake that's
made many of us upset

for example, i teach php at a university and at a college, in addition
to being a contractor and developing my own sites such as
torqueinvoicing.com and we all know it's a mistake

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

[2009-10-01 14:29:34] paj...@php.net

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.

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/49594

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

Reply via email to