PHP Manual
Prev |  | Next

# Core Predefined Constants

Core Predefined Constants -- Constants defined in the PHP core, Zend, and SAPI modules

## Description

These constants are defined by the PHP core. This includes PHP, the Zend engine, and SAPI modules.

`PHP_VERSION` (string)

`PHP_OS` (string)

`DEFAULT_INCLUDE_PATH` (string)

`PEAR_INSTALL_DIR` (string)

`PEAR_EXTENSION_DIR` (string)

`PHP_EXTENSION_DIR` (string)

`PHP_BINDIR` (string)

`PHP_LIBDIR` (string)

`PHP_DATADIR` (string)

`PHP_SYSCONFDIR` (string)

`PHP_LOCALSTATEDIR` (string)

`PHP_CONFIG_FILE_PATH` (string)

`PHP_OUTPUT_HANDLER_START` (integer)

`PHP_OUTPUT_HANDLER_CONT` (integer)

`PHP_OUTPUT_HANDLER_END` (integer)

`E_ERROR` (integer)

`E_WARNING` (integer)

`E_PARSE` (integer)

`E_NOTICE` (integer)

`E_CORE_ERROR` (integer)

`E_CORE_WARNING` (integer)

`E_COMPILE_ERROR` (integer)

`E_COMPILE_WARNING` (integer)

`E_USER_ERROR` (integer)

`E_USER_WARNING` (integer)

`E_USER_NOTICE` (integer)

`E_ALL` (integer)

Prev | Home | Next
Predefined Constants | Up | Standard Predefined Constants