string replacement
| From: | Jan Borsodi | Date: | Sun, 21 Jan 2001 18:45:24 +0000 |
| Subject: | string replacement | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-44685@lists.php.net to get a copy of this message | ||
Is there any plans to extend str_replace and ereg_replace to accept
arrays in the same manner as preg_replace does?
At the moment using preg_replace on arrays are faster than iterating
trough the arrays and passing them to str_replace, which is bad.
--
- Jan Borsodi <jb@ez.no> - Systems Engineer @ eZ systems - Web: http://ez.no
QtVu: http://www.qtvu.org - RegExplorer: http://regexplorer.sourceforge.net
EMacro: http://emacro.sourceforge.net - Apollo: http://www.apolloplayer.org