isInternal()){ echo 'The class is defined internally'; }else{ echo 'The class is defined externally'; } ?>
The class is defined externally
isInternal()){ echo 'The class is defined internally'; }else{ echo 'The class is defined externally'; } ?>
The class is defined internallyFrom the examples above it can be seen that the ReflectionClass is a part of the PHP core library, and not a separate package/library.