Re: [PHP-DEV] [PATCH] New function implode_multi

2002-06-07 Thread Markus Fischer
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';

Re: [PHP-DEV] [PATCH] New function implode_multi

2002-06-07 Thread Markus Fischer
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_foo

[PHP-DEV] [PATCH] New function implode_multi

2002-06-07 Thread C. McCohy
Hi there, while creating some stuff in PHP, I needed the PHP function implode() work like Perl function join, so that the first argument of the function is glue and an unlimited list of other arguments is made of arrays and strings. So I made a new function called implode_multi (with an alias j