Re: [PATCH] New function implode_multi

From: Date: Fri, 07 Jun 2002 09:09:50 +0000
Subject: Re: [PATCH] New function implode_multi
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-84976@lists.php.net to get a copy of this message
On Fri, Jun 07, 2002 at 11:02:45AM +0200, Markus Fischer wrote : > Hi, > > On Fri, Jun 07, 2002 at 10:49:21AM +0200, C. McCohy wrote : > > <? > > $fruits = array('banana', 'orange', 'apple'); > > $vegetables = array('carrot', 'cabbage', 'cucumber'); > > $favorite_food = 'icecream'; > > > > $all_day_food = implode_multi(', ', $fruits, $vegetables, $favorite_food); > > // ... = "banana, orange, apple, carrot, cabbage, cucumber, icecream" > > ?> > > Do we really need a new function just to save a few > keystrokes? OTOH, I can't see a real BC problem if we would enhance/replace the current implode with your function. Does someone else? - Markus -- GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc

« previous php.dev (#84976) next »