create object from variable class.

From: Date: Wed, 24 Jul 2002 12:59:35 +0000
Subject: create object from variable class.
Groups: php.general 
Request: Send a blank email to php-general+get-109295@lists.php.net to get a copy of this message
Is it possible to create an object from a clas which name is in a variable. Example: (doesn't work) $object = new ${$classname};

« previous php.general (#109295) next »