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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux