smilefish1987 / blogs

the blogs of me
1 stars 0 forks source link

PHP 内核预定义常量和魔术常量 #4

Open smilefish1987 opened 9 years ago

smilefish1987 commented 9 years ago

PHP 内核预定义常量和魔术常量


echo PHP_VERSION,"\n";

echo PHP_OS,"\n";

echo PHP_SAPI,"\n";

echo PHP_EOL,"\n";

echo PHP_INT_MAX,PHP_EOL;

echo PHP_INT_SIZE,PHP_EOL;

echo DEFAULT_INCLUDE_PATH,PHP_EOL;

echo PEAR_INSTALL_DIR,PHP_EOL;

echo PEAR_EXTENSION_DIR,PHP_EOL;

echo PHP_EXTENSION_DIR,PHP_EOL;

echo PHP_PREFIX,PHP_EOL;

echo PHP_BINDIR,PHP_EOL;

echo PHP_LIBDIR,PHP_EOL;

echo PHP_DATADIR,PHP_EOL;

echo PHP_SYSCONFDIR,PHP_EOL;

echo PHP_LOCALSTATEDIR,PHP_EOL;

echo PHP_CONFIG_FILE_PATH,PHP_EOL;

echo PHP_CONFIG_FILE_SCAN_DIR,PHP_EOL;

echo PHP_SHLIB_SUFFIX,PHP_EOL;

echo PHP_OUTPUT_HANDLER_START,PHP_EOL;

echo PHP_OUTPUT_HANDLER_CONT,PHP_EOL;

echo PHP_OUTPUT_HANDLER_END,PHP_EOL;

echo E_ERROR,PHP_EOL;

echo E_WARNING,PHP_EOL;

echo E_PARSE,PHP_EOL;

echo E_NOTICE,PHP_EOL;

echo E_CORE_ERROR,PHP_EOL;

echo E_CORE_WARNING,PHP_EOL;

echo E_COMPILE_ERROR,PHP_EOL;

echo E_COMPILE_WARNING,PHP_EOL;

echo E_USER_ERROR,PHP_EOL;

echo E_USER_NOTICE,PHP_EOL;

echo E_USER_WARNING,PHP_EOL;

echo E_ALL,PHP_EOL;

echo E_STRICT,PHP_EOL;

echo __LINE__,PHP_EOL;

echo __FILE__,PHP_EOL;

echo __DIR__,PHP_EOL;

echo __FUNCTION__,PHP_EOL;

echo __CLASS__,PHP_EOL;

echo __TRAIT__,PHP_EOL;

echo __METHOD__,PHP_EOL;

echo __NAMESPACE__,PHP_EOL;