How to call a static class and method dynamically

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

 



I was wonderiing how I would go about something like this

$class = 'classname';

return $class::staticMethod(); , not happy isnt working. Any ideas lemme know.

--
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