note 13591 deleted from function.array-push by jimw

From: Date: Fri, 21 Dec 2001 00:41:59 +0000
Subject: note 13591 deleted from function.array-push by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-23674@lists.php.net to get a copy of this message
I got around not being able to pass MDA's with array_push by faking it. I simply do <? $myarray[foo] = "test1"; $myarray[foo] = "$myarray[foo] test2"; $myarray[foo] = "$myarray[foo] test3"; print "$myarray[foo]\n"; ?> this will yield, $ php -qe arraytest.php test1 test2 test3 $

« previous php.notes (#23674) next »