In some cases you may need to investigate which classes are loaded in the current scope. You can do it pretty fine with the get_declared_classes() function. This function will return an array of currently available classes.
PHP
1 2 3 4 |
<?php include_once("class.myClass.php"); print_r(get_declared_classes()); ?> |