Re: [PHP-DEV] string replacement From: Derick Rethans (d.rethans <email protected>)
Date: 01/22/01

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 <email protected>
> For additional commands, e-mail: php-dev-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>

I think it's a good idea, makes the language more consistent.

Derick Rethans

---------------------------------------------------------------------
      PHP: Scripting the Web - www.php.net - derick <email protected>
---------------------------------------------------------------------
    JDI Media Solutions - www.jdimedia.nl - d.rethans <email protected>
     H.v. Tussenbroekstraat 1 - 6952 BL Dieren - The Netherlands
---------------------------------------------------------------------

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>