3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $f = get_defined_functions(); $funcs = $f['internal']; print_r(array_slice($funcs, 0, 50));
Output for 7.0.0 - 7.1.0
Array ( [0] => zend_version [1] => func_num_args [2] => func_get_arg [3] => func_get_args [4] => strlen [5] => strcmp [6] => strncmp [7] => strcasecmp [8] => strncasecmp [9] => each [10] => error_reporting [11] => define [12] => defined [13] => get_class [14] => get_called_class [15] => get_parent_class [16] => method_exists [17] => property_exists [18] => class_exists [19] => interface_exists [20] => trait_exists [21] => function_exists [22] => class_alias [23] => get_included_files [24] => get_required_files [25] => is_subclass_of [26] => is_a [27] => get_class_vars [28] => get_object_vars [29] => get_class_methods [30] => trigger_error [31] => user_error [32] => set_error_handler [33] => restore_error_handler [34] => set_exception_handler [35] => restore_exception_handler [36] => get_declared_classes [37] => get_declared_traits [38] => get_declared_interfaces [39] => get_defined_functions [40] => get_defined_vars [41] => create_function [42] => get_resource_type [43] => get_resources [44] => get_loaded_extensions [45] => extension_loaded [46] => get_extension_funcs [47] => get_defined_constants [48] => debug_backtrace [49] => debug_print_backtrace )
Output for hhvm-3.12.0
Array ( [0] => imap_delete [1] => hh\thread_memory_stats [2] => imap_renamemailbox [3] => hphp_memory_start_interval [4] => mysqli_free_result [5] => is_infinite [6] => hh\objprof_get_data [7] => class_alias [8] => image_type_to_mime_type [9] => gmp_nextprime [10] => array_uintersect_uassoc [11] => hphp_create_object [12] => odbc_exec [13] => get_loaded_extensions [14] => lcfirst [15] => socket_set_block [16] => readline [17] => locale_get_display_region [18] => get_class_methods [19] => shell_exec [20] => strtok [21] => timezone_location_get [22] => str_word_count [23] => xml_set_unparsed_entity_decl_handler [24] => similar_text [25] => openssl_x509_parse [26] => spl_object_hash [27] => strncmp [28] => hh\asio\mm [29] => imap_qprint [30] => mb_ereg [31] => hash_update_file [32] => filegroup [33] => intlcal_get_maximum [34] => array_flip [35] => trigger_sampled_error [36] => mysqli_warning_count [37] => hash_init [38] => xmlwriter_end_attribute [39] => dom_element_get_attribute_node [40] => mysqli_real_connect [41] => dom_element_get_elements_by_tag_name_ns [42] => mb_split [43] => mysql_stat [44] => openssl_pkey_get_details [45] => closedir [46] => intlcal_get_locale [47] => uksort [48] => hh\asio\mfw [49] => posix_ctermid )
Output for hhvm-3.10.0
Array ( [0] => imap_delete [1] => hh\thread_memory_stats [2] => imap_renamemailbox [3] => hphp_memory_start_interval [4] => mysqli_free_result [5] => is_infinite [6] => hh\objprof_get_data [7] => class_alias [8] => image_type_to_mime_type [9] => gmp_nextprime [10] => array_uintersect_uassoc [11] => hphp_create_object [12] => odbc_exec [13] => get_loaded_extensions [14] => lcfirst [15] => socket_set_block [16] => readline [17] => locale_get_display_region [18] => get_class_methods [19] => shell_exec [20] => strtok [21] => timezone_location_get [22] => str_word_count [23] => xml_set_unparsed_entity_decl_handler [24] => similar_text [25] => openssl_x509_parse [26] => spl_object_hash [27] => strncmp [28] => imap_qprint [29] => mb_ereg [30] => hash_update_file [31] => filegroup [32] => intlcal_get_maximum [33] => array_flip [34] => trigger_sampled_error [35] => mysqli_warning_count [36] => hash_init [37] => xmlwriter_end_attribute [38] => dom_element_get_attribute_node [39] => mysqli_real_connect [40] => dom_element_get_elements_by_tag_name_ns [41] => mb_split [42] => mysql_stat [43] => openssl_pkey_get_details [44] => closedir [45] => intlcal_get_locale [46] => uksort [47] => posix_ctermid [48] => curl_version [49] => proc_get_status )
Output for 5.4.0 - 5.6.28
Array ( [0] => zend_version [1] => func_num_args [2] => func_get_arg [3] => func_get_args [4] => strlen [5] => strcmp [6] => strncmp [7] => strcasecmp [8] => strncasecmp [9] => each [10] => error_reporting [11] => define [12] => defined [13] => get_class [14] => get_called_class [15] => get_parent_class [16] => method_exists [17] => property_exists [18] => class_exists [19] => interface_exists [20] => trait_exists [21] => function_exists [22] => class_alias [23] => get_included_files [24] => get_required_files [25] => is_subclass_of [26] => is_a [27] => get_class_vars [28] => get_object_vars [29] => get_class_methods [30] => trigger_error [31] => user_error [32] => set_error_handler [33] => restore_error_handler [34] => set_exception_handler [35] => restore_exception_handler [36] => get_declared_classes [37] => get_declared_traits [38] => get_declared_interfaces [39] => get_defined_functions [40] => get_defined_vars [41] => create_function [42] => get_resource_type [43] => get_loaded_extensions [44] => extension_loaded [45] => get_extension_funcs [46] => get_defined_constants [47] => debug_backtrace [48] => debug_print_backtrace [49] => gc_collect_cycles )
Output for 5.3.0 - 5.3.29
Array ( [0] => zend_version [1] => func_num_args [2] => func_get_arg [3] => func_get_args [4] => strlen [5] => strcmp [6] => strncmp [7] => strcasecmp [8] => strncasecmp [9] => each [10] => error_reporting [11] => define [12] => defined [13] => get_class [14] => get_called_class [15] => get_parent_class [16] => method_exists [17] => property_exists [18] => class_exists [19] => interface_exists [20] => function_exists [21] => class_alias [22] => get_included_files [23] => get_required_files [24] => is_subclass_of [25] => is_a [26] => get_class_vars [27] => get_object_vars [28] => get_class_methods [29] => trigger_error [30] => user_error [31] => set_error_handler [32] => restore_error_handler [33] => set_exception_handler [34] => restore_exception_handler [35] => get_declared_classes [36] => get_declared_interfaces [37] => get_defined_functions [38] => get_defined_vars [39] => create_function [40] => get_resource_type [41] => get_loaded_extensions [42] => extension_loaded [43] => get_extension_funcs [44] => get_defined_constants [45] => debug_backtrace [46] => debug_print_backtrace [47] => gc_collect_cycles [48] => gc_enabled [49] => gc_enable )
Output for 5.2.10 - 5.2.17
Array ( [0] => zend_version [1] => func_num_args [2] => func_get_arg [3] => func_get_args [4] => strlen [5] => strcmp [6] => strncmp [7] => strcasecmp [8] => strncasecmp [9] => each [10] => error_reporting [11] => define [12] => defined [13] => get_class [14] => get_parent_class [15] => method_exists [16] => property_exists [17] => class_exists [18] => interface_exists [19] => function_exists [20] => get_included_files [21] => get_required_files [22] => is_subclass_of [23] => is_a [24] => get_class_vars [25] => get_object_vars [26] => get_class_methods [27] => trigger_error [28] => user_error [29] => set_error_handler [30] => restore_error_handler [31] => set_exception_handler [32] => restore_exception_handler [33] => get_declared_classes [34] => get_declared_interfaces [35] => get_defined_functions [36] => get_defined_vars [37] => create_function [38] => get_resource_type [39] => get_loaded_extensions [40] => extension_loaded [41] => get_extension_funcs [42] => get_defined_constants [43] => debug_backtrace [44] => debug_print_backtrace [45] => strtotime [46] => date [47] => idate [48] => gmdate [49] => mktime )
Output for 5.2.0 - 5.2.9
Array ( [0] => zend_version [1] => func_num_args [2] => func_get_arg [3] => func_get_args [4] => strlen [5] => strcmp [6] => strncmp [7] => strcasecmp [8] => strncasecmp [9] => each [10] => error_reporting [11] => define [12] => defined [13] => get_class [14] => get_parent_class [15] => method_exists [16] => property_exists [17] => class_exists [18] => interface_exists [19] => function_exists [20] => get_included_files [21] => get_required_files [22] => is_subclass_of [23] => is_a [24] => get_class_vars [25] => get_object_vars [26] => get_class_methods [27] => trigger_error [28] => user_error [29] => set_error_handler [30] => restore_error_handler [31] => set_exception_handler [32] => restore_exception_handler [33] => get_declared_classes [34] => get_declared_interfaces [35] => get_defined_functions [36] => get_defined_vars [37] => create_function [38] => get_resource_type [39] => get_loaded_extensions [40] => extension_loaded [41] => get_extension_funcs [42] => get_defined_constants [43] => debug_backtrace [44] => debug_print_backtrace [45] => zip_open [46] => zip_close [47] => zip_read [48] => zip_entry_open [49] => zip_entry_close )
Output for 5.1.2 - 5.1.6
Array ( [0] => zend_version [1] => func_num_args [2] => func_get_arg [3] => func_get_args [4] => strlen [5] => strcmp [6] => strncmp [7] => strcasecmp [8] => strncasecmp [9] => each [10] => error_reporting [11] => define [12] => defined [13] => get_class [14] => get_parent_class [15] => method_exists [16] => property_exists [17] => class_exists [18] => interface_exists [19] => function_exists [20] => get_included_files [21] => get_required_files [22] => is_subclass_of [23] => is_a [24] => get_class_vars [25] => get_object_vars [26] => get_class_methods [27] => trigger_error [28] => user_error [29] => set_error_handler [30] => restore_error_handler [31] => set_exception_handler [32] => restore_exception_handler [33] => get_declared_classes [34] => get_declared_interfaces [35] => get_defined_functions [36] => get_defined_vars [37] => create_function [38] => get_resource_type [39] => get_loaded_extensions [40] => extension_loaded [41] => get_extension_funcs [42] => get_defined_constants [43] => debug_backtrace [44] => debug_print_backtrace [45] => xmlwriter_open_uri [46] => xmlwriter_open_memory [47] => xmlwriter_set_indent [48] => xmlwriter_set_indent_string [49] => xmlwriter_start_comment )
Output for 5.1.0 - 5.1.1
Array ( [0] => zend_version [1] => func_num_args [2] => func_get_arg [3] => func_get_args [4] => strlen [5] => strcmp [6] => strncmp [7] => strcasecmp [8] => strncasecmp [9] => each [10] => error_reporting [11] => define [12] => defined [13] => get_class [14] => get_parent_class [15] => method_exists [16] => property_exists [17] => class_exists [18] => interface_exists [19] => function_exists [20] => get_included_files [21] => get_required_files [22] => is_subclass_of [23] => is_a [24] => get_class_vars [25] => get_object_vars [26] => get_class_methods [27] => trigger_error [28] => user_error [29] => set_error_handler [30] => restore_error_handler [31] => set_exception_handler [32] => restore_exception_handler [33] => get_declared_classes [34] => get_declared_interfaces [35] => get_defined_functions [36] => get_defined_vars [37] => create_function [38] => get_resource_type [39] => get_loaded_extensions [40] => extension_loaded [41] => get_extension_funcs [42] => get_defined_constants [43] => debug_backtrace [44] => debug_print_backtrace [45] => libxml_set_streams_context [46] => libxml_use_internal_errors [47] => libxml_get_last_error [48] => libxml_clear_errors [49] => libxml_get_errors )
Output for 5.0.2 - 5.0.5
Array ( [0] => zend_version [1] => func_num_args [2] => func_get_arg [3] => func_get_args [4] => strlen [5] => strcmp [6] => strncmp [7] => strcasecmp [8] => strncasecmp [9] => each [10] => error_reporting [11] => define [12] => defined [13] => get_class [14] => get_parent_class [15] => method_exists [16] => class_exists [17] => interface_exists [18] => function_exists [19] => get_included_files [20] => get_required_files [21] => is_subclass_of [22] => is_a [23] => get_class_vars [24] => get_object_vars [25] => get_class_methods [26] => trigger_error [27] => user_error [28] => set_error_handler [29] => restore_error_handler [30] => set_exception_handler [31] => restore_exception_handler [32] => get_declared_classes [33] => get_declared_interfaces [34] => get_defined_functions [35] => get_defined_vars [36] => create_function [37] => get_resource_type [38] => get_loaded_extensions [39] => extension_loaded [40] => get_extension_funcs [41] => get_defined_constants [42] => debug_backtrace [43] => debug_print_backtrace [44] => xml_parser_create [45] => xml_parser_create_ns [46] => xml_set_object [47] => xml_set_element_handler [48] => xml_set_character_data_handler [49] => xml_set_processing_instruction_handler )
Output for 5.0.0 - 5.0.1
Array ( [0] => zend_version [1] => func_num_args [2] => func_get_arg [3] => func_get_args [4] => strlen [5] => strcmp [6] => strncmp [7] => strcasecmp [8] => strncasecmp [9] => each [10] => error_reporting [11] => define [12] => defined [13] => get_class [14] => get_parent_class [15] => method_exists [16] => class_exists [17] => function_exists [18] => get_included_files [19] => get_required_files [20] => is_subclass_of [21] => is_a [22] => get_class_vars [23] => get_object_vars [24] => get_class_methods [25] => trigger_error [26] => user_error [27] => set_error_handler [28] => restore_error_handler [29] => set_exception_handler [30] => restore_exception_handler [31] => get_declared_classes [32] => get_declared_interfaces [33] => get_defined_functions [34] => get_defined_vars [35] => create_function [36] => get_resource_type [37] => get_loaded_extensions [38] => extension_loaded [39] => get_extension_funcs [40] => get_defined_constants [41] => debug_backtrace [42] => debug_print_backtrace [43] => xml_parser_create [44] => xml_parser_create_ns [45] => xml_set_object [46] => xml_set_element_handler [47] => xml_set_character_data_handler [48] => xml_set_processing_instruction_handler [49] => xml_set_default_handler )
Output for 4.3.0 - 4.4.9
Array ( [0] => zend_version [1] => func_num_args [2] => func_get_arg [3] => func_get_args [4] => strlen [5] => strcmp [6] => strncmp [7] => strcasecmp [8] => strncasecmp [9] => each [10] => error_reporting [11] => define [12] => defined [13] => get_class [14] => get_parent_class [15] => method_exists [16] => class_exists [17] => function_exists [18] => get_included_files [19] => get_required_files [20] => is_subclass_of [21] => is_a [22] => get_class_vars [23] => get_object_vars [24] => get_class_methods [25] => trigger_error [26] => user_error [27] => set_error_handler [28] => restore_error_handler [29] => get_declared_classes [30] => get_defined_functions [31] => get_defined_vars [32] => create_function [33] => get_resource_type [34] => get_loaded_extensions [35] => extension_loaded [36] => get_extension_funcs [37] => get_defined_constants [38] => debug_backtrace [39] => xml_parser_create [40] => xml_parser_create_ns [41] => xml_set_object [42] => xml_set_element_handler [43] => xml_set_character_data_handler [44] => xml_set_processing_instruction_handler [45] => xml_set_default_handler [46] => xml_set_unparsed_entity_decl_handler [47] => xml_set_notation_decl_handler [48] => xml_set_external_entity_ref_handler [49] => xml_set_start_namespace_decl_handler )