note 85436 deleted from language.oop5.overloading by peehaa
| From: | peehaa@php.net | Date: | Mon, 08 Jul 2013 20:25:25 +0000 |
| Subject: | note 85436 deleted from language.oop5.overloading by peehaa | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-195519@lists.php.net to get a copy of this message | ||
Note Submitter: Ant P.
----
There's nothing wrong with calling these functions as normal functions:
If you end up in a situation where you need to know the return value of your __set function, just
write <?php $a = $obj->__set($var, $val); ?> instead of <?php $a = $obj->$var = $val;
?>.