get all classes php code example Example: get_declared_classes <?php print_r(get_declared_classes()); ?>