Derick Rethans wrote:
On Thu, 4 Aug 2005, Lukas Smith wrote:


I 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.

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,
Lukas

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to