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

 ID:                 49170
 Updated by:         [email protected]
 Reported by:        thomas at omerzu dot de
 Summary:            Please undeprecate split/ereg
-Status:             Open
+Status:             To be documented
 Type:               Feature/Change Request
-Package:            Feature/Change Request
+Package:            *General Issues
 PHP Version:        5.3.0
 Block user comment: N
 Private report:     N

 New Comment:

Submitted a) in wrong place b) many times.


Previous Comments:
------------------------------------------------------------------------
[2009-08-05 12:21:26] thomas at omerzu dot de

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 this bug report at http://bugs.php.net/bug.php?id=49170&edit=1

Reply via email to