note 82958 deleted from language.oop5.overloading by felipe

From: Date: Sat, 03 May 2008 17:09:12 +0000
Subject: note 82958 deleted from language.oop5.overloading by felipe
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-139034@lists.php.net to get a copy of this message
Note Submitter: nuttzy at spellingcow dot com ---- Sorry, please disregard my previous note. The example fails b/c I've not properly supplied a __get method... <? ... function __get($var) { return $this->_raw_data[$var]; } ... ?> ...it appears that empty() will first call your __isset method, and if that is successful, it will call your __get method to check the data value. This is exactly what the behavior should be.

« previous php.notes (#139034) next »