Appendix D. Environment Interfaces and Object Types

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 NameFunction 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 ...

Get Oracle Database 10g Express Edition PHP Web Programming now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.