note 6894 deleted from Classes and Objects by ronabop

From: Date: Thu, 17 Aug 2000 10:01:41 +0000
Subject: note 6894 deleted from Classes and Objects by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-2168@lists.php.net to get a copy of this message
Why can't you pass arguments to the constructor when instantiating a class by variable?<p> This, for example results in a parse error:<p> $object = new $variable($x, $y, $z);

« previous php.notes (#2168) next »