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:

It would be extreamly great if some one....perhaps some one who
volunteered might submit a patch to impliment this, 137 votes already,
why can't we get some type of a feature voting system, to vote for the
things that are the most important to those who don't have the skills,
or perhaps time, or money to do these themselves.


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

[2002-11-01 12:59:56] [EMAIL PROTECTED]

What about just adding a parameter to the existing function, rather
than making a whole new function? You could just put "sensitive" or
"insensitive" (maybe "callous?") or something on the end:
str_replace($a, $b, $c, "sensitive")
I think that some other languages (maybe the ill-fated Oracle Media
Objects) have that.

Another parameter could be "match" so that if
$a="street" 
$b= "avenue"
$c= "1313 Mockingbird Street" 
the result would be
"1313 Mockingbird Avenue"
the idea being that the search routine realized that 
        Street 
was capitalized, so therefore 
        Avenue 
should match the case.

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

[2002-10-30 05:55:03] [EMAIL PROTECTED]

Well, if you really need it you can always hire a competent developer
to do it, it's Open Source after all...

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

[2002-10-30 04:49:55] [EMAIL PROTECTED]

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.

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

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

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

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