declaring a class as stdClass?

From: Date: Wed, 14 Jun 2006 18:08:02 +0000
Subject: declaring a class as stdClass?
Groups: php.general 
Request: Send a blank email to php-general+get-237992@lists.php.net to get a copy of this message
Hi list, I hace an existencial doubt: i've seem many scripts declaring classes as stdClass. In the documentation (for PHP5 and also for 4), it says that this class is internal of php, and should't be used. By the manner I saw it's being used, i guess that it can be handy to create a 'generic' or so class, and append members when needed on the fly, without the need for a formal class declaration, but i could't find any good source explaining that. Has somebody some info about? Thanks in advance. Mariano Guadagnini.- -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.8.4/363 - Release Date: 13/06/2006

« previous php.general (#237992) next »