note 42910 added to function.str-replace

From: Date: Thu, 03 Jun 2004 09:52:59 +0000
Subject: note 42910 added to function.str-replace
Groups: php.notes 
Request: Send a blank email to php-notes+get-70795@lists.php.net to get a copy of this message
When the first argument to str_replace() is an array, the elements are checked in increasing order of array index, as one would expect. For example, str_replace (array ('ABC', 'BC'), array ('E', 'F'), 'ABC') returns 'E'; but str_replace (array ('BC', 'ABC'), array ('E', 'F'), 'ABC') returns 'AE'. ---- Manual Page -- http://www.php.net/manual/en/function.str-replace.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+42910 Delete -- http://master.php.net/manage/user-notes.php?action=delete+42910&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+42910&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#70795) next »