Re: [PHP] PHP 5.x magic mathods quick question

2009-08-21 Thread Martin Scotta
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

[PHP] PHP 5.x magic mathods quick question

2009-08-21 Thread Ralph Deffke
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