I have some class name. How to check if a class inherits another class without instantiating it?
if (!class_exists($controller)) //AND I have check type
You'll have to use reflection for that, it's pretty large topic:
http://ca.php.net/manual/fr/book.reflection.php
Look at the doc a little, try something and if you still have questions, something more precise, then post another question on that topic.