PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
You can call the method using a variable but accessing the class statically requires the need to use it's actual identifier by the look of it.
I've been trying this with PHP5... not sure what you're using.
EDIT | And if you need to make the class name variable I think you'll just have to work-around it by creating an instance of it first. You can create instances of classes using variable class names.