note 82851 added to language.operators.assignment
| From: | PaulEbermann at osu1 dot php dot net | Date: | Tue, 29 Apr 2008 13:07:52 +0000 |
| Subject: | note 82851 added to language.operators.assignment | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-138896@lists.php.net to get a copy of this message | ||
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.)
----
Server IP: 217.13.201.10
Probable Submitter: 141.20.50.153
----
Manual Page -- http://www.php.net/manual/en/language.operators.assignment.php
Edit -- https://master.php.net/note/edit/82851
Del: integrated -- https://master.php.net/note/delete/82851/integrated
Del: useless -- https://master.php.net/note/delete/82851/useless
Del: bad code -- https://master.php.net/note/delete/82851/bad+code
Del: spam -- https://master.php.net/note/delete/82851/spam
Del: non-english -- https://master.php.net/note/delete/82851/non-english
Del: in docs -- https://master.php.net/note/delete/82851/in+docs
Del: other reasons-- https://master.php.net/note/delete/82851
Reject -- https://master.php.net/note/reject/82851
Search -- https://master.php.net/manage/user-notes.php