note 23704 added to language.types.object
| From: | jesseNO_SPAM at jgdataworks dot NO_SPAM dot com | Date: | Thu, 25 Jul 2002 14:05:48 +0000 |
| Subject: | note 23704 added to language.types.object | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-33547@lists.php.net to get a copy of this message | ||
>You also can initialize an object defining a proprierty :
>$quux->color="blue";
>---------
>Question: how does PHP know what object $quux is pointing to then?
I'd say that it just initializes it as an Object, without any class.
--
http://www.php.net/manual/en/language.types.object.php
http://master.php.net/manage/user-notes.php?action=edit+23704
http://master.php.net/manage/user-notes.php?action=delete+23704
http://master.php.net/manage/user-notes.php?action=reject+23704