PHP 4.0 Bug #5919 Updated: stri_replace() to compliment str_replace()
| From: | Bug Database | Date: | Sat, 16 Sep 2000 05:18:16 +0000 |
| Subject: | PHP 4.0 Bug #5919 Updated: stri_replace() to compliment str_replace() | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-33328@lists.php.net to get a copy of this message | ||
ID: 5919
Updated by: derick
Reported By: juhl@eisenstein.dk
Status: Feedback
Bug Type: Feature/Change Request
Assigned To:
Comments:
A patch that implements this feature will probably accepted. That is when it's nicely written
of course.
Previous Comments:
---------------------------------------------------------------------------
[2000-08-02 12:33:30] juhl@eisenstein.dk
It would be extremely nice to have a case insensitive version of str_replace() so that you
don't have to use the much slower eregi_replace() when you need to replace strings of mixed
case.
I believe a logical name for such a function would be stri_replace()
If there are no current plans to implement such a feature, would a patch that implements it be
accepted?
Best regards,
Jesper Juhl
juhl@eisenstein.dk
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=5919