Re: Property Overloading RFC
| From: | Lukas Smith | Date: | Thu, 04 Aug 2005 08:22:04 +0000 |
| Subject: | Re: Property Overloading RFC | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-17528@lists.php.net to get a copy of this message | ||
Derick Rethans wrote:
On Thu, 4 Aug 2005, Lukas Smith wrote:I said "be able to" and not that this should become the norm. So you would be able to flag an object to behave in this way. Heck this flag could be "allow now virtual properties, and trigger __set()/__get() always and throw the proper error otherwise". regards, LukasI wonder if it wouldnt be enough to be able to force the triggering of __set(), __get() for all properties be enough to deal with your situation?No, besides that would break BC, it would also not solve the problem of returning errors correctly.