Saturday, December 03, 2005
PHP 상수 리스트; Constant List; Dump All Constants
(이 게시물은 실제로는 2007년 5월에 작성되었습니다.)
PHP 5에서, 현재 정의되어 있는 모든 상수(Constant)들과 그 상수들의 값의 목록입니다.
상수의 기능에 대한 설명은 없지만, 상수 이름을 보면 그 의미를 대부분 쉽게 알 수 있습니다.
다음의 소스로 위의 목록을 구할 수 있습니다: ▶▶ PHP 예제] 모든 상수 목록 출력 함수; Dump All Constant Function
▶▶ PHP 예제] 상수 정의 / 선언 방법; Define Constant
PHP 5에서, 현재 정의되어 있는 모든 상수(Constant)들과 그 상수들의 값의 목록입니다.
상수의 기능에 대한 설명은 없지만, 상수 이름을 보면 그 의미를 대부분 쉽게 알 수 있습니다.
D:\Z>php example.php
Array
(
[internal] => Array
(
[E_ERROR] => 1
[E_RECOVERABLE_ERROR] => 4096
[E_WARNING] => 2
[E_PARSE] => 4
[E_NOTICE] => 8
[E_STRICT] => 2048
[E_CORE_ERROR] => 16
[E_CORE_WARNING] => 32
[E_COMPILE_ERROR] => 64
[E_COMPILE_WARNING] => 128
[E_USER_ERROR] => 256
[E_USER_WARNING] => 512
[E_USER_NOTICE] => 1024
[E_ALL] => 6143
[TRUE] => 1
[FALSE] =>
[NULL] =>
[ZEND_THREAD_SAFE] => 1
[PHP_VERSION] => 5.2.1
[PHP_OS] => WINNT
[PHP_SAPI] => cli
[DEFAULT_INCLUDE_PATH] => .;C:\php5\pear
[PEAR_INSTALL_DIR] => C:\php5\pear
[PEAR_EXTENSION_DIR] => C:\php5
[PHP_EXTENSION_DIR] => C:\php5
[PHP_PREFIX] => C:\php5
[PHP_BINDIR] => C:\php5
[PHP_LIBDIR] => C:\php5
[PHP_DATADIR] => C:\php5
[PHP_SYSCONFDIR] => C:\php5
[PHP_LOCALSTATEDIR] => C:\php5
[PHP_CONFIG_FILE_PATH] => C:\WINNT
[PHP_CONFIG_FILE_SCAN_DIR] =>
[PHP_SHLIB_SUFFIX] => dll
[PHP_EOL] =>
[PHP_INT_MAX] => 2147483647
[PHP_INT_SIZE] => 4
[PHP_OUTPUT_HANDLER_START] => 1
[PHP_OUTPUT_HANDLER_CONT] => 2
[PHP_OUTPUT_HANDLER_END] => 4
[UPLOAD_ERR_OK] => 0
[UPLOAD_ERR_INI_SIZE] => 1
[UPLOAD_ERR_FORM_SIZE] => 2
[UPLOAD_ERR_PARTIAL] => 3
[UPLOAD_ERR_NO_FILE] => 4
[UPLOAD_ERR_NO_TMP_DIR] => 6
[UPLOAD_ERR_CANT_WRITE] => 7
[UPLOAD_ERR_EXTENSION] => 8
[STDIN] => Resource id #1
[STDOUT] => Resource id #2
[STDERR] => Resource id #3
)
[calendar] => Array
(
[CAL_GREGORIAN] => 0
[CAL_JULIAN] => 1
[CAL_JEWISH] => 2
[CAL_FRENCH] => 3
[CAL_NUM_CALS] => 4
[CAL_DOW_DAYNO] => 0
[CAL_DOW_SHORT] => 1
[CAL_DOW_LONG] => 2
[CAL_MONTH_GREGORIAN_SHORT] => 0
[CAL_MONTH_GREGORIAN_LONG] => 1
[CAL_MONTH_JULIAN_SHORT] => 2
[CAL_MONTH_JULIAN_LONG] => 3
[CAL_MONTH_JEWISH] => 4
[CAL_MONTH_FRENCH] => 5
[CAL_EASTER_DEFAULT] => 0
[CAL_EASTER_ROMAN] => 1
[CAL_EASTER_ALWAYS_GREGORIAN] => 2
[CAL_EASTER_ALWAYS_JULIAN] => 3
[CAL_JEWISH_ADD_ALAFIM_GERESH] => 2
[CAL_JEWISH_ADD_ALAFIM] => 4
[CAL_JEWISH_ADD_GERESHAYIM] => 8
)
[com_dotnet] => Array
(
[CLSCTX_INPROC_SERVER] => 1
[CLSCTX_INPROC_HANDLER] => 2
[CLSCTX_LOCAL_SERVER] => 4
[CLSCTX_REMOTE_SERVER] => 16
[CLSCTX_SERVER] => 21
[CLSCTX_ALL] => 23
[VT_NULL] => 1
[VT_EMPTY] => 0
[VT_UI1] => 17
[VT_I1] => 16
[VT_UI2] => 18
[VT_I2] => 2
[VT_UI4] => 19
[VT_I4] => 3
[VT_R4] => 4
[VT_R8] => 5
[VT_BOOL] => 11
[VT_ERROR] => 10
[VT_CY] => 6
[VT_DATE] => 7
[VT_BSTR] => 8
[VT_DECIMAL] => 14
[VT_UNKNOWN] => 13
[VT_DISPATCH] => 9
[VT_VARIANT] => 12
[VT_INT] => 22
[VT_UINT] => 23
[VT_ARRAY] => 8192
[VT_BYREF] => 16384
[CP_ACP] => 0
[CP_MACCP] => 2
[CP_OEMCP] => 1
[CP_UTF7] => 65000
[CP_UTF8] => 65001
[CP_SYMBOL] => 42
[CP_THREAD_ACP] => 3
[VARCMP_LT] => 0
[VARCMP_EQ] => 1
[VARCMP_GT] => 2
[VARCMP_NULL] => 3
[NORM_IGNORECASE] => 1
[NORM_IGNORENONSPACE] => 2
[NORM_IGNORESYMBOLS] => 4
[NORM_IGNOREWIDTH] => 131072
[NORM_IGNOREKANATYPE] => 65536
[DISP_E_DIVBYZERO] => -2147352558
[DISP_E_OVERFLOW] => -2147352566
[DISP_E_BADINDEX] => -2147352565
[MK_E_UNAVAILABLE] => -2147221021
)
[filter] => Array
(
[INPUT_POST] => 0
[INPUT_GET] => 1
[INPUT_COOKIE] => 2
[INPUT_ENV] => 4
[INPUT_SERVER] => 5
[INPUT_SESSION] => 6
[INPUT_REQUEST] => 99
[FILTER_FLAG_NONE] => 0
[FILTER_REQUIRE_SCALAR] => 33554432
[FILTER_REQUIRE_ARRAY] => 16777216
[FILTER_FORCE_ARRAY] => 67108864
[FILTER_NULL_ON_FAILURE] => 134217728
[FILTER_VALIDATE_INT] => 257
[FILTER_VALIDATE_BOOLEAN] => 258
[FILTER_VALIDATE_FLOAT] => 259
[FILTER_VALIDATE_REGEXP] => 272
[FILTER_VALIDATE_URL] => 273
[FILTER_VALIDATE_EMAIL] => 274
[FILTER_VALIDATE_IP] => 275
[FILTER_DEFAULT] => 516
[FILTER_UNSAFE_RAW] => 516
[FILTER_SANITIZE_STRING] => 513
[FILTER_SANITIZE_STRIPPED] => 513
[FILTER_SANITIZE_ENCODED] => 514
[FILTER_SANITIZE_SPECIAL_CHARS] => 515
[FILTER_SANITIZE_EMAIL] => 517
[FILTER_SANITIZE_URL] => 518
[FILTER_SANITIZE_NUMBER_INT] => 519
[FILTER_SANITIZE_NUMBER_FLOAT] => 520
[FILTER_SANITIZE_MAGIC_QUOTES] => 521
[FILTER_CALLBACK] => 1024
[FILTER_FLAG_ALLOW_OCTAL] => 1
[FILTER_FLAG_ALLOW_HEX] => 2
[FILTER_FLAG_STRIP_LOW] => 4
[FILTER_FLAG_STRIP_HIGH] => 8
[FILTER_FLAG_ENCODE_LOW] => 16
[FILTER_FLAG_ENCODE_HIGH] => 32
[FILTER_FLAG_ENCODE_AMP] => 64
[FILTER_FLAG_NO_ENCODE_QUOTES] => 128
[FILTER_FLAG_EMPTY_STRING_NULL] => 256
[FILTER_FLAG_ALLOW_FRACTION] => 4096
[FILTER_FLAG_ALLOW_THOUSAND] => 8192
[FILTER_FLAG_ALLOW_SCIENTIFIC] => 16384
[FILTER_FLAG_SCHEME_REQUIRED] => 65536
[FILTER_FLAG_HOST_REQUIRED] => 131072
[FILTER_FLAG_PATH_REQUIRED] => 262144
[FILTER_FLAG_QUERY_REQUIRED] => 524288
[FILTER_FLAG_IPV4] => 1048576
[FILTER_FLAG_IPV6] => 2097152
[FILTER_FLAG_NO_RES_RANGE] => 4194304
[FILTER_FLAG_NO_PRIV_RANGE] => 8388608
)
[ftp] => Array
(
[FTP_ASCII] => 1
[FTP_TEXT] => 1
[FTP_BINARY] => 2
[FTP_IMAGE] => 2
[FTP_AUTORESUME] => -1
[FTP_TIMEOUT_SEC] => 0
[FTP_AUTOSEEK] => 1
[FTP_FAILED] => 0
[FTP_FINISHED] => 1
[FTP_MOREDATA] => 2
)
[hash] => Array
(
[HASH_HMAC] => 1
)
[iconv] => Array
(
[ICONV_IMPL] => "libiconv"
[ICONV_VERSION] => 1.9
[ICONV_MIME_DECODE_STRICT] => 1
[ICONV_MIME_DECODE_CONTINUE_ON_ERROR] => 2
)
[odbc] => Array
(
[ODBC_TYPE] => Win32
[ODBC_BINMODE_PASSTHRU] => 0
[ODBC_BINMODE_RETURN] => 1
[ODBC_BINMODE_CONVERT] => 2
[SQL_ODBC_CURSORS] => 110
[SQL_CUR_USE_DRIVER] => 2
[SQL_CUR_USE_IF_NEEDED] => 0
[SQL_CUR_USE_ODBC] => 1
[SQL_CONCURRENCY] => 7
[SQL_CONCUR_READ_ONLY] => 1
[SQL_CONCUR_LOCK] => 2
[SQL_CONCUR_ROWVER] => 3
[SQL_CONCUR_VALUES] => 4
[SQL_CURSOR_TYPE] => 6
[SQL_CURSOR_FORWARD_ONLY] => 0
[SQL_CURSOR_KEYSET_DRIVEN] => 1
[SQL_CURSOR_DYNAMIC] => 2
[SQL_CURSOR_STATIC] => 3
[SQL_KEYSET_SIZE] => 8
[SQL_FETCH_FIRST] => 2
[SQL_FETCH_NEXT] => 1
[SQL_CHAR] => 1
[SQL_VARCHAR] => 12
[SQL_LONGVARCHAR] => -1
[SQL_DECIMAL] => 3
[SQL_NUMERIC] => 2
[SQL_BIT] => -7
[SQL_TINYINT] => -6
[SQL_SMALLINT] => 5
[SQL_INTEGER] => 4
[SQL_BIGINT] => -5
[SQL_REAL] => 7
[SQL_FLOAT] => 6
[SQL_DOUBLE] => 8
[SQL_BINARY] => -2
[SQL_VARBINARY] => -3
[SQL_LONGVARBINARY] => -4
[SQL_DATE] => 9
[SQL_TIME] => 10
[SQL_TIMESTAMP] => 11
)
[pcre] => Array
(
[PREG_PATTERN_ORDER] => 1
[PREG_SET_ORDER] => 2
[PREG_OFFSET_CAPTURE] => 256
[PREG_SPLIT_NO_EMPTY] => 1
[PREG_SPLIT_DELIM_CAPTURE] => 2
[PREG_SPLIT_OFFSET_CAPTURE] => 4
[PREG_GREP_INVERT] => 1
[PREG_NO_ERROR] => 0
[PREG_INTERNAL_ERROR] => 1
[PREG_BACKTRACK_LIMIT_ERROR] => 2
[PREG_RECURSION_LIMIT_ERROR] => 3
[PREG_BAD_UTF8_ERROR] => 4
)
[session] => Array
(
[DATE_ATOM] => Y-m-d\TH:i:sP
[DATE_COOKIE] => l, d-M-y H:i:s T
[DATE_ISO8601] => Y-m-d\TH:i:sO
[DATE_RFC822] => D, d M y H:i:s O
[DATE_RFC850] => l, d-M-y H:i:s T
[DATE_RFC1036] => D, d M y H:i:s O
[DATE_RFC1123] => D, d M Y H:i:s O
[DATE_RFC2822] => D, d M Y H:i:s O
[DATE_RFC3339] => Y-m-d\TH:i:sP
[DATE_RSS] => D, d M Y H:i:s O
[DATE_W3C] => Y-m-d\TH:i:sP
[SUNFUNCS_RET_TIMESTAMP] => 0
[SUNFUNCS_RET_STRING] => 1
[SUNFUNCS_RET_DOUBLE] => 2
)
[SimpleXML] => Array
(
[LIBXML_VERSION] => 20626
[LIBXML_DOTTED_VERSION] => 2.6.26
[LIBXML_NOENT] => 2
[LIBXML_DTDLOAD] => 4
[LIBXML_DTDATTR] => 8
[LIBXML_DTDVALID] => 16
[LIBXML_NOERROR] => 32
[LIBXML_NOWARNING] => 64
[LIBXML_NOBLANKS] => 256
[LIBXML_XINCLUDE] => 1024
[LIBXML_NSCLEAN] => 8192
[LIBXML_NOCDATA] => 16384
[LIBXML_NONET] => 2048
[LIBXML_COMPACT] => 65536
[LIBXML_NOXMLDECL] => 2
[LIBXML_NOEMPTYTAG] => 4
[LIBXML_ERR_NONE] => 0
[LIBXML_ERR_WARNING] => 1
[LIBXML_ERR_ERROR] => 2
[LIBXML_ERR_FATAL] => 3
)
[standard] => Array
(
[CONNECTION_ABORTED] => 1
[CONNECTION_NORMAL] => 0
[CONNECTION_TIMEOUT] => 2
[INI_USER] => 1
[INI_PERDIR] => 2
[INI_SYSTEM] => 4
[INI_ALL] => 7
[PHP_URL_SCHEME] => 0
[PHP_URL_HOST] => 1
[PHP_URL_PORT] => 2
[PHP_URL_USER] => 3
[PHP_URL_PASS] => 4
[PHP_URL_PATH] => 5
[PHP_URL_QUERY] => 6
[PHP_URL_FRAGMENT] => 7
[M_E] => 2.718281828459
[M_LOG2E] => 1.442695040889
[M_LOG10E] => 0.43429448190325
[M_LN2] => 0.69314718055995
[M_LN10] => 2.302585092994
[M_PI] => 3.1415926535898
[M_PI_2] => 1.5707963267949
[M_PI_4] => 0.78539816339745
[M_1_PI] => 0.31830988618379
[M_2_PI] => 0.63661977236758
[M_SQRTPI] => 1.7724538509055
[M_2_SQRTPI] => 1.1283791670955
[M_LNPI] => 1.1447298858494
[M_EULER] => 0.57721566490153
[M_SQRT2] => 1.4142135623731
[M_SQRT1_2] => 0.70710678118655
[M_SQRT3] => 1.7320508075689
[INF] => 1.#INF
[NAN] => 0
[INFO_GENERAL] => 1
[INFO_CREDITS] => 2
[INFO_CONFIGURATION] => 4
[INFO_MODULES] => 8
[INFO_ENVIRONMENT] => 16
[INFO_VARIABLES] => 32
[INFO_LICENSE] => 64
[INFO_ALL] => -1
[CREDITS_GROUP] => 1
[CREDITS_GENERAL] => 2
[CREDITS_SAPI] => 4
[CREDITS_MODULES] => 8
[CREDITS_DOCS] => 16
[CREDITS_FULLPAGE] => 32
[CREDITS_QA] => 64
[CREDITS_ALL] => -1
[HTML_SPECIALCHARS] => 0
[HTML_ENTITIES] => 1
[ENT_COMPAT] => 2
[ENT_QUOTES] => 3
[ENT_NOQUOTES] => 0
[STR_PAD_LEFT] => 0
[STR_PAD_RIGHT] => 1
[STR_PAD_BOTH] => 2
[PATHINFO_DIRNAME] => 1
[PATHINFO_BASENAME] => 2
[PATHINFO_EXTENSION] => 4
[PATHINFO_FILENAME] => 8
[CHAR_MAX] => 127
[LC_CTYPE] => 2
[LC_NUMERIC] => 4
[LC_TIME] => 5
[LC_COLLATE] => 1
[LC_MONETARY] => 3
[LC_ALL] => 0
[SEEK_SET] => 0
[SEEK_CUR] => 1
[SEEK_END] => 2
[LOCK_SH] => 1
[LOCK_EX] => 2
[LOCK_UN] => 3
[LOCK_NB] => 4
[STREAM_NOTIFY_CONNECT] => 2
[STREAM_NOTIFY_AUTH_REQUIRED] => 3
[STREAM_NOTIFY_AUTH_RESULT] => 10
[STREAM_NOTIFY_MIME_TYPE_IS] => 4
[STREAM_NOTIFY_FILE_SIZE_IS] => 5
[STREAM_NOTIFY_REDIRECTED] => 6
[STREAM_NOTIFY_PROGRESS] => 7
[STREAM_NOTIFY_FAILURE] => 9
[STREAM_NOTIFY_COMPLETED] => 8
[STREAM_NOTIFY_RESOLVE] => 1
[STREAM_NOTIFY_SEVERITY_INFO] => 0
[STREAM_NOTIFY_SEVERITY_WARN] => 1
[STREAM_NOTIFY_SEVERITY_ERR] => 2
[STREAM_FILTER_READ] => 1
[STREAM_FILTER_WRITE] => 2
[STREAM_FILTER_ALL] => 3
[STREAM_CLIENT_PERSISTENT] => 1
[STREAM_CLIENT_ASYNC_CONNECT] => 2
[STREAM_CLIENT_CONNECT] => 4
[STREAM_CRYPTO_METHOD_SSLv2_CLIENT] => 0
[STREAM_CRYPTO_METHOD_SSLv3_CLIENT] => 1
[STREAM_CRYPTO_METHOD_SSLv23_CLIENT] => 2
[STREAM_CRYPTO_METHOD_TLS_CLIENT] => 3
[STREAM_CRYPTO_METHOD_SSLv2_SERVER] => 4
[STREAM_CRYPTO_METHOD_SSLv3_SERVER] => 5
[STREAM_CRYPTO_METHOD_SSLv23_SERVER] => 6
[STREAM_CRYPTO_METHOD_TLS_SERVER] => 7
[STREAM_SHUT_RD] => 0
[STREAM_SHUT_WR] => 1
[STREAM_SHUT_RDWR] => 2
[STREAM_PF_INET] => 2
[STREAM_PF_INET6] => 23
[STREAM_PF_UNIX] => 1
[STREAM_IPPROTO_IP] => 0
[STREAM_IPPROTO_TCP] => 6
[STREAM_IPPROTO_UDP] => 17
[STREAM_IPPROTO_ICMP] => 1
[STREAM_IPPROTO_RAW] => 255
[STREAM_SOCK_STREAM] => 1
[STREAM_SOCK_DGRAM] => 2
[STREAM_SOCK_RAW] => 3
[STREAM_SOCK_SEQPACKET] => 5
[STREAM_SOCK_RDM] => 4
[STREAM_PEEK] => 2
[STREAM_OOB] => 1
[STREAM_SERVER_BIND] => 4
[STREAM_SERVER_LISTEN] => 8
[FILE_USE_INCLUDE_PATH] => 1
[FILE_IGNORE_NEW_LINES] => 2
[FILE_SKIP_EMPTY_LINES] => 4
[FILE_APPEND] => 8
[FILE_NO_DEFAULT_CONTEXT] => 16
[PSFS_PASS_ON] => 2
[PSFS_FEED_ME] => 1
[PSFS_ERR_FATAL] => 0
[PSFS_FLAG_NORMAL] => 0
[PSFS_FLAG_FLUSH_INC] => 1
[PSFS_FLAG_FLUSH_CLOSE] => 2
[CRYPT_SALT_LENGTH] => 12
[CRYPT_STD_DES] => 1
[CRYPT_EXT_DES] => 0
[CRYPT_MD5] => 1
[CRYPT_BLOWFISH] => 0
[DIRECTORY_SEPARATOR] => \
[PATH_SEPARATOR] => ;
[GLOB_BRACE] => 128
[GLOB_MARK] => 8
[GLOB_NOSORT] => 32
[GLOB_NOCHECK] => 16
[GLOB_NOESCAPE] => 4096
[GLOB_ERR] => 4
[GLOB_ONLYDIR] => 1073741824
[LOG_EMERG] => 1
[LOG_ALERT] => 1
[LOG_CRIT] => 1
[LOG_ERR] => 4
[LOG_WARNING] => 5
[LOG_NOTICE] => 6
[LOG_INFO] => 6
[LOG_DEBUG] => 6
[LOG_KERN] => 0
[LOG_USER] => 8
[LOG_MAIL] => 16
[LOG_DAEMON] => 24
[LOG_AUTH] => 32
[LOG_SYSLOG] => 40
[LOG_LPR] => 48
[LOG_NEWS] => 56
[LOG_UUCP] => 64
[LOG_CRON] => 72
[LOG_AUTHPRIV] => 80
[LOG_PID] => 1
[LOG_CONS] => 2
[LOG_ODELAY] => 4
[LOG_NDELAY] => 8
[LOG_NOWAIT] => 16
[LOG_PERROR] => 32
[EXTR_OVERWRITE] => 0
[EXTR_SKIP] => 1
[EXTR_PREFIX_SAME] => 2
[EXTR_PREFIX_ALL] => 3
[EXTR_PREFIX_INVALID] => 4
[EXTR_PREFIX_IF_EXISTS] => 5
[EXTR_IF_EXISTS] => 6
[EXTR_REFS] => 256
[SORT_ASC] => 4
[SORT_DESC] => 3
[SORT_REGULAR] => 0
[SORT_NUMERIC] => 1
[SORT_STRING] => 2
[SORT_LOCALE_STRING] => 5
[CASE_LOWER] => 0
[CASE_UPPER] => 1
[COUNT_NORMAL] => 0
[COUNT_RECURSIVE] => 1
[ASSERT_ACTIVE] => 1
[ASSERT_CALLBACK] => 2
[ASSERT_BAIL] => 3
[ASSERT_WARNING] => 4
[ASSERT_QUIET_EVAL] => 5
[STREAM_USE_PATH] => 1
[STREAM_IGNORE_URL] => 2
[STREAM_ENFORCE_SAFE_MODE] => 4
[STREAM_REPORT_ERRORS] => 8
[STREAM_MUST_SEEK] => 16
[STREAM_URL_STAT_LINK] => 1
[STREAM_URL_STAT_QUIET] => 2
[STREAM_MKDIR_RECURSIVE] => 1
[IMAGETYPE_GIF] => 1
[IMAGETYPE_JPEG] => 2
[IMAGETYPE_PNG] => 3
[IMAGETYPE_SWF] => 4
[IMAGETYPE_PSD] => 5
[IMAGETYPE_BMP] => 6
[IMAGETYPE_TIFF_II] => 7
[IMAGETYPE_TIFF_MM] => 8
[IMAGETYPE_JPC] => 9
[IMAGETYPE_JP2] => 10
[IMAGETYPE_JPX] => 11
[IMAGETYPE_JB2] => 12
[IMAGETYPE_SWC] => 13
[IMAGETYPE_IFF] => 14
[IMAGETYPE_WBMP] => 15
[IMAGETYPE_JPEG2000] => 9
[IMAGETYPE_XBM] => 16
)
[tokenizer] => Array
(
[T_INCLUDE] => 262
[T_INCLUDE_ONCE] => 261
[T_EVAL] => 260
[T_REQUIRE] => 259
[T_REQUIRE_ONCE] => 258
[T_LOGICAL_OR] => 263
[T_LOGICAL_XOR] => 264
[T_LOGICAL_AND] => 265
[T_PRINT] => 266
[T_PLUS_EQUAL] => 277
[T_MINUS_EQUAL] => 276
[T_MUL_EQUAL] => 275
[T_DIV_EQUAL] => 274
[T_CONCAT_EQUAL] => 273
[T_MOD_EQUAL] => 272
[T_AND_EQUAL] => 271
[T_OR_EQUAL] => 270
[T_XOR_EQUAL] => 269
[T_SL_EQUAL] => 268
[T_SR_EQUAL] => 267
[T_BOOLEAN_OR] => 278
[T_BOOLEAN_AND] => 279
[T_IS_EQUAL] => 283
[T_IS_NOT_EQUAL] => 282
[T_IS_IDENTICAL] => 281
[T_IS_NOT_IDENTICAL] => 280
[T_IS_SMALLER_OR_EQUAL] => 285
[T_IS_GREATER_OR_EQUAL] => 284
[T_SL] => 287
[T_SR] => 286
[T_INC] => 297
[T_DEC] => 296
[T_INT_CAST] => 295
[T_DOUBLE_CAST] => 294
[T_STRING_CAST] => 293
[T_ARRAY_CAST] => 292
[T_OBJECT_CAST] => 291
[T_BOOL_CAST] => 290
[T_UNSET_CAST] => 289
[T_NEW] => 299
[T_EXIT] => 300
[T_IF] => 301
[T_ELSEIF] => 302
[T_ELSE] => 303
[T_ENDIF] => 304
[T_LNUMBER] => 305
[T_DNUMBER] => 306
[T_STRING] => 307
[T_STRING_VARNAME] => 308
[T_VARIABLE] => 309
[T_NUM_STRING] => 310
[T_INLINE_HTML] => 311
[T_CHARACTER] => 312
[T_BAD_CHARACTER] => 313
[T_ENCAPSED_AND_WHITESPACE] => 314
[T_CONSTANT_ENCAPSED_STRING] => 315
[T_ECHO] => 316
[T_DO] => 317
[T_WHILE] => 318
[T_ENDWHILE] => 319
[T_FOR] => 320
[T_ENDFOR] => 321
[T_FOREACH] => 322
[T_ENDFOREACH] => 323
[T_DECLARE] => 324
[T_ENDDECLARE] => 325
[T_AS] => 326
[T_SWITCH] => 327
[T_ENDSWITCH] => 328
[T_CASE] => 329
[T_DEFAULT] => 330
[T_BREAK] => 331
[T_CONTINUE] => 332
[T_FUNCTION] => 333
[T_CONST] => 334
[T_RETURN] => 335
[T_USE] => 339
[T_GLOBAL] => 340
[T_STATIC] => 346
[T_VAR] => 347
[T_UNSET] => 348
[T_ISSET] => 349
[T_EMPTY] => 350
[T_CLASS] => 352
[T_EXTENDS] => 354
[T_INTERFACE] => 353
[T_IMPLEMENTS] => 355
[T_OBJECT_OPERATOR] => 356
[T_DOUBLE_ARROW] => 357
[T_LIST] => 358
[T_ARRAY] => 359
[T_CLASS_C] => 360
[T_FUNC_C] => 362
[T_METHOD_C] => 361
[T_LINE] => 363
[T_FILE] => 364
[T_COMMENT] => 365
[T_DOC_COMMENT] => 366
[T_OPEN_TAG] => 367
[T_OPEN_TAG_WITH_ECHO] => 368
[T_CLOSE_TAG] => 369
[T_WHITESPACE] => 370
[T_START_HEREDOC] => 371
[T_END_HEREDOC] => 372
[T_DOLLAR_OPEN_CURLY_BRACES] => 373
[T_CURLY_OPEN] => 374
[T_PAAMAYIM_NEKUDOTAYIM] => 375
[T_DOUBLE_COLON] => 375
[T_ABSTRACT] => 345
[T_CATCH] => 337
[T_FINAL] => 344
[T_INSTANCEOF] => 288
[T_PRIVATE] => 343
[T_PROTECTED] => 342
[T_PUBLIC] => 341
[T_THROW] => 338
[T_TRY] => 336
[T_CLONE] => 298
[T_HALT_COMPILER] => 351
)
[zlib] => Array
(
[FORCE_GZIP] => 1
[FORCE_DEFLATE] => 2
)
[dom] => Array
(
[XML_ELEMENT_NODE] => 1
[XML_ATTRIBUTE_NODE] => 2
[XML_TEXT_NODE] => 3
[XML_CDATA_SECTION_NODE] => 4
[XML_ENTITY_REF_NODE] => 5
[XML_ENTITY_NODE] => 6
[XML_PI_NODE] => 7
[XML_COMMENT_NODE] => 8
[XML_DOCUMENT_NODE] => 9
[XML_DOCUMENT_TYPE_NODE] => 10
[XML_DOCUMENT_FRAG_NODE] => 11
[XML_NOTATION_NODE] => 12
[XML_HTML_DOCUMENT_NODE] => 13
[XML_DTD_NODE] => 14
[XML_ELEMENT_DECL_NODE] => 15
[XML_ATTRIBUTE_DECL_NODE] => 16
[XML_ENTITY_DECL_NODE] => 17
[XML_NAMESPACE_DECL_NODE] => 18
[XML_LOCAL_NAMESPACE] => 18
[XML_ATTRIBUTE_CDATA] => 1
[XML_ATTRIBUTE_ID] => 2
[XML_ATTRIBUTE_IDREF] => 3
[XML_ATTRIBUTE_IDREFS] => 4
[XML_ATTRIBUTE_ENTITY] => 6
[XML_ATTRIBUTE_NMTOKEN] => 7
[XML_ATTRIBUTE_NMTOKENS] => 8
[XML_ATTRIBUTE_ENUMERATION] => 9
[XML_ATTRIBUTE_NOTATION] => 10
[DOM_PHP_ERR] => 0
[DOM_INDEX_SIZE_ERR] => 1
[DOMSTRING_SIZE_ERR] => 2
[DOM_HIERARCHY_REQUEST_ERR] => 3
[DOM_WRONG_DOCUMENT_ERR] => 4
[DOM_INVALID_CHARACTER_ERR] => 5
[DOM_NO_DATA_ALLOWED_ERR] => 6
[DOM_NO_MODIFICATION_ALLOWED_ERR] => 7
[DOM_NOT_FOUND_ERR] => 8
[DOM_NOT_SUPPORTED_ERR] => 9
[DOM_INUSE_ATTRIBUTE_ERR] => 10
[DOM_INVALID_STATE_ERR] => 11
[DOM_SYNTAX_ERR] => 12
[DOM_INVALID_MODIFICATION_ERR] => 13
[DOM_NAMESPACE_ERR] => 14
[DOM_INVALID_ACCESS_ERR] => 15
[DOM_VALIDATION_ERR] => 16
)
[xml] => Array
(
[XML_ERROR_NONE] => 0
[XML_ERROR_NO_MEMORY] => 1
[XML_ERROR_SYNTAX] => 2
[XML_ERROR_NO_ELEMENTS] => 3
[XML_ERROR_INVALID_TOKEN] => 4
[XML_ERROR_UNCLOSED_TOKEN] => 5
[XML_ERROR_PARTIAL_CHAR] => 6
[XML_ERROR_TAG_MISMATCH] => 7
[XML_ERROR_DUPLICATE_ATTRIBUTE] => 8
[XML_ERROR_JUNK_AFTER_DOC_ELEMENT] => 9
[XML_ERROR_PARAM_ENTITY_REF] => 10
[XML_ERROR_UNDEFINED_ENTITY] => 11
[XML_ERROR_RECURSIVE_ENTITY_REF] => 12
[XML_ERROR_ASYNC_ENTITY] => 13
[XML_ERROR_BAD_CHAR_REF] => 14
[XML_ERROR_BINARY_ENTITY_REF] => 15
[XML_ERROR_ATTRIBUTE_EXTERNAL_ENTITY_REF] => 16
[XML_ERROR_MISPLACED_XML_PI] => 17
[XML_ERROR_UNKNOWN_ENCODING] => 18
[XML_ERROR_INCORRECT_ENCODING] => 19
[XML_ERROR_UNCLOSED_CDATA_SECTION] => 20
[XML_ERROR_EXTERNAL_ENTITY_HANDLING] => 21
[XML_OPTION_CASE_FOLDING] => 1
[XML_OPTION_TARGET_ENCODING] => 2
[XML_OPTION_SKIP_TAGSTART] => 3
[XML_OPTION_SKIP_WHITE] => 4
[XML_SAX_IMPL] => libxml
)
[mbstring] => Array
(
[MB_OVERLOAD_MAIL] => 1
[MB_OVERLOAD_STRING] => 2
[MB_OVERLOAD_REGEX] => 4
[MB_CASE_UPPER] => 0
[MB_CASE_LOWER] => 1
[MB_CASE_TITLE] => 2
)
[exif] => Array
(
[EXIF_USE_MBSTRING] => 1
)
)
D:\Z>
D:\Z>
D:\Z>php example.php > out.html
D:\Z>
Array
(
[internal] => Array
(
[E_ERROR] => 1
[E_RECOVERABLE_ERROR] => 4096
[E_WARNING] => 2
[E_PARSE] => 4
[E_NOTICE] => 8
[E_STRICT] => 2048
[E_CORE_ERROR] => 16
[E_CORE_WARNING] => 32
[E_COMPILE_ERROR] => 64
[E_COMPILE_WARNING] => 128
[E_USER_ERROR] => 256
[E_USER_WARNING] => 512
[E_USER_NOTICE] => 1024
[E_ALL] => 6143
[TRUE] => 1
[FALSE] =>
[NULL] =>
[ZEND_THREAD_SAFE] => 1
[PHP_VERSION] => 5.2.1
[PHP_OS] => WINNT
[PHP_SAPI] => cli
[DEFAULT_INCLUDE_PATH] => .;C:\php5\pear
[PEAR_INSTALL_DIR] => C:\php5\pear
[PEAR_EXTENSION_DIR] => C:\php5
[PHP_EXTENSION_DIR] => C:\php5
[PHP_PREFIX] => C:\php5
[PHP_BINDIR] => C:\php5
[PHP_LIBDIR] => C:\php5
[PHP_DATADIR] => C:\php5
[PHP_SYSCONFDIR] => C:\php5
[PHP_LOCALSTATEDIR] => C:\php5
[PHP_CONFIG_FILE_PATH] => C:\WINNT
[PHP_CONFIG_FILE_SCAN_DIR] =>
[PHP_SHLIB_SUFFIX] => dll
[PHP_EOL] =>
[PHP_INT_MAX] => 2147483647
[PHP_INT_SIZE] => 4
[PHP_OUTPUT_HANDLER_START] => 1
[PHP_OUTPUT_HANDLER_CONT] => 2
[PHP_OUTPUT_HANDLER_END] => 4
[UPLOAD_ERR_OK] => 0
[UPLOAD_ERR_INI_SIZE] => 1
[UPLOAD_ERR_FORM_SIZE] => 2
[UPLOAD_ERR_PARTIAL] => 3
[UPLOAD_ERR_NO_FILE] => 4
[UPLOAD_ERR_NO_TMP_DIR] => 6
[UPLOAD_ERR_CANT_WRITE] => 7
[UPLOAD_ERR_EXTENSION] => 8
[STDIN] => Resource id #1
[STDOUT] => Resource id #2
[STDERR] => Resource id #3
)
[calendar] => Array
(
[CAL_GREGORIAN] => 0
[CAL_JULIAN] => 1
[CAL_JEWISH] => 2
[CAL_FRENCH] => 3
[CAL_NUM_CALS] => 4
[CAL_DOW_DAYNO] => 0
[CAL_DOW_SHORT] => 1
[CAL_DOW_LONG] => 2
[CAL_MONTH_GREGORIAN_SHORT] => 0
[CAL_MONTH_GREGORIAN_LONG] => 1
[CAL_MONTH_JULIAN_SHORT] => 2
[CAL_MONTH_JULIAN_LONG] => 3
[CAL_MONTH_JEWISH] => 4
[CAL_MONTH_FRENCH] => 5
[CAL_EASTER_DEFAULT] => 0
[CAL_EASTER_ROMAN] => 1
[CAL_EASTER_ALWAYS_GREGORIAN] => 2
[CAL_EASTER_ALWAYS_JULIAN] => 3
[CAL_JEWISH_ADD_ALAFIM_GERESH] => 2
[CAL_JEWISH_ADD_ALAFIM] => 4
[CAL_JEWISH_ADD_GERESHAYIM] => 8
)
[com_dotnet] => Array
(
[CLSCTX_INPROC_SERVER] => 1
[CLSCTX_INPROC_HANDLER] => 2
[CLSCTX_LOCAL_SERVER] => 4
[CLSCTX_REMOTE_SERVER] => 16
[CLSCTX_SERVER] => 21
[CLSCTX_ALL] => 23
[VT_NULL] => 1
[VT_EMPTY] => 0
[VT_UI1] => 17
[VT_I1] => 16
[VT_UI2] => 18
[VT_I2] => 2
[VT_UI4] => 19
[VT_I4] => 3
[VT_R4] => 4
[VT_R8] => 5
[VT_BOOL] => 11
[VT_ERROR] => 10
[VT_CY] => 6
[VT_DATE] => 7
[VT_BSTR] => 8
[VT_DECIMAL] => 14
[VT_UNKNOWN] => 13
[VT_DISPATCH] => 9
[VT_VARIANT] => 12
[VT_INT] => 22
[VT_UINT] => 23
[VT_ARRAY] => 8192
[VT_BYREF] => 16384
[CP_ACP] => 0
[CP_MACCP] => 2
[CP_OEMCP] => 1
[CP_UTF7] => 65000
[CP_UTF8] => 65001
[CP_SYMBOL] => 42
[CP_THREAD_ACP] => 3
[VARCMP_LT] => 0
[VARCMP_EQ] => 1
[VARCMP_GT] => 2
[VARCMP_NULL] => 3
[NORM_IGNORECASE] => 1
[NORM_IGNORENONSPACE] => 2
[NORM_IGNORESYMBOLS] => 4
[NORM_IGNOREWIDTH] => 131072
[NORM_IGNOREKANATYPE] => 65536
[DISP_E_DIVBYZERO] => -2147352558
[DISP_E_OVERFLOW] => -2147352566
[DISP_E_BADINDEX] => -2147352565
[MK_E_UNAVAILABLE] => -2147221021
)
[filter] => Array
(
[INPUT_POST] => 0
[INPUT_GET] => 1
[INPUT_COOKIE] => 2
[INPUT_ENV] => 4
[INPUT_SERVER] => 5
[INPUT_SESSION] => 6
[INPUT_REQUEST] => 99
[FILTER_FLAG_NONE] => 0
[FILTER_REQUIRE_SCALAR] => 33554432
[FILTER_REQUIRE_ARRAY] => 16777216
[FILTER_FORCE_ARRAY] => 67108864
[FILTER_NULL_ON_FAILURE] => 134217728
[FILTER_VALIDATE_INT] => 257
[FILTER_VALIDATE_BOOLEAN] => 258
[FILTER_VALIDATE_FLOAT] => 259
[FILTER_VALIDATE_REGEXP] => 272
[FILTER_VALIDATE_URL] => 273
[FILTER_VALIDATE_EMAIL] => 274
[FILTER_VALIDATE_IP] => 275
[FILTER_DEFAULT] => 516
[FILTER_UNSAFE_RAW] => 516
[FILTER_SANITIZE_STRING] => 513
[FILTER_SANITIZE_STRIPPED] => 513
[FILTER_SANITIZE_ENCODED] => 514
[FILTER_SANITIZE_SPECIAL_CHARS] => 515
[FILTER_SANITIZE_EMAIL] => 517
[FILTER_SANITIZE_URL] => 518
[FILTER_SANITIZE_NUMBER_INT] => 519
[FILTER_SANITIZE_NUMBER_FLOAT] => 520
[FILTER_SANITIZE_MAGIC_QUOTES] => 521
[FILTER_CALLBACK] => 1024
[FILTER_FLAG_ALLOW_OCTAL] => 1
[FILTER_FLAG_ALLOW_HEX] => 2
[FILTER_FLAG_STRIP_LOW] => 4
[FILTER_FLAG_STRIP_HIGH] => 8
[FILTER_FLAG_ENCODE_LOW] => 16
[FILTER_FLAG_ENCODE_HIGH] => 32
[FILTER_FLAG_ENCODE_AMP] => 64
[FILTER_FLAG_NO_ENCODE_QUOTES] => 128
[FILTER_FLAG_EMPTY_STRING_NULL] => 256
[FILTER_FLAG_ALLOW_FRACTION] => 4096
[FILTER_FLAG_ALLOW_THOUSAND] => 8192
[FILTER_FLAG_ALLOW_SCIENTIFIC] => 16384
[FILTER_FLAG_SCHEME_REQUIRED] => 65536
[FILTER_FLAG_HOST_REQUIRED] => 131072
[FILTER_FLAG_PATH_REQUIRED] => 262144
[FILTER_FLAG_QUERY_REQUIRED] => 524288
[FILTER_FLAG_IPV4] => 1048576
[FILTER_FLAG_IPV6] => 2097152
[FILTER_FLAG_NO_RES_RANGE] => 4194304
[FILTER_FLAG_NO_PRIV_RANGE] => 8388608
)
[ftp] => Array
(
[FTP_ASCII] => 1
[FTP_TEXT] => 1
[FTP_BINARY] => 2
[FTP_IMAGE] => 2
[FTP_AUTORESUME] => -1
[FTP_TIMEOUT_SEC] => 0
[FTP_AUTOSEEK] => 1
[FTP_FAILED] => 0
[FTP_FINISHED] => 1
[FTP_MOREDATA] => 2
)
[hash] => Array
(
[HASH_HMAC] => 1
)
[iconv] => Array
(
[ICONV_IMPL] => "libiconv"
[ICONV_VERSION] => 1.9
[ICONV_MIME_DECODE_STRICT] => 1
[ICONV_MIME_DECODE_CONTINUE_ON_ERROR] => 2
)
[odbc] => Array
(
[ODBC_TYPE] => Win32
[ODBC_BINMODE_PASSTHRU] => 0
[ODBC_BINMODE_RETURN] => 1
[ODBC_BINMODE_CONVERT] => 2
[SQL_ODBC_CURSORS] => 110
[SQL_CUR_USE_DRIVER] => 2
[SQL_CUR_USE_IF_NEEDED] => 0
[SQL_CUR_USE_ODBC] => 1
[SQL_CONCURRENCY] => 7
[SQL_CONCUR_READ_ONLY] => 1
[SQL_CONCUR_LOCK] => 2
[SQL_CONCUR_ROWVER] => 3
[SQL_CONCUR_VALUES] => 4
[SQL_CURSOR_TYPE] => 6
[SQL_CURSOR_FORWARD_ONLY] => 0
[SQL_CURSOR_KEYSET_DRIVEN] => 1
[SQL_CURSOR_DYNAMIC] => 2
[SQL_CURSOR_STATIC] => 3
[SQL_KEYSET_SIZE] => 8
[SQL_FETCH_FIRST] => 2
[SQL_FETCH_NEXT] => 1
[SQL_CHAR] => 1
[SQL_VARCHAR] => 12
[SQL_LONGVARCHAR] => -1
[SQL_DECIMAL] => 3
[SQL_NUMERIC] => 2
[SQL_BIT] => -7
[SQL_TINYINT] => -6
[SQL_SMALLINT] => 5
[SQL_INTEGER] => 4
[SQL_BIGINT] => -5
[SQL_REAL] => 7
[SQL_FLOAT] => 6
[SQL_DOUBLE] => 8
[SQL_BINARY] => -2
[SQL_VARBINARY] => -3
[SQL_LONGVARBINARY] => -4
[SQL_DATE] => 9
[SQL_TIME] => 10
[SQL_TIMESTAMP] => 11
)
[pcre] => Array
(
[PREG_PATTERN_ORDER] => 1
[PREG_SET_ORDER] => 2
[PREG_OFFSET_CAPTURE] => 256
[PREG_SPLIT_NO_EMPTY] => 1
[PREG_SPLIT_DELIM_CAPTURE] => 2
[PREG_SPLIT_OFFSET_CAPTURE] => 4
[PREG_GREP_INVERT] => 1
[PREG_NO_ERROR] => 0
[PREG_INTERNAL_ERROR] => 1
[PREG_BACKTRACK_LIMIT_ERROR] => 2
[PREG_RECURSION_LIMIT_ERROR] => 3
[PREG_BAD_UTF8_ERROR] => 4
)
[session] => Array
(
[DATE_ATOM] => Y-m-d\TH:i:sP
[DATE_COOKIE] => l, d-M-y H:i:s T
[DATE_ISO8601] => Y-m-d\TH:i:sO
[DATE_RFC822] => D, d M y H:i:s O
[DATE_RFC850] => l, d-M-y H:i:s T
[DATE_RFC1036] => D, d M y H:i:s O
[DATE_RFC1123] => D, d M Y H:i:s O
[DATE_RFC2822] => D, d M Y H:i:s O
[DATE_RFC3339] => Y-m-d\TH:i:sP
[DATE_RSS] => D, d M Y H:i:s O
[DATE_W3C] => Y-m-d\TH:i:sP
[SUNFUNCS_RET_TIMESTAMP] => 0
[SUNFUNCS_RET_STRING] => 1
[SUNFUNCS_RET_DOUBLE] => 2
)
[SimpleXML] => Array
(
[LIBXML_VERSION] => 20626
[LIBXML_DOTTED_VERSION] => 2.6.26
[LIBXML_NOENT] => 2
[LIBXML_DTDLOAD] => 4
[LIBXML_DTDATTR] => 8
[LIBXML_DTDVALID] => 16
[LIBXML_NOERROR] => 32
[LIBXML_NOWARNING] => 64
[LIBXML_NOBLANKS] => 256
[LIBXML_XINCLUDE] => 1024
[LIBXML_NSCLEAN] => 8192
[LIBXML_NOCDATA] => 16384
[LIBXML_NONET] => 2048
[LIBXML_COMPACT] => 65536
[LIBXML_NOXMLDECL] => 2
[LIBXML_NOEMPTYTAG] => 4
[LIBXML_ERR_NONE] => 0
[LIBXML_ERR_WARNING] => 1
[LIBXML_ERR_ERROR] => 2
[LIBXML_ERR_FATAL] => 3
)
[standard] => Array
(
[CONNECTION_ABORTED] => 1
[CONNECTION_NORMAL] => 0
[CONNECTION_TIMEOUT] => 2
[INI_USER] => 1
[INI_PERDIR] => 2
[INI_SYSTEM] => 4
[INI_ALL] => 7
[PHP_URL_SCHEME] => 0
[PHP_URL_HOST] => 1
[PHP_URL_PORT] => 2
[PHP_URL_USER] => 3
[PHP_URL_PASS] => 4
[PHP_URL_PATH] => 5
[PHP_URL_QUERY] => 6
[PHP_URL_FRAGMENT] => 7
[M_E] => 2.718281828459
[M_LOG2E] => 1.442695040889
[M_LOG10E] => 0.43429448190325
[M_LN2] => 0.69314718055995
[M_LN10] => 2.302585092994
[M_PI] => 3.1415926535898
[M_PI_2] => 1.5707963267949
[M_PI_4] => 0.78539816339745
[M_1_PI] => 0.31830988618379
[M_2_PI] => 0.63661977236758
[M_SQRTPI] => 1.7724538509055
[M_2_SQRTPI] => 1.1283791670955
[M_LNPI] => 1.1447298858494
[M_EULER] => 0.57721566490153
[M_SQRT2] => 1.4142135623731
[M_SQRT1_2] => 0.70710678118655
[M_SQRT3] => 1.7320508075689
[INF] => 1.#INF
[NAN] => 0
[INFO_GENERAL] => 1
[INFO_CREDITS] => 2
[INFO_CONFIGURATION] => 4
[INFO_MODULES] => 8
[INFO_ENVIRONMENT] => 16
[INFO_VARIABLES] => 32
[INFO_LICENSE] => 64
[INFO_ALL] => -1
[CREDITS_GROUP] => 1
[CREDITS_GENERAL] => 2
[CREDITS_SAPI] => 4
[CREDITS_MODULES] => 8
[CREDITS_DOCS] => 16
[CREDITS_FULLPAGE] => 32
[CREDITS_QA] => 64
[CREDITS_ALL] => -1
[HTML_SPECIALCHARS] => 0
[HTML_ENTITIES] => 1
[ENT_COMPAT] => 2
[ENT_QUOTES] => 3
[ENT_NOQUOTES] => 0
[STR_PAD_LEFT] => 0
[STR_PAD_RIGHT] => 1
[STR_PAD_BOTH] => 2
[PATHINFO_DIRNAME] => 1
[PATHINFO_BASENAME] => 2
[PATHINFO_EXTENSION] => 4
[PATHINFO_FILENAME] => 8
[CHAR_MAX] => 127
[LC_CTYPE] => 2
[LC_NUMERIC] => 4
[LC_TIME] => 5
[LC_COLLATE] => 1
[LC_MONETARY] => 3
[LC_ALL] => 0
[SEEK_SET] => 0
[SEEK_CUR] => 1
[SEEK_END] => 2
[LOCK_SH] => 1
[LOCK_EX] => 2
[LOCK_UN] => 3
[LOCK_NB] => 4
[STREAM_NOTIFY_CONNECT] => 2
[STREAM_NOTIFY_AUTH_REQUIRED] => 3
[STREAM_NOTIFY_AUTH_RESULT] => 10
[STREAM_NOTIFY_MIME_TYPE_IS] => 4
[STREAM_NOTIFY_FILE_SIZE_IS] => 5
[STREAM_NOTIFY_REDIRECTED] => 6
[STREAM_NOTIFY_PROGRESS] => 7
[STREAM_NOTIFY_FAILURE] => 9
[STREAM_NOTIFY_COMPLETED] => 8
[STREAM_NOTIFY_RESOLVE] => 1
[STREAM_NOTIFY_SEVERITY_INFO] => 0
[STREAM_NOTIFY_SEVERITY_WARN] => 1
[STREAM_NOTIFY_SEVERITY_ERR] => 2
[STREAM_FILTER_READ] => 1
[STREAM_FILTER_WRITE] => 2
[STREAM_FILTER_ALL] => 3
[STREAM_CLIENT_PERSISTENT] => 1
[STREAM_CLIENT_ASYNC_CONNECT] => 2
[STREAM_CLIENT_CONNECT] => 4
[STREAM_CRYPTO_METHOD_SSLv2_CLIENT] => 0
[STREAM_CRYPTO_METHOD_SSLv3_CLIENT] => 1
[STREAM_CRYPTO_METHOD_SSLv23_CLIENT] => 2
[STREAM_CRYPTO_METHOD_TLS_CLIENT] => 3
[STREAM_CRYPTO_METHOD_SSLv2_SERVER] => 4
[STREAM_CRYPTO_METHOD_SSLv3_SERVER] => 5
[STREAM_CRYPTO_METHOD_SSLv23_SERVER] => 6
[STREAM_CRYPTO_METHOD_TLS_SERVER] => 7
[STREAM_SHUT_RD] => 0
[STREAM_SHUT_WR] => 1
[STREAM_SHUT_RDWR] => 2
[STREAM_PF_INET] => 2
[STREAM_PF_INET6] => 23
[STREAM_PF_UNIX] => 1
[STREAM_IPPROTO_IP] => 0
[STREAM_IPPROTO_TCP] => 6
[STREAM_IPPROTO_UDP] => 17
[STREAM_IPPROTO_ICMP] => 1
[STREAM_IPPROTO_RAW] => 255
[STREAM_SOCK_STREAM] => 1
[STREAM_SOCK_DGRAM] => 2
[STREAM_SOCK_RAW] => 3
[STREAM_SOCK_SEQPACKET] => 5
[STREAM_SOCK_RDM] => 4
[STREAM_PEEK] => 2
[STREAM_OOB] => 1
[STREAM_SERVER_BIND] => 4
[STREAM_SERVER_LISTEN] => 8
[FILE_USE_INCLUDE_PATH] => 1
[FILE_IGNORE_NEW_LINES] => 2
[FILE_SKIP_EMPTY_LINES] => 4
[FILE_APPEND] => 8
[FILE_NO_DEFAULT_CONTEXT] => 16
[PSFS_PASS_ON] => 2
[PSFS_FEED_ME] => 1
[PSFS_ERR_FATAL] => 0
[PSFS_FLAG_NORMAL] => 0
[PSFS_FLAG_FLUSH_INC] => 1
[PSFS_FLAG_FLUSH_CLOSE] => 2
[CRYPT_SALT_LENGTH] => 12
[CRYPT_STD_DES] => 1
[CRYPT_EXT_DES] => 0
[CRYPT_MD5] => 1
[CRYPT_BLOWFISH] => 0
[DIRECTORY_SEPARATOR] => \
[PATH_SEPARATOR] => ;
[GLOB_BRACE] => 128
[GLOB_MARK] => 8
[GLOB_NOSORT] => 32
[GLOB_NOCHECK] => 16
[GLOB_NOESCAPE] => 4096
[GLOB_ERR] => 4
[GLOB_ONLYDIR] => 1073741824
[LOG_EMERG] => 1
[LOG_ALERT] => 1
[LOG_CRIT] => 1
[LOG_ERR] => 4
[LOG_WARNING] => 5
[LOG_NOTICE] => 6
[LOG_INFO] => 6
[LOG_DEBUG] => 6
[LOG_KERN] => 0
[LOG_USER] => 8
[LOG_MAIL] => 16
[LOG_DAEMON] => 24
[LOG_AUTH] => 32
[LOG_SYSLOG] => 40
[LOG_LPR] => 48
[LOG_NEWS] => 56
[LOG_UUCP] => 64
[LOG_CRON] => 72
[LOG_AUTHPRIV] => 80
[LOG_PID] => 1
[LOG_CONS] => 2
[LOG_ODELAY] => 4
[LOG_NDELAY] => 8
[LOG_NOWAIT] => 16
[LOG_PERROR] => 32
[EXTR_OVERWRITE] => 0
[EXTR_SKIP] => 1
[EXTR_PREFIX_SAME] => 2
[EXTR_PREFIX_ALL] => 3
[EXTR_PREFIX_INVALID] => 4
[EXTR_PREFIX_IF_EXISTS] => 5
[EXTR_IF_EXISTS] => 6
[EXTR_REFS] => 256
[SORT_ASC] => 4
[SORT_DESC] => 3
[SORT_REGULAR] => 0
[SORT_NUMERIC] => 1
[SORT_STRING] => 2
[SORT_LOCALE_STRING] => 5
[CASE_LOWER] => 0
[CASE_UPPER] => 1
[COUNT_NORMAL] => 0
[COUNT_RECURSIVE] => 1
[ASSERT_ACTIVE] => 1
[ASSERT_CALLBACK] => 2
[ASSERT_BAIL] => 3
[ASSERT_WARNING] => 4
[ASSERT_QUIET_EVAL] => 5
[STREAM_USE_PATH] => 1
[STREAM_IGNORE_URL] => 2
[STREAM_ENFORCE_SAFE_MODE] => 4
[STREAM_REPORT_ERRORS] => 8
[STREAM_MUST_SEEK] => 16
[STREAM_URL_STAT_LINK] => 1
[STREAM_URL_STAT_QUIET] => 2
[STREAM_MKDIR_RECURSIVE] => 1
[IMAGETYPE_GIF] => 1
[IMAGETYPE_JPEG] => 2
[IMAGETYPE_PNG] => 3
[IMAGETYPE_SWF] => 4
[IMAGETYPE_PSD] => 5
[IMAGETYPE_BMP] => 6
[IMAGETYPE_TIFF_II] => 7
[IMAGETYPE_TIFF_MM] => 8
[IMAGETYPE_JPC] => 9
[IMAGETYPE_JP2] => 10
[IMAGETYPE_JPX] => 11
[IMAGETYPE_JB2] => 12
[IMAGETYPE_SWC] => 13
[IMAGETYPE_IFF] => 14
[IMAGETYPE_WBMP] => 15
[IMAGETYPE_JPEG2000] => 9
[IMAGETYPE_XBM] => 16
)
[tokenizer] => Array
(
[T_INCLUDE] => 262
[T_INCLUDE_ONCE] => 261
[T_EVAL] => 260
[T_REQUIRE] => 259
[T_REQUIRE_ONCE] => 258
[T_LOGICAL_OR] => 263
[T_LOGICAL_XOR] => 264
[T_LOGICAL_AND] => 265
[T_PRINT] => 266
[T_PLUS_EQUAL] => 277
[T_MINUS_EQUAL] => 276
[T_MUL_EQUAL] => 275
[T_DIV_EQUAL] => 274
[T_CONCAT_EQUAL] => 273
[T_MOD_EQUAL] => 272
[T_AND_EQUAL] => 271
[T_OR_EQUAL] => 270
[T_XOR_EQUAL] => 269
[T_SL_EQUAL] => 268
[T_SR_EQUAL] => 267
[T_BOOLEAN_OR] => 278
[T_BOOLEAN_AND] => 279
[T_IS_EQUAL] => 283
[T_IS_NOT_EQUAL] => 282
[T_IS_IDENTICAL] => 281
[T_IS_NOT_IDENTICAL] => 280
[T_IS_SMALLER_OR_EQUAL] => 285
[T_IS_GREATER_OR_EQUAL] => 284
[T_SL] => 287
[T_SR] => 286
[T_INC] => 297
[T_DEC] => 296
[T_INT_CAST] => 295
[T_DOUBLE_CAST] => 294
[T_STRING_CAST] => 293
[T_ARRAY_CAST] => 292
[T_OBJECT_CAST] => 291
[T_BOOL_CAST] => 290
[T_UNSET_CAST] => 289
[T_NEW] => 299
[T_EXIT] => 300
[T_IF] => 301
[T_ELSEIF] => 302
[T_ELSE] => 303
[T_ENDIF] => 304
[T_LNUMBER] => 305
[T_DNUMBER] => 306
[T_STRING] => 307
[T_STRING_VARNAME] => 308
[T_VARIABLE] => 309
[T_NUM_STRING] => 310
[T_INLINE_HTML] => 311
[T_CHARACTER] => 312
[T_BAD_CHARACTER] => 313
[T_ENCAPSED_AND_WHITESPACE] => 314
[T_CONSTANT_ENCAPSED_STRING] => 315
[T_ECHO] => 316
[T_DO] => 317
[T_WHILE] => 318
[T_ENDWHILE] => 319
[T_FOR] => 320
[T_ENDFOR] => 321
[T_FOREACH] => 322
[T_ENDFOREACH] => 323
[T_DECLARE] => 324
[T_ENDDECLARE] => 325
[T_AS] => 326
[T_SWITCH] => 327
[T_ENDSWITCH] => 328
[T_CASE] => 329
[T_DEFAULT] => 330
[T_BREAK] => 331
[T_CONTINUE] => 332
[T_FUNCTION] => 333
[T_CONST] => 334
[T_RETURN] => 335
[T_USE] => 339
[T_GLOBAL] => 340
[T_STATIC] => 346
[T_VAR] => 347
[T_UNSET] => 348
[T_ISSET] => 349
[T_EMPTY] => 350
[T_CLASS] => 352
[T_EXTENDS] => 354
[T_INTERFACE] => 353
[T_IMPLEMENTS] => 355
[T_OBJECT_OPERATOR] => 356
[T_DOUBLE_ARROW] => 357
[T_LIST] => 358
[T_ARRAY] => 359
[T_CLASS_C] => 360
[T_FUNC_C] => 362
[T_METHOD_C] => 361
[T_LINE] => 363
[T_FILE] => 364
[T_COMMENT] => 365
[T_DOC_COMMENT] => 366
[T_OPEN_TAG] => 367
[T_OPEN_TAG_WITH_ECHO] => 368
[T_CLOSE_TAG] => 369
[T_WHITESPACE] => 370
[T_START_HEREDOC] => 371
[T_END_HEREDOC] => 372
[T_DOLLAR_OPEN_CURLY_BRACES] => 373
[T_CURLY_OPEN] => 374
[T_PAAMAYIM_NEKUDOTAYIM] => 375
[T_DOUBLE_COLON] => 375
[T_ABSTRACT] => 345
[T_CATCH] => 337
[T_FINAL] => 344
[T_INSTANCEOF] => 288
[T_PRIVATE] => 343
[T_PROTECTED] => 342
[T_PUBLIC] => 341
[T_THROW] => 338
[T_TRY] => 336
[T_CLONE] => 298
[T_HALT_COMPILER] => 351
)
[zlib] => Array
(
[FORCE_GZIP] => 1
[FORCE_DEFLATE] => 2
)
[dom] => Array
(
[XML_ELEMENT_NODE] => 1
[XML_ATTRIBUTE_NODE] => 2
[XML_TEXT_NODE] => 3
[XML_CDATA_SECTION_NODE] => 4
[XML_ENTITY_REF_NODE] => 5
[XML_ENTITY_NODE] => 6
[XML_PI_NODE] => 7
[XML_COMMENT_NODE] => 8
[XML_DOCUMENT_NODE] => 9
[XML_DOCUMENT_TYPE_NODE] => 10
[XML_DOCUMENT_FRAG_NODE] => 11
[XML_NOTATION_NODE] => 12
[XML_HTML_DOCUMENT_NODE] => 13
[XML_DTD_NODE] => 14
[XML_ELEMENT_DECL_NODE] => 15
[XML_ATTRIBUTE_DECL_NODE] => 16
[XML_ENTITY_DECL_NODE] => 17
[XML_NAMESPACE_DECL_NODE] => 18
[XML_LOCAL_NAMESPACE] => 18
[XML_ATTRIBUTE_CDATA] => 1
[XML_ATTRIBUTE_ID] => 2
[XML_ATTRIBUTE_IDREF] => 3
[XML_ATTRIBUTE_IDREFS] => 4
[XML_ATTRIBUTE_ENTITY] => 6
[XML_ATTRIBUTE_NMTOKEN] => 7
[XML_ATTRIBUTE_NMTOKENS] => 8
[XML_ATTRIBUTE_ENUMERATION] => 9
[XML_ATTRIBUTE_NOTATION] => 10
[DOM_PHP_ERR] => 0
[DOM_INDEX_SIZE_ERR] => 1
[DOMSTRING_SIZE_ERR] => 2
[DOM_HIERARCHY_REQUEST_ERR] => 3
[DOM_WRONG_DOCUMENT_ERR] => 4
[DOM_INVALID_CHARACTER_ERR] => 5
[DOM_NO_DATA_ALLOWED_ERR] => 6
[DOM_NO_MODIFICATION_ALLOWED_ERR] => 7
[DOM_NOT_FOUND_ERR] => 8
[DOM_NOT_SUPPORTED_ERR] => 9
[DOM_INUSE_ATTRIBUTE_ERR] => 10
[DOM_INVALID_STATE_ERR] => 11
[DOM_SYNTAX_ERR] => 12
[DOM_INVALID_MODIFICATION_ERR] => 13
[DOM_NAMESPACE_ERR] => 14
[DOM_INVALID_ACCESS_ERR] => 15
[DOM_VALIDATION_ERR] => 16
)
[xml] => Array
(
[XML_ERROR_NONE] => 0
[XML_ERROR_NO_MEMORY] => 1
[XML_ERROR_SYNTAX] => 2
[XML_ERROR_NO_ELEMENTS] => 3
[XML_ERROR_INVALID_TOKEN] => 4
[XML_ERROR_UNCLOSED_TOKEN] => 5
[XML_ERROR_PARTIAL_CHAR] => 6
[XML_ERROR_TAG_MISMATCH] => 7
[XML_ERROR_DUPLICATE_ATTRIBUTE] => 8
[XML_ERROR_JUNK_AFTER_DOC_ELEMENT] => 9
[XML_ERROR_PARAM_ENTITY_REF] => 10
[XML_ERROR_UNDEFINED_ENTITY] => 11
[XML_ERROR_RECURSIVE_ENTITY_REF] => 12
[XML_ERROR_ASYNC_ENTITY] => 13
[XML_ERROR_BAD_CHAR_REF] => 14
[XML_ERROR_BINARY_ENTITY_REF] => 15
[XML_ERROR_ATTRIBUTE_EXTERNAL_ENTITY_REF] => 16
[XML_ERROR_MISPLACED_XML_PI] => 17
[XML_ERROR_UNKNOWN_ENCODING] => 18
[XML_ERROR_INCORRECT_ENCODING] => 19
[XML_ERROR_UNCLOSED_CDATA_SECTION] => 20
[XML_ERROR_EXTERNAL_ENTITY_HANDLING] => 21
[XML_OPTION_CASE_FOLDING] => 1
[XML_OPTION_TARGET_ENCODING] => 2
[XML_OPTION_SKIP_TAGSTART] => 3
[XML_OPTION_SKIP_WHITE] => 4
[XML_SAX_IMPL] => libxml
)
[mbstring] => Array
(
[MB_OVERLOAD_MAIL] => 1
[MB_OVERLOAD_STRING] => 2
[MB_OVERLOAD_REGEX] => 4
[MB_CASE_UPPER] => 0
[MB_CASE_LOWER] => 1
[MB_CASE_TITLE] => 2
)
[exif] => Array
(
[EXIF_USE_MBSTRING] => 1
)
)
D:\Z>
D:\Z>
D:\Z>php example.php > out.html
D:\Z>
다음의 소스로 위의 목록을 구할 수 있습니다: ▶▶ PHP 예제] 모든 상수 목록 출력 함수; Dump All Constant Function
▶▶ PHP 예제] 상수 정의 / 선언 방법; Define Constant
tag: php
PHP
<< Home