note 11068 deleted from function.array-push by felipe
| From: | felipe@php.net | Date: | Sat, 29 Dec 2007 20:09:58 +0000 |
| Subject: | note 11068 deleted from function.array-push by felipe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-134189@lists.php.net to get a copy of this message | ||
Note Submitter: misc dot anders at feder dot dk
Reason: 5
----
The $array[] = $var statement differs from array_push($array, $var) in that it can operate on
uninitialized variables as well. array_push only works with initialized arrays.