note 82851 deleted from language.operators.assignment by mazzanet
| From: | mazzanet@php.net | Date: | Thu, 20 Aug 2009 14:12:34 +0000 |
| Subject: | note 82851 deleted from language.operators.assignment by mazzanet | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-159699@lists.php.net to get a copy of this message | ||
Note Submitter: Paul Ebermann
----
There is also a array-append-Operator:
<?php
$array []= $element;
?>
This appends the element to the end of the array, as
<?php
array_push($array, $element);
?>
would do.
(This is documented on the array_push page, but not here in the operator section.)