#30356 [NEW]: str_ireplace does not work on all strings.
| From: | mark dot meredith at shaw dot ca | Date: | Thu, 07 Oct 2004 21:26:05 +0000 |
| Subject: | #30356 [NEW]: str_ireplace does not work on all strings. | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-67257@lists.php.net to get a copy of this message | ||
From: mark dot meredith at shaw dot ca
Operating system: Mac OS 10.3.5
PHP version: 5.0.2
PHP Bug Type: Strings related
Bug description: str_ireplace does not work on all strings.
Description:
------------
The "A" should be replaced with "b" in this example.
Instead the letter A remains.
Reproduce code:
---------------
<?php
print(str_ireplace("a", "b", "A"));
?>
Expected result:
----------------
The "A" replaced with "b".
Actual result:
--------------
the letter A remains.
--
Edit bug report at http://bugs.php.net/?id=30356&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30356&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30356&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30356&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=30356&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=30356&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=30356&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=30356&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=30356&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=30356&r=support
Expected behavior: http://bugs.php.net/fix.php?id=30356&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=30356&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=30356&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=30356&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30356&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=30356&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=30356&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=30356&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=30356&r=float
MySQL Configuration Error: http://bugs.php.net/fix.php?id=30356&r=mysqlcfg