ID:               5919
 Comment by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Open
 Bug Type:         Feature/Change Request
 Operating System: Slackware Linux 7.0
 PHP Version:      4.3.0
 New Comment:

In reply to [EMAIL PROTECTED], perhaps the reason people capable of adding
this feature don't is because they have reached the level where they
are able to understand ereg_replace sufficiently. Unfortunately not all
developers can. It's elitist to argue that novices should be denied an
obviously useful function until they have mastered the language. Not to
mention that this function would speed up the development time for a
lot of developers.


Previous Comments:
------------------------------------------------------------------------

[2002-05-25 18:42:29] [EMAIL PROTECTED]

Nothing is stopping you from submitting a patch that implements this. 
People generally add the features they need.  Apparently nobody capable
of writing this feature has ever needed it.  (That might tell you
something)

------------------------------------------------------------------------

[2002-05-25 18:26:11] [EMAIL PROTECTED]

I think it's a shame that two years after this feature was requested it
has not been implemented... 

Lots of people are missing this feature and therefore it would be a
great addition to PHP... If anyone knows how to make a patch for this,
please do so... I am sure it would be appreciated by many.

------------------------------------------------------------------------

[2002-05-21 20:09:48] [EMAIL PROTECTED]

Russians call the '@', little dog, 'sabachkee'. Anyway, I like the idea
of stri_replace because the only alternative is a slower, and more
complex usage of [eregi|pregi]_replace. And if one is replacing a lot
of symbols, (like I am), and not just strings, then extensive knowledge
of regex is required , (which I don't have yet), to replace all the
symbols. I'm trying to escape all the key words and key symbols in
Oracle's applications. Works great with str_replace, **IF** I want to
change the whole string to upper or lower case, or use a function of my
own. Otherwise, it sucks. I am implementing one of my own for now
though, (actually copying the non recursive one under 'str_replace()'.
To see an example of it, see: http://www.qweeka.com/db_tools.php after
memorial day.

------------------------------------------------------------------------

[2002-05-02 18:19:14] [EMAIL PROTECTED]

I marked similar feature requests as duplicates (bugs #10352 and
#14215) and am changing the status of this to open.  This feature
request comes up fairly often, it's still open :)

------------------------------------------------------------------------

[2002-01-13 17:45:53] [EMAIL PROTECTED]

Please submit this patch :)

------------------------------------------------------------------------

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/5919

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

Reply via email to