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

From: Date: Fri, 26 Nov 2004 04:33:24 +0000
Subject: Re: Getting static member for a class which name is stored in a variable
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-202878@lists.php.net to get a copy of this message
Hi Francisco, Your not alone, a number of other users have enountered this bug. :( I have submitted a bug report, here: http://bugs.php.net/bug.php?id=30716 It would be appreciated if you show your support for this bug by commenting/voting etc :) I also have a thread on the php.generals mailing list you may want to read, here: http://news.php.net/php.general/201458 Just quickly here is a dodgy workaround to get you moving echo eval('return '. $ClassName .'::$Data;'); :) Best Regards Jake Press

« previous php.general (#202878) next »