note 73236 deleted from function.str-replace by danbrown
| From: | danbrown@php.net | Date: | Sun, 20 Jul 2008 16:18:03 +0000 |
| Subject: | note 73236 deleted from function.str-replace by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-142173@lists.php.net to get a copy of this message | ||
Note Submitter: juli at poblenou dot com
----
The function works with arrays (as stated) provided those are unidimensional arrays.
In case you use multidimensional arrays, it won't replace anything, at least in PHP 4.4. If you
need to work with multidimensional arrays, you should iterate (using foreach) over every
unidimensional array.