note 40902 added to function.str-replace
| From: | calin at php9 dot com | Date: | Thu, 18 Mar 2004 15:52:37 +0000 |
| Subject: | note 40902 added to function.str-replace | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-67022@lists.php.net to get a copy of this message | ||
if backwards compatibility is not an issue, disregard this comment.
As the manual clearly states, it is only after PHP 4.0.5 that every parameter in str_replace() can
be an array. However you can use this function with arrays str_replace($array1,$array2,$dest) before
4.0.5 and str_replace will silently do nothing.
Calin
----
Manual Page -- http://www.php.net/manual/en/function.str-replace.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+40902
Delete -- http://master.php.net/manage/user-notes.php?action=delete+40902&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+40902&report=yes
Search -- http://master.php.net/manage/user-notes.php