3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $data = '{"array_change_key_case":"array","array_chunk":"array","array_column":"array","array_combine":"array","array_count_values":"array","array_diff_assoc":"array","array_diff_key":"array","array_diff_uassoc":"array","":"int","array_diff_ukey":"array","array_diff":"array","array_fill_keys":"array","array_fill":"array","array_filter":"array","array_flip":"array","array_intersect_assoc":"array","array_intersect_key":"array","array_intersect_uassoc":"array","array_intersect_ukey":"array","array_intersect":"array","array_key_exists":"bool","array_keys":"array","array_map":"array","array_merge_recursive":"array","array_merge":"array","array_multisort":"bool","array_pad":"array","array_product":"number","array_push":"int","array_replace_recursive":"array","array_replace":"array","array_reverse":"array","array_slice":"array","array_splice":"array","array_sum":"number","array_udiff_assoc":"array","array_udiff_uassoc":"array","array_udiff":"array","array_uintersect_assoc":"array","array_uintersect_uassoc":"array","array_uintersect":"array","array_unique":"array","array_unshift":"int","array_values":"array","array_walk_recursive":"bool","array_walk":"bool","array":"array","arsort":"bool","asort":"bool","compact":"array","count":"int","each":"array","extract":"int","in_array":"bool","krsort":"bool","ksort":"bool","list":"array","natcasesort":"bool","natsort":"bool","range":"array","rsort":"bool","shuffle":"bool","sort":"bool","uasort":"bool","uksort":"bool","usort":"bool"}' ; var_export(json_decode($data, true));
based on 9A7sP
Output for 5.2.3 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
array ( 'array_change_key_case' => 'array', 'array_chunk' => 'array', 'array_column' => 'array', 'array_combine' => 'array', 'array_count_values' => 'array', 'array_diff_assoc' => 'array', 'array_diff_key' => 'array', 'array_diff_uassoc' => 'array', '' => 'int', 'array_diff_ukey' => 'array', 'array_diff' => 'array', 'array_fill_keys' => 'array', 'array_fill' => 'array', 'array_filter' => 'array', 'array_flip' => 'array', 'array_intersect_assoc' => 'array', 'array_intersect_key' => 'array', 'array_intersect_uassoc' => 'array', 'array_intersect_ukey' => 'array', 'array_intersect' => 'array', 'array_key_exists' => 'bool', 'array_keys' => 'array', 'array_map' => 'array', 'array_merge_recursive' => 'array', 'array_merge' => 'array', 'array_multisort' => 'bool', 'array_pad' => 'array', 'array_product' => 'number', 'array_push' => 'int', 'array_replace_recursive' => 'array', 'array_replace' => 'array', 'array_reverse' => 'array', 'array_slice' => 'array', 'array_splice' => 'array', 'array_sum' => 'number', 'array_udiff_assoc' => 'array', 'array_udiff_uassoc' => 'array', 'array_udiff' => 'array', 'array_uintersect_assoc' => 'array', 'array_uintersect_uassoc' => 'array', 'array_uintersect' => 'array', 'array_unique' => 'array', 'array_unshift' => 'int', 'array_values' => 'array', 'array_walk_recursive' => 'bool', 'array_walk' => 'bool', 'array' => 'array', 'arsort' => 'bool', 'asort' => 'bool', 'compact' => 'array', 'count' => 'int', 'each' => 'array', 'extract' => 'int', 'in_array' => 'bool', 'krsort' => 'bool', 'ksort' => 'bool', 'list' => 'array', 'natcasesort' => 'bool', 'natsort' => 'bool', 'range' => 'array', 'rsort' => 'bool', 'shuffle' => 'bool', 'sort' => 'bool', 'uasort' => 'bool', 'uksort' => 'bool', 'usort' => 'bool', )
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.2.0 - 5.2.2
array ( 'array_change_key_case' => 'array', 'array_chunk' => 'array', 'array_column' => 'array', 'array_combine' => 'array', 'array_count_values' => 'array', 'array_diff_assoc' => 'array', 'array_diff_key' => 'array', 'array_diff_uassoc' => 'array', '_empty_' => 'int', 'array_diff_ukey' => 'array', 'array_diff' => 'array', 'array_fill_keys' => 'array', 'array_fill' => 'array', 'array_filter' => 'array', 'array_flip' => 'array', 'array_intersect_assoc' => 'array', 'array_intersect_key' => 'array', 'array_intersect_uassoc' => 'array', 'array_intersect_ukey' => 'array', 'array_intersect' => 'array', 'array_key_exists' => 'bool', 'array_keys' => 'array', 'array_map' => 'array', 'array_merge_recursive' => 'array', 'array_merge' => 'array', 'array_multisort' => 'bool', 'array_pad' => 'array', 'array_product' => 'number', 'array_push' => 'int', 'array_replace_recursive' => 'array', 'array_replace' => 'array', 'array_reverse' => 'array', 'array_slice' => 'array', 'array_splice' => 'array', 'array_sum' => 'number', 'array_udiff_assoc' => 'array', 'array_udiff_uassoc' => 'array', 'array_udiff' => 'array', 'array_uintersect_assoc' => 'array', 'array_uintersect_uassoc' => 'array', 'array_uintersect' => 'array', 'array_unique' => 'array', 'array_unshift' => 'int', 'array_values' => 'array', 'array_walk_recursive' => 'bool', 'array_walk' => 'bool', 'array' => 'array', 'arsort' => 'bool', 'asort' => 'bool', 'compact' => 'array', 'count' => 'int', 'each' => 'array', 'extract' => 'int', 'in_array' => 'bool', 'krsort' => 'bool', 'ksort' => 'bool', 'list' => 'array', 'natcasesort' => 'bool', 'natsort' => 'bool', 'range' => 'array', 'rsort' => 'bool', 'shuffle' => 'bool', 'sort' => 'bool', 'uasort' => 'bool', 'uksort' => 'bool', 'usort' => 'bool', )
Output for 5.0.0 - 5.1.6
Fatal error: Call to undefined function json_decode() in /in/NuSNX on line 6
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: json_decode() in /in/NuSNX on line 6
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: json_decode() in /in/NuSNX on line 6
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: json_decode() in /in/NuSNX on line 6