note 43783 added to language.operators.assignment
| From: | trosos at atlas dot cz | Date: | Sat, 03 Jul 2004 10:19:46 +0000 |
| Subject: | note 43783 added to language.operators.assignment | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-72400@lists.php.net to get a copy of this message | ||
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);
?>
----
Manual Page -- http://www.php.net/manual/en/language.operators.assignment.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+43783
Delete -- http://master.php.net/manage/user-notes.php?action=delete+43783&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+43783&report=yes
Search -- http://master.php.net/manage/user-notes.php