From 52abaae9b28b7a347de09092ece31599315b5edf Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Tue, 28 Feb 2012 19:56:00 +0000 Subject: [PATCH] Linkable core constants, remove duplicate and non-existent constants git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323636 c90b9560-bf6c-de11-be94-00142212c4b1 --- appendices/reserved.constants.core.xml | 223 +- appendices/reserved.constants.standard.xml | 2199 +------------------- install/ini.xml | 8 +- language/constants.xml | 16 +- reference/filesystem/constants.xml | 77 + 5 files changed, 142 insertions(+), 2381 deletions(-) diff --git a/appendices/reserved.constants.core.xml b/appendices/reserved.constants.core.xml index fd210d1f08..cdcf39aa7d 100644 --- a/appendices/reserved.constants.core.xml +++ b/appendices/reserved.constants.core.xml @@ -7,7 +7,7 @@ the Zend engine, and SAPI modules. - + PHP_VERSION (string) @@ -19,7 +19,7 @@ - + PHP_MAJOR_VERSION (integer) @@ -31,7 +31,7 @@ - + PHP_MINOR_VERSION (integer) @@ -43,7 +43,7 @@ - + PHP_RELEASE_VERSION (integer) @@ -55,7 +55,7 @@ - + PHP_VERSION_ID (integer) @@ -68,7 +68,7 @@ - + PHP_EXTRA_VERSION (string) @@ -82,7 +82,7 @@ - + PHP_ZTS (integer) @@ -93,7 +93,7 @@ - + PHP_DEBUG (integer) @@ -104,7 +104,7 @@ - + PHP_MAXPATHLEN (integer) @@ -116,7 +116,7 @@ - + PHP_OS (string) @@ -127,7 +127,7 @@ - + PHP_SAPI (string) @@ -139,7 +139,7 @@ - + PHP_EOL (string) @@ -151,7 +151,7 @@ - + PHP_INT_MAX (integer) @@ -163,7 +163,7 @@ - + PHP_INT_SIZE (integer) @@ -174,7 +174,7 @@ - + DEFAULT_INCLUDE_PATH (string) @@ -185,7 +185,7 @@ - + PEAR_INSTALL_DIR (string) @@ -196,7 +196,7 @@ - + PEAR_EXTENSION_DIR (string) @@ -207,7 +207,7 @@ - + PHP_EXTENSION_DIR (string) @@ -218,7 +218,7 @@ - + PHP_PREFIX (string) @@ -229,7 +229,7 @@ - + PHP_BINDIR (string) @@ -240,7 +240,7 @@ - + PHP_BINARY (string) @@ -252,7 +252,7 @@ - + PHP_MANDIR (string) @@ -264,7 +264,7 @@ - + PHP_LIBDIR (string) @@ -275,7 +275,7 @@ - + PHP_DATADIR (string) @@ -286,7 +286,7 @@ - + PHP_SYSCONFDIR (string) @@ -297,7 +297,7 @@ - + PHP_LOCALSTATEDIR (string) @@ -308,7 +308,7 @@ - + PHP_CONFIG_FILE_PATH (string) @@ -319,7 +319,7 @@ - + PHP_CONFIG_FILE_SCAN_DIR (string) @@ -330,7 +330,7 @@ - + PHP_SHLIB_SUFFIX (string) @@ -342,7 +342,7 @@ - + PHP_OUTPUT_HANDLER_START (integer) @@ -353,7 +353,7 @@ - + PHP_OUTPUT_HANDLER_CONT (integer) @@ -364,7 +364,7 @@ - + PHP_OUTPUT_HANDLER_END (integer) @@ -375,128 +375,7 @@ - - - PHP_WINDOWS_VERSION_MAJOR - (integer) - - - - "Major" version of Windows OS. Available (on Windows builds only) since PHP 5.3.0. - - - - - - PHP_WINDOWS_VERSION_MINOR - (integer) - - - - "Minor" version of Windows OS. Available (on Windows builds only) since PHP 5.3.0. - - - - - - PHP_WINDOWS_VERSION_BUILD - (integer) - - - - Available since PHP 5.3.0 - - - - - - PHP_WINDOWS_VERSION_PLATFORM - (integer) - - - - Available since PHP 5.3.0 - - - - - - PHP_WINDOWS_VERSION_SP_MAJOR - (integer) - - - - Available since PHP 5.3.0 - - - - - - PHP_WINDOWS_VERSION_SP_MINOR - (integer) - - - - Available since PHP 5.3.0 - - - - - - PHP_WINDOWS_VERSION_SUITEMASK - (integer) - - - - Available since PHP 5.3.0 - - - - - - PHP_WINDOWS_VERSION_PRODUCTTYPE - (integer) - - - - Available since PHP 5.3.0 - - - - - - PHP_WINDOWS_NT_DOMAIN_CONTROLLER - (integer) - - - - Available since PHP 5.3.0 - - - - - - PHP_WINDOWS_NT_SERVER - (integer) - - - - Available since PHP 5.3.0 - - - - - - PHP_WINDOWS_NT_WORKSTATION - (integer) - - - - Available since PHP 5.3.0 - - - - + E_ERROR (integer) @@ -507,7 +386,7 @@ - + E_WARNING (integer) @@ -518,7 +397,7 @@ - + E_PARSE (integer) @@ -529,7 +408,7 @@ - + E_NOTICE (integer) @@ -540,7 +419,7 @@ - + E_CORE_ERROR (integer) @@ -551,7 +430,7 @@ - + E_CORE_WARNING (integer) @@ -562,7 +441,7 @@ - + E_COMPILE_ERROR (integer) @@ -573,7 +452,7 @@ - + E_COMPILE_WARNING (integer) @@ -584,7 +463,7 @@ - + E_USER_ERROR (integer) @@ -595,7 +474,7 @@ - + E_USER_WARNING (integer) @@ -606,7 +485,7 @@ - + E_USER_NOTICE (integer) @@ -617,7 +496,7 @@ - + E_DEPRECATED (integer) @@ -628,7 +507,7 @@ - + E_USER_DEPRECATED (integer) @@ -639,7 +518,7 @@ - + E_ALL (integer) @@ -650,7 +529,7 @@ - + E_STRICT (integer) @@ -661,7 +540,7 @@ - + __COMPILER_HALT_OFFSET__ (integer) @@ -672,7 +551,7 @@ - + &true; (boolean) @@ -683,7 +562,7 @@ - + &false; (boolean) @@ -694,7 +573,7 @@ - + &null; (boolean) diff --git a/appendices/reserved.constants.standard.xml b/appendices/reserved.constants.standard.xml index 5c65ca0d79..6336e8b5b3 100644 --- a/appendices/reserved.constants.standard.xml +++ b/appendices/reserved.constants.standard.xml @@ -1,2207 +1,12 @@ - Standard Predefined Constants - These constants are defined in PHP by default. + All constants from core + extensions are defined in PHP by default. - - - - EXTR_OVERWRITE - (integer) - - - - - - - - - - EXTR_SKIP - (integer) - - - - - - - - - - EXTR_PREFIX_SAME - (integer) - - - - - - - - - - EXTR_PREFIX_ALL - (integer) - - - - - - - - - - EXTR_PREFIX_INVALID - (integer) - - - - - - - - - - EXTR_PREFIX_IF_EXISTS - (integer) - - - - - - - - - - EXTR_IF_EXISTS - (integer) - - - - - - - - - - SORT_ASC - (integer) - - - - - - - - - - SORT_DESC - (integer) - - - - - - - - - - SORT_REGULAR - (integer) - - - - - - - - - - SORT_NUMERIC - (integer) - - - - - - - - - - SORT_STRING - (integer) - - - - - - - - - - CASE_LOWER - (integer) - - - - - - - - - - CASE_UPPER - (integer) - - - - - - - - - - COUNT_NORMAL - (integer) - - - - - - - - - - COUNT_RECURSIVE - (integer) - - - - - - - - - - ASSERT_ACTIVE - (integer) - - - - - - - - - - ASSERT_CALLBACK - (integer) - - - - - - - - - - ASSERT_BAIL - (integer) - - - - - - - - - - ASSERT_WARNING - (integer) - - - - - - - - - - ASSERT_QUIET_EVAL - (integer) - - - - - - - - - - CONNECTION_ABORTED - (integer) - - - - - - - - - - CONNECTION_NORMAL - (integer) - - - - - - - - - - CONNECTION_TIMEOUT - (integer) - - - - - - - - - - INI_USER - (integer) - - - - - - - - - - INI_PERDIR - (integer) - - - - - - - - - - INI_SYSTEM - (integer) - - - - - - - - - - INI_ALL - (integer) - - - - - - - - - - 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 - (integer) - - - - - - - - - - CRYPT_STD_DES - (integer) - - - - - - - - - - CRYPT_EXT_DES - (integer) - - - - - - - - - - CRYPT_MD5 - (integer) - - - - - - - - - - CRYPT_BLOWFISH - (integer) - - - - - - - - - - DIRECTORY_SEPARATOR - (string) - - - - - - - - - - SEEK_SET - (integer) - - - - - - - - - - SEEK_CUR - (integer) - - - - - - - - - - SEEK_END - (integer) - - - - - - - - - - LOCK_SH - (integer) - - - - - - - - - - LOCK_EX - (integer) - - - - - - - - - - LOCK_UN - (integer) - - - - - - - - - - LOCK_NB - (integer) - - - - - - - - - - HTML_SPECIALCHARS - (integer) - - - - - - - - - - HTML_ENTITIES - (integer) - - - - - - - - - - ENT_COMPAT - (integer) - - - - - - - - - - ENT_QUOTES - (integer) - - - - - - - - - - ENT_NOQUOTES - (integer) - - - - - - - - - - INFO_GENERAL - (integer) - - - - - - - - - - INFO_CREDITS - (integer) - - - - - - - - - - INFO_CONFIGURATION - (integer) - - - - - - - - - - INFO_MODULES - (integer) - - - - - - - - - - INFO_ENVIRONMENT - (integer) - - - - - - - - - - INFO_VARIABLES - (integer) - - - - - - - - - - INFO_LICENSE - (integer) - - - - - - - - - - INFO_ALL - (integer) - - - - - - - - - - CREDITS_GROUP - (integer) - - - - - - - - - - CREDITS_GENERAL - (integer) - - - - - - - - - - CREDITS_SAPI - (integer) - - - - - - - - - - CREDITS_MODULES - (integer) - - - - - - - - - - CREDITS_DOCS - (integer) - - - - - - - - - - CREDITS_FULLPAGE - (integer) - - - - - - - - - - CREDITS_QA - (integer) - - - - - - - - - - CREDITS_ALL - (integer) - - - - - - - - - - STR_PAD_LEFT - (integer) - - - - - - - - - - STR_PAD_RIGHT - (integer) - - - - - - - - - - STR_PAD_BOTH - (integer) - - - - - - - - - - PATHINFO_DIRNAME - (integer) - - - - - - - - - - PATHINFO_BASENAME - (integer) - - - - - - - - - - PATHINFO_EXTENSION - (integer) - - - - - - - - - - PATH_SEPARATOR - (string) - - - - - - - - - - CHAR_MAX - (integer) - - - - - - - - - - LC_CTYPE - (integer) - - - - - - - - - - LC_NUMERIC - (integer) - - - - - - - - - - LC_TIME - (integer) - - - - - - - - - - LC_COLLATE - (integer) - - - - - - - - - - LC_MONETARY - (integer) - - - - - - - - - - LC_ALL - (integer) - - - - - - - - - - LC_MESSAGES - (integer) - - - - - - - - - - ABDAY_1 - (integer) - - - - - - - - - - ABDAY_2 - (integer) - - - - - - - - - - ABDAY_3 - (integer) - - - - - - - - - - ABDAY_4 - (integer) - - - - - - - - - - ABDAY_5 - (integer) - - - - - - - - - - ABDAY_6 - (integer) - - - - - - - - - - ABDAY_7 - (integer) - - - - - - - - - - DAY_1 - (integer) - - - - - - - - - - DAY_2 - (integer) - - - - - - - - - - DAY_3 - (integer) - - - - - - - - - - DAY_4 - (integer) - - - - - - - - - - DAY_5 - (integer) - - - - - - - - - - DAY_6 - (integer) - - - - - - - - - - DAY_7 - (integer) - - - - - - - - - - ABMON_1 - (integer) - - - - - - - - - - ABMON_2 - (integer) - - - - - - - - - - ABMON_3 - (integer) - - - - - - - - - - ABMON_4 - (integer) - - - - - - - - - - ABMON_5 - (integer) - - - - - - - - - - ABMON_6 - (integer) - - - - - - - - - - ABMON_7 - (integer) - - - - - - - - - - ABMON_8 - (integer) - - - - - - - - - - ABMON_9 - (integer) - - - - - - - - - - ABMON_10 - (integer) - - - - - - - - - - ABMON_11 - (integer) - - - - - - - - - - ABMON_12 - (integer) - - - - - - - - - - MON_1 - (integer) - - - - - - - - - - MON_2 - (integer) - - - - - - - - - - MON_3 - (integer) - - - - - - - - - - MON_4 - (integer) - - - - - - - - - - MON_5 - (integer) - - - - - - - - - - MON_6 - (integer) - - - - - - - - - - MON_7 - (integer) - - - - - - - - - - MON_8 - (integer) - - - - - - - - - - MON_9 - (integer) - - - - - - - - - - MON_10 - (integer) - - - - - - - - - - MON_11 - (integer) - - - - - - - - - - MON_12 - (integer) - - - - - - - - - - AM_STR - (integer) - - - - - - - - - - PM_STR - (integer) - - - - - - - - - - D_T_FMT - (integer) - - - - - - - - - - D_FMT - (integer) - - - - - - - - - - T_FMT - (integer) - - - - - - - - - - T_FMT_AMPM - (integer) - - - - - - - - - - ERA - (integer) - - - - - - - - - - ERA_YEAR - (integer) - - - - - - - - - - ERA_D_T_FMT - (integer) - - - - - - - - - - ERA_D_FMT - (integer) - - - - - - - - - - ERA_T_FMT - (integer) - - - - - - - - - - ALT_DIGITS - (integer) - - - - - - - - - - INT_CURR_SYMBOL - (integer) - - - - - - - - - - CURRENCY_SYMBOL - (integer) - - - - - - - - - - CRNCYSTR - (integer) - - - - - - - - - - MON_DECIMAL_POINT - (integer) - - - - - - - - - - MON_THOUSANDS_SEP - (integer) - - - - - - - - - - MON_GROUPING - (integer) - - - - - - - - - - POSITIVE_SIGN - (integer) - - - - - - - - - - NEGATIVE_SIGN - (integer) - - - - - - - - - - INT_FRAC_DIGITS - (integer) - - - - - - - - - - FRAC_DIGITS - (integer) - - - - - - - - - - P_CS_PRECEDES - (integer) - - - - - - - - - - P_SEP_BY_SPACE - (integer) - - - - - - - - - - N_CS_PRECEDES - (integer) - - - - - - - - - - N_SEP_BY_SPACE - (integer) - - - - - - - - - - P_SIGN_POSN - (integer) - - - - - - - - - - N_SIGN_POSN - (integer) - - - - - - - - - - DECIMAL_POINT - (integer) - - - - - - - - - - RADIXCHAR - (integer) - - - - - - - - - - THOUSANDS_SEP - (integer) - - - - - - - - - - THOUSEP - (integer) - - - - - - - - - - GROUPING - (integer) - - - - - - - - - - YESEXPR - (integer) - - - - - - - - - - NOEXPR - (integer) - - - - - - - - - - YESSTR - (integer) - - - - - - - - - - NOSTR - (integer) - - - - - - - - - - CODESET - (integer) - - - - - - - - - - LOG_EMERG - (integer) - - - - - - - - - - LOG_ALERT - (integer) - - - - - - - - - - LOG_CRIT - (integer) - - - - - - - - - - LOG_ERR - (integer) - - - - - - - - - - LOG_WARNING - (integer) - - - - - - - - - - LOG_NOTICE - (integer) - - - - - - - - - - LOG_INFO - (integer) - - - - - - - - - - LOG_DEBUG - (integer) - - - - - - - - - - LOG_KERN - (integer) - - - - - - - - - - LOG_USER - (integer) - - - - - - - - - - LOG_MAIL - (integer) - - - - - - - - - - LOG_DAEMON - (integer) - - - - - - - - - - LOG_AUTH - (integer) - - - - - - - - - - LOG_SYSLOG - (integer) - - - - - - - - - - LOG_LPR - (integer) - - - - - - - - - - LOG_NEWS - (integer) - - - - - - - - - - LOG_UUCP - (integer) - - - - - - - - - - LOG_CRON - (integer) - - - - - - - - - - LOG_AUTHPRIV - (integer) - - - - - - - - - - LOG_LOCAL0 - (integer) - - - - - - - - - - LOG_LOCAL1 - (integer) - - - - - - - - - - LOG_LOCAL2 - (integer) - - - - - - - - - - LOG_LOCAL3 - (integer) - - - - - - - - - - LOG_LOCAL4 - (integer) - - - - - - - - - - LOG_LOCAL5 - (integer) - - - - - - - - - - LOG_LOCAL6 - (integer) - - - - - - - - - - LOG_LOCAL7 - (integer) - - - - - - - - - - LOG_PID - (integer) - - - - - - - - - - LOG_CONS - (integer) - - - - - - - - - - LOG_ODELAY - (integer) - - - - - - - - - - LOG_NDELAY - (integer) - - - - - - - - - - LOG_NOWAIT - (integer) - - - - - - - - - - LOG_PERROR - (integer) - - - - - - - -