From: thomas at omerzu dot de Operating system: PHP version: 5.3.0 PHP Bug Type: Feature/Change Request Bug description: Please undeprecate split/ereg
Description: ------------ Who decided to deprecate the split/ereg functions? If I wanted to use Perl, I would use Perl. The syntax of those preg expressions is ridiculous. Consider the fact that hundreds of programs that do any kind of text parsing use the ereg functions. Developing complicated regular expressions is very time expensive and requires lots of testing. A conversion to the preg version of the function is not trivial and will require the same amount of time as the original development (or more, as people using standard regular expressions probably are not familiar with that perl stuff and will require additional learing time). Thus a removal of those functions will cost a huge amount of time and money. And acutally: WHY? There are so many obsolete functions in php, why do these innocent functions that hurt nobody have to be removed?? PLEASE leave them as they are! Everyone is free to use the preg functions, but please leave the standard reg functions! Thanks! Best regards, Thomas. Nearly every of my program contains more or less complicated Reproduce code: --------------- --- >From manual page: migration53.deprecated --- -- Edit bug report at http://bugs.php.net/?id=49170&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=49170&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=49170&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=49170&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=49170&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=49170&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=49170&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=49170&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=49170&r=needscript Try newer version: http://bugs.php.net/fix.php?id=49170&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=49170&r=support Expected behavior: http://bugs.php.net/fix.php?id=49170&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=49170&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=49170&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=49170&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=49170&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=49170&r=dst IIS Stability: http://bugs.php.net/fix.php?id=49170&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=49170&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=49170&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=49170&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=49170&r=mysqlcfg