Implementing Objects

Having learned the syntax of defining, using, and extending object types, in this section, you will examine utilities to leverage OO programming. Utilities enable you to manage objects in the procedural programming structures. Table 8-3 qualifies the PHP predefined functions that enable you to evaluate and obtain information about object types and object instances.

Table 8-3. Object Management Predefined Functions
Function NameDescription
class_exists()The function checks if a class is defined in the current environment scope. It returns a Boolean true if the object type is defined or false when not. You have an optional second parameter that has a default true value, which means that it attempts to run the __autoload() function ...

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

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.