note 40902 deleted from function.str-replace by bjori
| From: | bjori@php.net | Date: | Sun, 26 Mar 2006 22:28:46 +0000 |
| Subject: | note 40902 deleted from function.str-replace by bjori | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-106685@lists.php.net to get a copy of this message | ||
Note Submitter: calin at php9 dot com
----
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:
<?php
str_replace($array1,$array2,$dest)
?>
Before 4.0.5 and str_replace will silently do nothing.