3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $constants = get_defined_constants(true); $core_keys = array_keys($constants["Core"]); sort($core_keys); print_r($core_keys);
Output for 7.2.0
Array ( [0] => DEBUG_BACKTRACE_IGNORE_ARGS [1] => DEBUG_BACKTRACE_PROVIDE_OBJECT [2] => DEFAULT_INCLUDE_PATH [3] => E_ALL [4] => E_COMPILE_ERROR [5] => E_COMPILE_WARNING [6] => E_CORE_ERROR [7] => E_CORE_WARNING [8] => E_DEPRECATED [9] => E_ERROR [10] => E_NOTICE [11] => E_PARSE [12] => E_RECOVERABLE_ERROR [13] => E_STRICT [14] => E_USER_DEPRECATED [15] => E_USER_ERROR [16] => E_USER_NOTICE [17] => E_USER_WARNING [18] => E_WARNING [19] => FALSE [20] => NULL [21] => PEAR_EXTENSION_DIR [22] => PEAR_INSTALL_DIR [23] => PHP_BINARY [24] => PHP_BINDIR [25] => PHP_CONFIG_FILE_PATH [26] => PHP_CONFIG_FILE_SCAN_DIR [27] => PHP_DATADIR [28] => PHP_DEBUG [29] => PHP_EOL [30] => PHP_EXTENSION_DIR [31] => PHP_EXTRA_VERSION [32] => PHP_FD_SETSIZE [33] => PHP_FLOAT_DIG [34] => PHP_FLOAT_EPSILON [35] => PHP_FLOAT_MAX [36] => PHP_FLOAT_MIN [37] => PHP_INT_MAX [38] => PHP_INT_MIN [39] => PHP_INT_SIZE [40] => PHP_LIBDIR [41] => PHP_LOCALSTATEDIR [42] => PHP_MAJOR_VERSION [43] => PHP_MANDIR [44] => PHP_MAXPATHLEN [45] => PHP_MINOR_VERSION [46] => PHP_OS [47] => PHP_OS_FAMILY [48] => PHP_OUTPUT_HANDLER_CLEAN [49] => PHP_OUTPUT_HANDLER_CLEANABLE [50] => PHP_OUTPUT_HANDLER_CONT [51] => PHP_OUTPUT_HANDLER_DISABLED [52] => PHP_OUTPUT_HANDLER_END [53] => PHP_OUTPUT_HANDLER_FINAL [54] => PHP_OUTPUT_HANDLER_FLUSH [55] => PHP_OUTPUT_HANDLER_FLUSHABLE [56] => PHP_OUTPUT_HANDLER_REMOVABLE [57] => PHP_OUTPUT_HANDLER_START [58] => PHP_OUTPUT_HANDLER_STARTED [59] => PHP_OUTPUT_HANDLER_STDFLAGS [60] => PHP_OUTPUT_HANDLER_WRITE [61] => PHP_PREFIX [62] => PHP_RELEASE_VERSION [63] => PHP_SAPI [64] => PHP_SHLIB_SUFFIX [65] => PHP_SYSCONFDIR [66] => PHP_VERSION [67] => PHP_VERSION_ID [68] => PHP_ZTS [69] => STDERR [70] => STDIN [71] => STDOUT [72] => TRUE [73] => UPLOAD_ERR_CANT_WRITE [74] => UPLOAD_ERR_EXTENSION [75] => UPLOAD_ERR_FORM_SIZE [76] => UPLOAD_ERR_INI_SIZE [77] => UPLOAD_ERR_NO_FILE [78] => UPLOAD_ERR_NO_TMP_DIR [79] => UPLOAD_ERR_OK [80] => UPLOAD_ERR_PARTIAL [81] => ZEND_DEBUG_BUILD [82] => ZEND_THREAD_SAFE )
Output for 7.1.0 - 7.1.7
Array ( [0] => DEBUG_BACKTRACE_IGNORE_ARGS [1] => DEBUG_BACKTRACE_PROVIDE_OBJECT [2] => DEFAULT_INCLUDE_PATH [3] => E_ALL [4] => E_COMPILE_ERROR [5] => E_COMPILE_WARNING [6] => E_CORE_ERROR [7] => E_CORE_WARNING [8] => E_DEPRECATED [9] => E_ERROR [10] => E_NOTICE [11] => E_PARSE [12] => E_RECOVERABLE_ERROR [13] => E_STRICT [14] => E_USER_DEPRECATED [15] => E_USER_ERROR [16] => E_USER_NOTICE [17] => E_USER_WARNING [18] => E_WARNING [19] => FALSE [20] => NULL [21] => PEAR_EXTENSION_DIR [22] => PEAR_INSTALL_DIR [23] => PHP_BINARY [24] => PHP_BINDIR [25] => PHP_CONFIG_FILE_PATH [26] => PHP_CONFIG_FILE_SCAN_DIR [27] => PHP_DATADIR [28] => PHP_DEBUG [29] => PHP_EOL [30] => PHP_EXTENSION_DIR [31] => PHP_EXTRA_VERSION [32] => PHP_FD_SETSIZE [33] => PHP_INT_MAX [34] => PHP_INT_MIN [35] => PHP_INT_SIZE [36] => PHP_LIBDIR [37] => PHP_LOCALSTATEDIR [38] => PHP_MAJOR_VERSION [39] => PHP_MANDIR [40] => PHP_MAXPATHLEN [41] => PHP_MINOR_VERSION [42] => PHP_OS [43] => PHP_OUTPUT_HANDLER_CLEAN [44] => PHP_OUTPUT_HANDLER_CLEANABLE [45] => PHP_OUTPUT_HANDLER_CONT [46] => PHP_OUTPUT_HANDLER_DISABLED [47] => PHP_OUTPUT_HANDLER_END [48] => PHP_OUTPUT_HANDLER_FINAL [49] => PHP_OUTPUT_HANDLER_FLUSH [50] => PHP_OUTPUT_HANDLER_FLUSHABLE [51] => PHP_OUTPUT_HANDLER_REMOVABLE [52] => PHP_OUTPUT_HANDLER_START [53] => PHP_OUTPUT_HANDLER_STARTED [54] => PHP_OUTPUT_HANDLER_STDFLAGS [55] => PHP_OUTPUT_HANDLER_WRITE [56] => PHP_PREFIX [57] => PHP_RELEASE_VERSION [58] => PHP_SAPI [59] => PHP_SHLIB_SUFFIX [60] => PHP_SYSCONFDIR [61] => PHP_VERSION [62] => PHP_VERSION_ID [63] => PHP_ZTS [64] => STDERR [65] => STDIN [66] => STDOUT [67] => TRUE [68] => UPLOAD_ERR_CANT_WRITE [69] => UPLOAD_ERR_EXTENSION [70] => UPLOAD_ERR_FORM_SIZE [71] => UPLOAD_ERR_INI_SIZE [72] => UPLOAD_ERR_NO_FILE [73] => UPLOAD_ERR_NO_TMP_DIR [74] => UPLOAD_ERR_OK [75] => UPLOAD_ERR_PARTIAL [76] => ZEND_DEBUG_BUILD [77] => ZEND_THREAD_SAFE )
Output for 7.0.0 - 7.0.20
Array ( [0] => DEBUG_BACKTRACE_IGNORE_ARGS [1] => DEBUG_BACKTRACE_PROVIDE_OBJECT [2] => DEFAULT_INCLUDE_PATH [3] => E_ALL [4] => E_COMPILE_ERROR [5] => E_COMPILE_WARNING [6] => E_CORE_ERROR [7] => E_CORE_WARNING [8] => E_DEPRECATED [9] => E_ERROR [10] => E_NOTICE [11] => E_PARSE [12] => E_RECOVERABLE_ERROR [13] => E_STRICT [14] => E_USER_DEPRECATED [15] => E_USER_ERROR [16] => E_USER_NOTICE [17] => E_USER_WARNING [18] => E_WARNING [19] => FALSE [20] => NULL [21] => PEAR_EXTENSION_DIR [22] => PEAR_INSTALL_DIR [23] => PHP_BINARY [24] => PHP_BINDIR [25] => PHP_CONFIG_FILE_PATH [26] => PHP_CONFIG_FILE_SCAN_DIR [27] => PHP_DATADIR [28] => PHP_DEBUG [29] => PHP_EOL [30] => PHP_EXTENSION_DIR [31] => PHP_EXTRA_VERSION [32] => PHP_INT_MAX [33] => PHP_INT_MIN [34] => PHP_INT_SIZE [35] => PHP_LIBDIR [36] => PHP_LOCALSTATEDIR [37] => PHP_MAJOR_VERSION [38] => PHP_MANDIR [39] => PHP_MAXPATHLEN [40] => PHP_MINOR_VERSION [41] => PHP_OS [42] => PHP_OUTPUT_HANDLER_CLEAN [43] => PHP_OUTPUT_HANDLER_CLEANABLE [44] => PHP_OUTPUT_HANDLER_CONT [45] => PHP_OUTPUT_HANDLER_DISABLED [46] => PHP_OUTPUT_HANDLER_END [47] => PHP_OUTPUT_HANDLER_FINAL [48] => PHP_OUTPUT_HANDLER_FLUSH [49] => PHP_OUTPUT_HANDLER_FLUSHABLE [50] => PHP_OUTPUT_HANDLER_REMOVABLE [51] => PHP_OUTPUT_HANDLER_START [52] => PHP_OUTPUT_HANDLER_STARTED [53] => PHP_OUTPUT_HANDLER_STDFLAGS [54] => PHP_OUTPUT_HANDLER_WRITE [55] => PHP_PREFIX [56] => PHP_RELEASE_VERSION [57] => PHP_SAPI [58] => PHP_SHLIB_SUFFIX [59] => PHP_SYSCONFDIR [60] => PHP_VERSION [61] => PHP_VERSION_ID [62] => PHP_ZTS [63] => STDERR [64] => STDIN [65] => STDOUT [66] => TRUE [67] => UPLOAD_ERR_CANT_WRITE [68] => UPLOAD_ERR_EXTENSION [69] => UPLOAD_ERR_FORM_SIZE [70] => UPLOAD_ERR_INI_SIZE [71] => UPLOAD_ERR_NO_FILE [72] => UPLOAD_ERR_NO_TMP_DIR [73] => UPLOAD_ERR_OK [74] => UPLOAD_ERR_PARTIAL [75] => ZEND_DEBUG_BUILD [76] => ZEND_THREAD_SAFE )
Output for 5.4.0 - 5.6.28
Array ( [0] => DEBUG_BACKTRACE_IGNORE_ARGS [1] => DEBUG_BACKTRACE_PROVIDE_OBJECT [2] => DEFAULT_INCLUDE_PATH [3] => E_ALL [4] => E_COMPILE_ERROR [5] => E_COMPILE_WARNING [6] => E_CORE_ERROR [7] => E_CORE_WARNING [8] => E_DEPRECATED [9] => E_ERROR [10] => E_NOTICE [11] => E_PARSE [12] => E_RECOVERABLE_ERROR [13] => E_STRICT [14] => E_USER_DEPRECATED [15] => E_USER_ERROR [16] => E_USER_NOTICE [17] => E_USER_WARNING [18] => E_WARNING [19] => FALSE [20] => NULL [21] => PEAR_EXTENSION_DIR [22] => PEAR_INSTALL_DIR [23] => PHP_BINARY [24] => PHP_BINDIR [25] => PHP_CONFIG_FILE_PATH [26] => PHP_CONFIG_FILE_SCAN_DIR [27] => PHP_DATADIR [28] => PHP_DEBUG [29] => PHP_EOL [30] => PHP_EXTENSION_DIR [31] => PHP_EXTRA_VERSION [32] => PHP_INT_MAX [33] => PHP_INT_SIZE [34] => PHP_LIBDIR [35] => PHP_LOCALSTATEDIR [36] => PHP_MAJOR_VERSION [37] => PHP_MANDIR [38] => PHP_MAXPATHLEN [39] => PHP_MINOR_VERSION [40] => PHP_OS [41] => PHP_OUTPUT_HANDLER_CLEAN [42] => PHP_OUTPUT_HANDLER_CLEANABLE [43] => PHP_OUTPUT_HANDLER_CONT [44] => PHP_OUTPUT_HANDLER_DISABLED [45] => PHP_OUTPUT_HANDLER_END [46] => PHP_OUTPUT_HANDLER_FINAL [47] => PHP_OUTPUT_HANDLER_FLUSH [48] => PHP_OUTPUT_HANDLER_FLUSHABLE [49] => PHP_OUTPUT_HANDLER_REMOVABLE [50] => PHP_OUTPUT_HANDLER_START [51] => PHP_OUTPUT_HANDLER_STARTED [52] => PHP_OUTPUT_HANDLER_STDFLAGS [53] => PHP_OUTPUT_HANDLER_WRITE [54] => PHP_PREFIX [55] => PHP_RELEASE_VERSION [56] => PHP_SAPI [57] => PHP_SHLIB_SUFFIX [58] => PHP_SYSCONFDIR [59] => PHP_VERSION [60] => PHP_VERSION_ID [61] => PHP_ZTS [62] => STDERR [63] => STDIN [64] => STDOUT [65] => TRUE [66] => UPLOAD_ERR_CANT_WRITE [67] => UPLOAD_ERR_EXTENSION [68] => UPLOAD_ERR_FORM_SIZE [69] => UPLOAD_ERR_INI_SIZE [70] => UPLOAD_ERR_NO_FILE [71] => UPLOAD_ERR_NO_TMP_DIR [72] => UPLOAD_ERR_OK [73] => UPLOAD_ERR_PARTIAL [74] => ZEND_DEBUG_BUILD [75] => ZEND_THREAD_SAFE )
Output for 5.3.7 - 5.3.29
Array ( [0] => DEBUG_BACKTRACE_IGNORE_ARGS [1] => DEBUG_BACKTRACE_PROVIDE_OBJECT [2] => DEFAULT_INCLUDE_PATH [3] => E_ALL [4] => E_COMPILE_ERROR [5] => E_COMPILE_WARNING [6] => E_CORE_ERROR [7] => E_CORE_WARNING [8] => E_DEPRECATED [9] => E_ERROR [10] => E_NOTICE [11] => E_PARSE [12] => E_RECOVERABLE_ERROR [13] => E_STRICT [14] => E_USER_DEPRECATED [15] => E_USER_ERROR [16] => E_USER_NOTICE [17] => E_USER_WARNING [18] => E_WARNING [19] => FALSE [20] => NULL [21] => PEAR_EXTENSION_DIR [22] => PEAR_INSTALL_DIR [23] => PHP_BINDIR [24] => PHP_CONFIG_FILE_PATH [25] => PHP_CONFIG_FILE_SCAN_DIR [26] => PHP_DATADIR [27] => PHP_DEBUG [28] => PHP_EOL [29] => PHP_EXTENSION_DIR [30] => PHP_EXTRA_VERSION [31] => PHP_INT_MAX [32] => PHP_INT_SIZE [33] => PHP_LIBDIR [34] => PHP_LOCALSTATEDIR [35] => PHP_MAJOR_VERSION [36] => PHP_MANDIR [37] => PHP_MAXPATHLEN [38] => PHP_MINOR_VERSION [39] => PHP_OS [40] => PHP_OUTPUT_HANDLER_CONT [41] => PHP_OUTPUT_HANDLER_END [42] => PHP_OUTPUT_HANDLER_START [43] => PHP_PREFIX [44] => PHP_RELEASE_VERSION [45] => PHP_SAPI [46] => PHP_SHLIB_SUFFIX [47] => PHP_SYSCONFDIR [48] => PHP_VERSION [49] => PHP_VERSION_ID [50] => PHP_ZTS [51] => STDERR [52] => STDIN [53] => STDOUT [54] => TRUE [55] => UPLOAD_ERR_CANT_WRITE [56] => UPLOAD_ERR_EXTENSION [57] => UPLOAD_ERR_FORM_SIZE [58] => UPLOAD_ERR_INI_SIZE [59] => UPLOAD_ERR_NO_FILE [60] => UPLOAD_ERR_NO_TMP_DIR [61] => UPLOAD_ERR_OK [62] => UPLOAD_ERR_PARTIAL [63] => ZEND_DEBUG_BUILD [64] => ZEND_MULTIBYTE [65] => ZEND_THREAD_SAFE )
Output for 5.3.6
Array ( [0] => DEBUG_BACKTRACE_IGNORE_ARGS [1] => DEBUG_BACKTRACE_PROVIDE_OBJECT [2] => DEFAULT_INCLUDE_PATH [3] => E_ALL [4] => E_COMPILE_ERROR [5] => E_COMPILE_WARNING [6] => E_CORE_ERROR [7] => E_CORE_WARNING [8] => E_DEPRECATED [9] => E_ERROR [10] => E_NOTICE [11] => E_PARSE [12] => E_RECOVERABLE_ERROR [13] => E_STRICT [14] => E_USER_DEPRECATED [15] => E_USER_ERROR [16] => E_USER_NOTICE [17] => E_USER_WARNING [18] => E_WARNING [19] => FALSE [20] => NULL [21] => PEAR_EXTENSION_DIR [22] => PEAR_INSTALL_DIR [23] => PHP_BINDIR [24] => PHP_CONFIG_FILE_PATH [25] => PHP_CONFIG_FILE_SCAN_DIR [26] => PHP_DATADIR [27] => PHP_DEBUG [28] => PHP_EOL [29] => PHP_EXTENSION_DIR [30] => PHP_EXTRA_VERSION [31] => PHP_INT_MAX [32] => PHP_INT_SIZE [33] => PHP_LIBDIR [34] => PHP_LOCALSTATEDIR [35] => PHP_MAJOR_VERSION [36] => PHP_MAXPATHLEN [37] => PHP_MINOR_VERSION [38] => PHP_OS [39] => PHP_OUTPUT_HANDLER_CONT [40] => PHP_OUTPUT_HANDLER_END [41] => PHP_OUTPUT_HANDLER_START [42] => PHP_PREFIX [43] => PHP_RELEASE_VERSION [44] => PHP_SAPI [45] => PHP_SHLIB_SUFFIX [46] => PHP_SYSCONFDIR [47] => PHP_VERSION [48] => PHP_VERSION_ID [49] => PHP_ZTS [50] => STDERR [51] => STDIN [52] => STDOUT [53] => TRUE [54] => UPLOAD_ERR_CANT_WRITE [55] => UPLOAD_ERR_EXTENSION [56] => UPLOAD_ERR_FORM_SIZE [57] => UPLOAD_ERR_INI_SIZE [58] => UPLOAD_ERR_NO_FILE [59] => UPLOAD_ERR_NO_TMP_DIR [60] => UPLOAD_ERR_OK [61] => UPLOAD_ERR_PARTIAL [62] => ZEND_DEBUG_BUILD [63] => ZEND_MULTIBYTE [64] => ZEND_THREAD_SAFE )
Output for 5.3.4 - 5.3.5
Array ( [0] => DEFAULT_INCLUDE_PATH [1] => E_ALL [2] => E_COMPILE_ERROR [3] => E_COMPILE_WARNING [4] => E_CORE_ERROR [5] => E_CORE_WARNING [6] => E_DEPRECATED [7] => E_ERROR [8] => E_NOTICE [9] => E_PARSE [10] => E_RECOVERABLE_ERROR [11] => E_STRICT [12] => E_USER_DEPRECATED [13] => E_USER_ERROR [14] => E_USER_NOTICE [15] => E_USER_WARNING [16] => E_WARNING [17] => FALSE [18] => NULL [19] => PEAR_EXTENSION_DIR [20] => PEAR_INSTALL_DIR [21] => PHP_BINDIR [22] => PHP_CONFIG_FILE_PATH [23] => PHP_CONFIG_FILE_SCAN_DIR [24] => PHP_DATADIR [25] => PHP_DEBUG [26] => PHP_EOL [27] => PHP_EXTENSION_DIR [28] => PHP_EXTRA_VERSION [29] => PHP_INT_MAX [30] => PHP_INT_SIZE [31] => PHP_LIBDIR [32] => PHP_LOCALSTATEDIR [33] => PHP_MAJOR_VERSION [34] => PHP_MAXPATHLEN [35] => PHP_MINOR_VERSION [36] => PHP_OS [37] => PHP_OUTPUT_HANDLER_CONT [38] => PHP_OUTPUT_HANDLER_END [39] => PHP_OUTPUT_HANDLER_START [40] => PHP_PREFIX [41] => PHP_RELEASE_VERSION [42] => PHP_SAPI [43] => PHP_SHLIB_SUFFIX [44] => PHP_SYSCONFDIR [45] => PHP_VERSION [46] => PHP_VERSION_ID [47] => PHP_ZTS [48] => STDERR [49] => STDIN [50] => STDOUT [51] => TRUE [52] => UPLOAD_ERR_CANT_WRITE [53] => UPLOAD_ERR_EXTENSION [54] => UPLOAD_ERR_FORM_SIZE [55] => UPLOAD_ERR_INI_SIZE [56] => UPLOAD_ERR_NO_FILE [57] => UPLOAD_ERR_NO_TMP_DIR [58] => UPLOAD_ERR_OK [59] => UPLOAD_ERR_PARTIAL [60] => ZEND_DEBUG_BUILD [61] => ZEND_MULTIBYTE [62] => ZEND_THREAD_SAFE )
Output for 5.3.0 - 5.3.3
Array ( [0] => DEFAULT_INCLUDE_PATH [1] => E_ALL [2] => E_COMPILE_ERROR [3] => E_COMPILE_WARNING [4] => E_CORE_ERROR [5] => E_CORE_WARNING [6] => E_DEPRECATED [7] => E_ERROR [8] => E_NOTICE [9] => E_PARSE [10] => E_RECOVERABLE_ERROR [11] => E_STRICT [12] => E_USER_DEPRECATED [13] => E_USER_ERROR [14] => E_USER_NOTICE [15] => E_USER_WARNING [16] => E_WARNING [17] => FALSE [18] => NULL [19] => PEAR_EXTENSION_DIR [20] => PEAR_INSTALL_DIR [21] => PHP_BINDIR [22] => PHP_CONFIG_FILE_PATH [23] => PHP_CONFIG_FILE_SCAN_DIR [24] => PHP_DATADIR [25] => PHP_DEBUG [26] => PHP_EOL [27] => PHP_EXTENSION_DIR [28] => PHP_EXTRA_VERSION [29] => PHP_INT_MAX [30] => PHP_INT_SIZE [31] => PHP_LIBDIR [32] => PHP_LOCALSTATEDIR [33] => PHP_MAJOR_VERSION [34] => PHP_MAXPATHLEN [35] => PHP_MINOR_VERSION [36] => PHP_OS [37] => PHP_OUTPUT_HANDLER_CONT [38] => PHP_OUTPUT_HANDLER_END [39] => PHP_OUTPUT_HANDLER_START [40] => PHP_PREFIX [41] => PHP_RELEASE_VERSION [42] => PHP_SAPI [43] => PHP_SHLIB_SUFFIX [44] => PHP_SYSCONFDIR [45] => PHP_VERSION [46] => PHP_VERSION_ID [47] => PHP_ZTS [48] => STDERR [49] => STDIN [50] => STDOUT [51] => TRUE [52] => UPLOAD_ERR_CANT_WRITE [53] => UPLOAD_ERR_EXTENSION [54] => UPLOAD_ERR_FORM_SIZE [55] => UPLOAD_ERR_INI_SIZE [56] => UPLOAD_ERR_NO_FILE [57] => UPLOAD_ERR_NO_TMP_DIR [58] => UPLOAD_ERR_OK [59] => UPLOAD_ERR_PARTIAL [60] => ZEND_DEBUG_BUILD [61] => ZEND_THREAD_SAFE )