note 43783 deleted from language.operators.assignment by bjori
| From: | bjori@php.net | Date: | Sat, 21 Apr 2007 08:11:25 +0000 |
| Subject: | note 43783 deleted from language.operators.assignment by bjori | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-125745@lists.php.net to get a copy of this message | ||
Note Submitter: trosos at atlas dot cz
----
Note that the value of an assignment expression is not the value assigned, but the variable itself
(after assign, of course). This allows to do something like this:
<?php
function f(&$a)
{
...
}
f($v=3);
?>