Mots réservés en PHP
PHP Manual

Constantes pré-définies

Constantes prédéfinies

Ces constantes sont définies par le coeur de PHP. Cela inclut notamment PHP, le moteur Zend et les modules SAPI.

PHP_VERSION (chaîne de caractères)
PHP_MAJOR_VERSION (entier)
Disponible depuis PHP 5.2.7.
PHP_MINOR_VERSION (entier)
Disponible depuis PHP 5.2.7.
PHP_RELEASE_VERSION (entier)
Disponible depuis PHP 5.2.7.
PHP_VERSION_ID (entier)
Disponible depuis PHP 5.2.7.
PHP_EXTRA_VERSION (chaîne de caractères)
Disponible depuis PHP 5.2.7.
PHP_ZTS (entier)
Disponible depuis PHP 5.2.7.
PHP_DEBUG (entier)
Disponible depuis PHP 5.2.7.
PHP_MAXPATHLEN (entier)
Disponible depuis PHP 5.3.0.
PHP_OS (chaîne de caractères)
PHP_SAPI (chaîne de caractères)
Disponible depuis PHP 4.2.0. Voyez aussi php_sapi_name().
PHP_EOL (chaîne de caractères)
Disponible depuis PHP 4.3.10 et PHP 5.0.2
PHP_INT_MAX (entier)
Disponible depuis PHP 4.4.0 et PHP 5.0.5
PHP_INT_SIZE (entier)
Disponible depuis PHP 4.4.0 et PHP 5.0.5
DEFAULT_INCLUDE_PATH (chaîne de caractères)
PEAR_INSTALL_DIR (chaîne de caractères)
PEAR_EXTENSION_DIR (chaîne de caractères)
PHP_EXTENSION_DIR (chaîne de caractères)
PHP_PREFIX (chaîne de caractères)
Disponible depuis PHP 4.3.0
PHP_BINDIR (chaîne de caractères)
PHP_LIBDIR (chaîne de caractères)
PHP_DATADIR (chaîne de caractères)
PHP_SYSCONFDIR (chaîne de caractères)
PHP_LOCALSTATEDIR (chaîne de caractères)
PHP_CONFIG_FILE_PATH (chaîne de caractères)
PHP_CONFIG_FILE_SCAN_DIR (chaîne de caractères)
PHP_SHLIB_SUFFIX (chaîne de caractères)
Disponible depuis PHP 4.3.0
PHP_OUTPUT_HANDLER_START (entier)
PHP_OUTPUT_HANDLER_CONT (entier)
PHP_OUTPUT_HANDLER_END (entier)
PHP_WINDOWS_VERSION_MAJOR (entier)
Disponible depuis PHP 5.3.0
PHP_WINDOWS_VERSION_MINOR (entier)
Disponible depuis PHP 5.3.0
PHP_WINDOWS_VERSION_BUILD (entier)
Disponible depuis PHP 5.3.0
PHP_WINDOWS_VERSION_PLATFORM (entier)
Disponible depuis PHP 5.3.0
PHP_WINDOWS_VERSION_SP_MAJOR (entier)
Disponible depuis PHP 5.3.0
PHP_WINDOWS_VERSION_SP_MINOR (entier)
Disponible depuis PHP 5.3.0
PHP_WINDOWS_VERSION_SUITEMASK (entier)
Disponible depuis PHP 5.3.0
PHP_WINDOWS_VERSION_PRODUCTTYPE (entier)
Disponible depuis PHP 5.3.0
PHP_WINDOWS_NT_DOMAIN_CONTROLLER (entier)
Disponible depuis PHP 5.3.0
PHP_WINDOWS_NT_SERVER (entier)
Disponible depuis PHP 5.3.0
PHP_WINDOWS_NT_WORKSTATION (entier)
Disponible depuis PHP 5.3.0
E_ERROR (entier)
E_WARNING (entier)
E_PARSE (entier)
E_NOTICE (entier)
E_CORE_ERROR (entier)
E_CORE_WARNING (entier)
E_COMPILE_ERROR (entier)
E_COMPILE_WARNING (entier)
E_USER_ERROR (entier)
E_USER_WARNING (entier)
E_USER_NOTICE (entier)
E_DEPRECATED (entier)
Disponible depuis PHP 5.3.0
E_USER_DEPRECATED (entier)
Disponible depuis PHP 5.3.0
E_ALL (entier)
E_STRICT (entier)
Disponible depuis PHP 5.0.0.
__COMPILER_HALT_OFFSET__ (entier)
Disponible depuis PHP 5.1.0
TRUE (boolean)
Voir Booleans.
FALSE (boolean)
Voir Booleans.
NULL (boolean)
Voir Null.

