note 49048 rejected from ref.array by nlopess

From: Date: Sun, 16 Jan 2005 10:23:20 +0000
Subject: note 49048 rejected from ref.array by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-83416@lists.php.net to get a copy of this message
Note Submitter: jojon at bonbon dot net ---- Dear Anyone, I need recursive function array, that produce array as output that doesn't make multidimensional array, Tks. here is the example: function myfunction(array) { array = myfunction(array); RETURN array } array = array(1,apple,2,banana,3,mangoes,4,berry) output could be array = array[1](name=>apple,key=>1) array = array[2](name=>banana,key=>2) array = array[3](name=>mangoes,key=>3) array = array[4](name=>berry,key=>4)

« previous php.notes (#83416) next »