Re: Anyone on the list using Moodle?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



wayne wrote:
I have one other question that I would like answered.
One of the respondents in the archive file to the
above question said that "in PHP objects don't
have to be explicitly instantiated", could someone
point me to some docs that explains this.The person
never did give an explanation.

The post I just sent to the list regarding your earlier question explains this. If you do not instantiate an object before using it, it is automatically instantiated as an object of the stdClass class. You can then add and read attributes, like an "array dressed up as an object."

Jasper

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux