note 93941 deleted from language.oop5.overloading by danbrown
| From: | danbrown@php.net | Date: | Wed, 07 Oct 2009 18:08:06 +0000 |
| Subject: | note 93941 deleted from language.oop5.overloading by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-161482@lists.php.net to get a copy of this message | ||
Note Submitter: Frank
----
@Franz:
The documentation does not say it won't call __set() when chaining.
It says that the value used for assignment is not the returnvalue of __set() or __get().
More specifically:
$a = $obj->b = 8;
will execute as
$obj->b = 8;
$a = 8;
instead of
$obj->b = 8;
$a = $obj->b;