October 2006
Intermediate to advanced
720 pages
17h 56m
English
As discussed in the section “Using Object Reflection” in Chapter 8, several loaded extensions run in your PHP environment. The loaded extensions and PHP version determine the object interfaces and classes in your environment. The following functions are the keys to discovering what are available in your environment:
| Function Name | Function Description |
|---|---|
| get_declared_interfaces() | This function returns an array of declared interfaces in your environment. |
| get_declared_classes() | This function returns an array of declared object types or classes in your environment. |
| get_loaded_extensions() | This function returns an array of loaded extensions in your environment. |
The array returns values that do not sort well ...
Read now
Unlock full access