Voir aussi les constantes magiques.

Constantes standards prédéfinies

Ces constantes sont définies par défaut dans PHP.

EXTR_OVERWRITE (entier)
EXTR_SKIP (entier)
EXTR_PREFIX_SAME (entier)
EXTR_PREFIX_ALL (entier)
EXTR_PREFIX_INVALID (entier)
EXTR_PREFIX_IF_EXISTS (entier)
EXTR_IF_EXISTS (entier)
SORT_ASC (entier)
SORT_DESC (entier)
SORT_REGULAR (entier)
SORT_NUMERIC (entier)
SORT_STRING (entier)
CASE_LOWER (entier)
CASE_UPPER (entier)
COUNT_NORMAL (entier)
COUNT_RECURSIVE (entier)
ASSERT_ACTIVE (entier)
ASSERT_CALLBACK (entier)
ASSERT_BAIL (entier)
ASSERT_WARNING (entier)
ASSERT_QUIET_EVAL (entier)
CONNECTION_ABORTED (entier)
CONNECTION_NORMAL (entier)
CONNECTION_TIMEOUT (entier)
INI_USER (entier)
INI_PERDIR (entier)
INI_SYSTEM (entier)
INI_ALL (entier)
M_E (float)
M_LOG2E (float)
M_LOG10E (float)
M_LN2 (float)
M_LN10 (float)
M_PI (float)
M_PI_2 (float)
M_PI_4 (float)
M_1_PI (float)
M_2_PI (float)
M_2_SQRTPI (float)
M_SQRT2 (float)
M_SQRT1_2 (float)
CRYPT_SALT_LENGTH (entier)
CRYPT_STD_DES (entier)
CRYPT_EXT_DES (entier)
CRYPT_MD5 (entier)
CRYPT_BLOWFISH (entier)
DIRECTORY_SEPARATOR (chaîne de caractères)
SEEK_SET (entier)
SEEK_CUR (entier)
SEEK_END (entier)
LOCK_SH (entier)
LOCK_EX (entier)
LOCK_UN (entier)
LOCK_NB (entier)
HTML_SPECIALCHARS (entier)
HTML_ENTITIES (entier)
ENT_COMPAT (entier)
ENT_QUOTES (entier)
ENT_NOQUOTES (entier)
INFO_GENERAL (entier)
INFO_CREDITS (entier)
INFO_CONFIGURATION (entier)
INFO_MODULES (entier)
INFO_ENVIRONMENT (entier)
INFO_VARIABLES (entier)
INFO_LICENSE (entier)
INFO_ALL (entier)
CREDITS_GROUP (entier)
CREDITS_GENERAL (entier)
CREDITS_SAPI (entier)
CREDITS_MODULES (entier)
CREDITS_DOCS (entier)
CREDITS_FULLPAGE (entier)
CREDITS_QA (entier)
CREDITS_ALL (entier)
STR_PAD_LEFT (entier)
STR_PAD_RIGHT (entier)
STR_PAD_BOTH (entier)
PATHINFO_DIRNAME (entier)
PATHINFO_BASENAME (entier)
PATHINFO_EXTENSION (entier)
PATH_SEPARATOR (chaîne de caractères)
CHAR_MAX (entier)
LC_CTYPE (entier)
LC_NUMERIC (entier)
LC_TIME (entier)
LC_COLLATE (entier)
LC_MONETARY (entier)
LC_ALL (entier)
LC_MESSAGES (entier)
ABDAY_1 (entier)
ABDAY_2 (entier)
ABDAY_3 (entier)
ABDAY_4 (entier)
ABDAY_5 (entier)
ABDAY_6 (entier)
ABDAY_7 (entier)
DAY_1 (entier)
DAY_2 (entier)
DAY_3 (entier)
DAY_4 (entier)
DAY_5 (entier)
DAY_6 (entier)
DAY_7 (entier)
ABMON_1 (entier)
ABMON_2 (entier)
ABMON_3 (entier)
ABMON_4 (entier)
ABMON_5 (entier)
ABMON_6 (entier)
ABMON_7 (entier)
ABMON_8 (entier)
ABMON_9 (entier)
ABMON_10 (entier)
ABMON_11 (entier)
ABMON_12 (entier)
MON_1 (entier)
MON_2 (entier)
MON_3 (entier)
MON_4 (entier)
MON_5 (entier)
MON_6 (entier)
MON_7 (entier)
MON_8 (entier)
MON_9 (entier)
MON_10 (entier)
MON_11 (entier)
MON_12 (entier)
AM_STR (entier)
PM_STR (entier)
D_T_FMT (entier)
D_FMT (entier)
T_FMT (entier)
T_FMT_AMPM (entier)
ERA (entier)
ERA_YEAR (entier)
ERA_D_T_FMT (entier)
ERA_D_FMT (entier)
ERA_T_FMT (entier)
ALT_DIGITS (entier)
INT_CURR_SYMBOL (entier)
CURRENCY_SYMBOL (entier)
CRNCYSTR (entier)
MON_DECIMAL_POINT (entier)
MON_THOUSANDS_SEP (entier)
MON_GROUPING (entier)
POSITIVE_SIGN (entier)
NEGATIVE_SIGN (entier)
INT_FRAC_DIGITS (entier)
FRAC_DIGITS (entier)
P_CS_PRECEDES (entier)
P_SEP_BY_SPACE (entier)
N_CS_PRECEDES (entier)
N_SEP_BY_SPACE (entier)
P_SIGN_POSN (entier)
N_SIGN_POSN (entier)
DECIMAL_POINT (entier)
RADIXCHAR (entier)
THOUSANDS_SEP (entier)
THOUSEP (entier)
GROUPING (entier)
YESEXPR (entier)
NOEXPR (entier)
YESSTR (entier)
NOSTR (entier)
CODESET (entier)
LOG_EMERG (entier)
LOG_ALERT (entier)
LOG_CRIT (entier)
LOG_ERR (entier)
LOG_WARNING (entier)
LOG_NOTICE (entier)
LOG_INFO (entier)
LOG_DEBUG (entier)
LOG_KERN (entier)
LOG_USER (entier)
LOG_MAIL (entier)
LOG_DAEMON (entier)
LOG_AUTH (entier)
LOG_SYSLOG (entier)
LOG_LPR (entier)
LOG_NEWS (entier)
LOG_UUCP (entier)
LOG_CRON (entier)
LOG_AUTHPRIV (entier)
LOG_LOCAL0 (entier)
LOG_LOCAL1 (entier)
LOG_LOCAL2 (entier)
LOG_LOCAL3 (entier)
LOG_LOCAL4 (entier)
LOG_LOCAL5 (entier)
LOG_LOCAL6 (entier)
LOG_LOCAL7 (entier)
LOG_PID (entier)
LOG_CONS (entier)
LOG_ODELAY (entier)
LOG_NDELAY (entier)
LOG_NOWAIT (entier)
LOG_PERROR (entier)

Mots réservés en PHP
PHP Manual