Req #49170 [Tbd->Bgs]: Please undeprecate split/ereg

From: Date: Wed, 24 Nov 2010 14:01:32 +0000
Subject: Req #49170 [Tbd->Bgs]: Please undeprecate split/ereg
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-156387@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=49170&edit=1

 ID:                 49170
 Updated by:         jani@php.net
 Reported by:        thomas at omerzu dot de
 Summary:            Please undeprecate split/ereg
-Status:             To be documented
+Status:             Bogus
 Type:               Feature/Change Request
 Package:            *General Issues
 PHP Version:        5.3.0
 Block user comment: N
 Private report:     N

 New Comment:

.


Previous Comments:
------------------------------------------------------------------------
[2010-11-24 15:01:20] jani@php.net

Submitted a) in wrong place b) many times.

------------------------------------------------------------------------
[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


Thread (3 messages)

« previous php.bugs (#156387) next »