Re: string replacement

From: Date: Mon, 22 Jan 2001 15:28:09 +0000
Subject: Re: string replacement
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-44711@lists.php.net to get a copy of this message
On Mon, 22 Jan 2001, Andrei Zmievski wrote: > On Mon, 22 Jan 2001, Jan Borsodi wrote: > > So I ask again: > > Are there any plans to make str_replace and ereg_replace take arrays > > as parameters as well, in the same manner as preg_replace does? > > (a simple yes or no will suffice) > > > > Or do I have to do this myself? > > I could modify str_replace() to have the same behavior with regard to > arrays as preg_replace() - if people agree that it's a good idea.. > > -Andrei > * I don't have a solution but I admire the problem. * > > -- > 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 I think it's a good idea, makes the language more consistent. Derick Rethans --------------------------------------------------------------------- PHP: Scripting the Web - www.php.net - derick@php.net --------------------------------------------------------------------- JDI Media Solutions - www.jdimedia.nl - d.rethans@jdimedia.nl H.v. Tussenbroekstraat 1 - 6952 BL Dieren - The Netherlands ---------------------------------------------------------------------

« previous php.dev (#44711) next »