note 3593 deleted from array_push by ronabop
| From: | ronabop@php.net | Date: | Sun, 03 Sep 2000 09:37:39 +0000 |
| Subject: | note 3593 deleted from array_push by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-4001@lists.php.net to get a copy of this message | ||
How does one push a key value pair into a php3 array. This implementation seems logical, but it is
unacceptable to PHP3 parser:
Array[] = "Name"=>AnotherArray;
this implementation is based on the example given in the user notes of the array function:
$users = array("djuan"=>array(....
If a discrete pair is (key,array) then one ought to be able to push a pair onto an array. This
however does not seem to be the case with the php3 syntax.
Looking forward to an answer...