How to call a static class and method dynamically
| From: | Dan Rossi | Date: | Mon, 04 Apr 2005 04:34:11 +0000 |
| Subject: | How to call a static class and method dynamically | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-212153@lists.php.net to get a copy of this message | ||
I was wonderiing how I would go about something like this
$class = 'classname';
return $class::staticMethod(); , not happy isnt working. Any ideas lemme know.