note 63661 deleted from language.oop by bjori

From: Date: Mon, 27 Mar 2006 21:26:43 +0000
Subject: note 63661 deleted from language.oop by bjori
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-106789@lists.php.net to get a copy of this message
Note Submitter: david at davidmosesNO dot SPAMca ---- Re: Joachim Kruyswijk (stdClass) The manual states: “You cannot have a class named stdClass in PHP”, which is true. In your example you do not have a class named stdClass, you simply have a variable named foo which is an instantiation of the class: stdClass. The manual does not state you cannot use the class stdClass such as you did (at least not that I can see), but rather you cannot use it as a class name such as <? class stdClass { …} ?> Although of course, we would not use it any way regardless.

« previous php.notes (#106789) next »