Predefined ClassesThis section lists standard predefined classes. Miscellaneous extensions define other classes which are described in their reference. Standard Defined ClassesThese classes are defined in the standard set of functions included in the PHP build.
Predefined classes as of PHP 5These additional predefined classes were introduced in PHP 5.0.0.
ClosureThe predefined final class Closure was introduced in PHP 5.3.0. It is used for representing anonymous functions. For more information, see its class page. GeneratorThe predefined final class Generator was introduced in PHP 5.5.0. It is used for representing generators. For more information, see its class page. Predefined interfaces and classes as of PHP 7These additional predefined interfaces and classes were introduced in PHP 7.0.0.
Special classesFollowing identifiers may not be used as a class name as they have special purpose.
|