note 22308 deleted from ref.overload by tularis

From: Date: Fri, 03 Jan 2003 16:13:07 +0000
Subject: note 22308 deleted from ref.overload by tularis
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-41603@lists.php.net to get a copy of this message
The docs don't say this yet, probably because it goes without saying, but if you want to try this extension you have to add "--enable-overload" to your configure args. If you've got the time, please help test this extension. Even without __call, the benefits of this extension are huge. PHP class designers can finally control how class properties are accessed and modified. One thing you may want to note is that the __get and __set methods won't be called if the named property is already defined within the object. It looks like Andrei decided this after he wrote the documentation. This means that part of the example above is no longer correct. It should actually read: print: $o->a: 111

« previous php.notes (#41603) next »