Re: string replacement

From: Date: Sun, 21 Jan 2001 18:55:43 +0000
Subject: Re: string replacement
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-44686@lists.php.net to get a copy of this message
why is it bad? At 19:45 21.1. 2001, Jan Borsodi wrote the following: -------------------------------------------------------------- >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 > >-- >PHP Development Mailing List <http://www.php.net/> >To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net >For additional commands, e-mail: php-dev-help@lists.php.net >To contact the list administrators, e-mail: php-list-admin@lists.php.net ------end of quote------ ____________________________________________________________ Cynic: A member of a group of ancient Greek philosophers who taught that virtue constitutes happiness and that self control is the essential part of virtue. cynic@mail.cz

« previous php.dev (#44686) next »