I think not, but why don't we ask this to PHP ?
*<< __set()* is run when writing data to inaccessible members. >>
http://php.net/__set
So, I think that when you write data to an non-existent member php will
first try is the object has an __set method, if not it'll raise a Fatal
Error
example 1
do I understand the doc right, that magic methods do exist in any object?
creating one (like __set() ) ovewrites the standard one?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
2 matches
Mail list logo