3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $post = '{ "test1_key":"test1_val", "test2_key":"test2_val", "test3_key":"test3_val" } { test4_key: test4_val } { "json_obj_3":[ {"test1":"test2","test3":"test4"} ] }'; print_r(json_decode($post));
Output for 5.2.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Output for 5.0.0 - 5.1.6
Fatal error: Call to undefined function json_decode() in /in/qOrWJ on line 17
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: json_decode() in /in/qOrWJ on line 17
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: json_decode() in /in/qOrWJ on line 17
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: json_decode() in /in/qOrWJ on line 17