Re: Getting static member for a class which name is stored in a variable

From: Date: Fri, 26 Nov 2004 08:26:57 +0000
Subject: Re: Getting static member for a class which name is stored in a variable
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-202883@lists.php.net to get a copy of this message
Jake Press wrote:
Hi Francisco, Your not alone, a number of other users have enountered this bug.
string get_class ( object obj ) Its not a bug... You are getting class name as a string for output purposes etc.. Doing something like "TestClass"::some_static is ofcourse illegal wih strings.

« previous php.general (#202883) next »