#30356 [Opn->Csd]: str_ireplace does not work on all strings.

From: Date: Thu, 07 Oct 2004 23:11:25 +0000
Subject: #30356 [Opn->Csd]: str_ireplace does not work on all strings.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-67262@lists.php.net to get a copy of this message
ID: 30356 Updated by: iliaa@php.net Reported By: mark dot meredith at shaw dot ca -Status: Open +Status: Closed Bug Type: Strings related Operating System: Mac OS 10.3.5 PHP Version: 5.0.2 New Comment: This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2004-10-07 23:26:04] mark dot meredith at shaw dot ca 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 this bug report at http://bugs.php.net/?id=30356&edit=1

« previous php.bugs (#67262) next »