ID: 49594
Updated by: [email protected]
Reported By: jay at phpcourses dot ca
Status: Bogus
Bug Type: Feature/Change Request
Operating System: all
PHP Version: 5.3.0
New Comment:
Can you please do your homework prior to post to php.net's bug
reports?
Using PHP 5.3.0/svn:
> php -r "error_reporting(E_ALL); ereg('POSIX');"
Deprecated: Function ereg() is deprecated in Command line code on line
1
> php -r "error_reporting(E_ALL ^ E_DEPRECATED); ereg('POSIX',
'foo');"
Previous Comments:
------------------------------------------------------------------------
[2009-10-01 21:25:53] jay at phpcourses dot ca
nobody answered the original query
WHY stop supporting parts of the api all of a sudden?
it does NO harm leaving it in, as in ZERO
it DOES harm taking it out
------------------------------------------------------------------------
[2009-10-01 21:25:03] jay at phpcourses dot ca
i can't
see, "marked for deprecation" is different than "will no longer be
supported in 5.3"
i'm helping php avoid big mistakes
------------------------------------------------------------------------
[2009-10-01 18:08:49] [email protected]
Jay, disable E_DEPRECATED and be happy. Now go back to your usual
activities, thanks.
------------------------------------------------------------------------
[2009-10-01 17:48:58] jay at phpcourses dot ca
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?
------------------------------------------------------------------------
[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
------------------------------------------------------------------------
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