note 3236 deleted from language.oop by sander

From: Date: Sat, 06 Apr 2002 18:50:25 +0000
Subject: note 3236 deleted from language.oop by sander
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-28726@lists.php.net to get a copy of this message
With PHP 4, the new operator will take a variable class name, eg: $obj = new $className (); I haven't found this documented anywhere, but it is useful to get around some of the other limitations of PHP classes, and it seems to work.

« previous php.notes (#28726) next »