3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $json = '{"package":"usuarios","type":"add_user","request_data":{"hid_idClient":"81","txt_email":"lgualpa81@gmail.com","txt_nombre":"","txt_apellido":"","cmb_tipoIdentificacion":"C","txt_identificacion":"3","txt_movil":"","chk_lst_lnegocio[]":["35","10"]}}'; var_dump(json_decode($json, true)); ?>
based on PjBoL
Output for 5.2.0 - 7.3.0rc3
array(3) { ["package"]=> string(8) "usuarios" ["type"]=> string(8) "add_user" ["request_data"]=> array(8) { ["hid_idClient"]=> string(2) "81" ["txt_email"]=> string(19) "lgualpa81@gmail.com" ["txt_nombre"]=> string(0) "" ["txt_apellido"]=> string(0) "" ["cmb_tipoIdentificacion"]=> string(1) "C" ["txt_identificacion"]=> string(1) "3" ["txt_movil"]=> string(0) "" ["chk_lst_lnegocio[]"]=> array(2) { [0]=> string(2) "35" [1]=> string(2) "10" } } }
Output for 5.0.0 - 5.1.6
Fatal error: Call to undefined function json_decode() in /in/R561I on line 3
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: json_decode() in /in/R561I on line 3
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: json_decode() in /in/R561I on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: json_decode() in /in/R561I on line 3