note 97674 deleted from function.return by googleguy
| From: | googleguy@php.net | Date: | Thu, 02 Jan 2014 23:15:17 +0000 |
| Subject: | note 97674 deleted from function.return by googleguy | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-198086@lists.php.net to get a copy of this message | ||
Note Submitter: MrLavender
----
@Radu
http://www.php.net/manual/en/language.operators.assignment.php
"The value of an assignment expression is the value assigned."
Note "the value assigned", not "the value assigned to".
The value assigned in the expression $a['e'] = 'sometxt' is 'sometxt',
and that's what you're returning in function a().