Re: classes in php5

From: Date: Wed, 29 Sep 2004 02:41:24 +0000
Subject: Re: classes in php5
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-198140@lists.php.net to get a copy of this message
* Thus wrote Maciek Ruckgaber Bielecki: > you are just missing the (); it wont work either in php4 or php5 that > way. > > > $className = "Foo"; > $fooInstance = new $className(); $a = new Foo; Is perfectly valid. Curt -- The above comments may offend you. flame at will.

« previous php.general (#198140) next »