note 85436 added to language.oop5.overloading

From: Date: Sat, 30 Aug 2008 14:01:53 +0000
Subject: note 85436 added to language.oop5.overloading
Groups: php.notes 
Request: Send a blank email to php-notes+get-144015@lists.php.net to get a copy of this message
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 <? $a = $obj->__set($var, $val); ?> instead of <? $a = $obj->$var = $val; ?>. ---- Server IP: 92.48.100.16 Probable Submitter: 217.28.14.98 ---- Manual Page -- http://www.php.net/manual/en/language.oop5.overloading.php Edit -- https://master.php.net/note/edit/85436 Del: integrated -- https://master.php.net/note/delete/85436/integrated Del: useless -- https://master.php.net/note/delete/85436/useless Del: bad code -- https://master.php.net/note/delete/85436/bad+code Del: spam -- https://master.php.net/note/delete/85436/spam Del: non-english -- https://master.php.net/note/delete/85436/non-english Del: in docs -- https://master.php.net/note/delete/85436/in+docs Del: other reasons-- https://master.php.net/note/delete/85436 Reject -- https://master.php.net/note/reject/85436 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#144015) next »