8.2. Pregenerated Constants

DEFAULT_INCLUDE_PATH

This constant contains the paths used by include, include_once, require, and require_once.

__CLASS__

This constant returns the name of the class in which the executing code is. It is an empty string when used outside a class.

E_ALL

This constant represents error messages of all levels.

E_COMPILE_ERROR

This constant represents an error encountered when the Zend Engine attempts to compile the page.

E_COMPILE_WARNING

This constant represents a problem encountered by the Zend Engine that doesn't halt compilation.

E_CORE_ERROR

This constant represents an error generated by PHP's core.

E_CORE_WARNING

This constant represents a warning generated by PHP's core.

E_ERROR

This constant represents an error ...

Get Core PHP Programming, Third Edition 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.