|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2009-09-18 19:53 UTC] 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
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 04:00:02 2025 UTC |
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');"