3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $json = <<<JSON { "rc": 0, "msg": "Exitoso", "className": "ve.com.icg.commons.to.ActivityTransfer", "bean": "{\"memberEnrollmentList\":{\"enrolles\": [{\"code\":\"000400\",\"companyCode\":\"18\",\"groupCode\":\"00\",\"documentId\":\"V00000232566\",\"licenseNumber\":\"00000400\",\"name\":\"BENAIM PINTO (ZL) GONZALO\",\"dateOfBirth\":\"21-APR-27\",\"maritalStatus\":\"CAS\",\"dateOfLicenseIssuance\":\"27-JUL-95\",\"dateOfLicenseExpiration\":\"30-APR-00\",\"commercialName\":\"LA ESTIC VENEZUELA\",\"codeClient\":\"00-000400\",\"gender\":\"M\",\"activitysList\":{\"activitys\":[]}},{\"code\":\"000410\",\"companyCode\":\"18\",\"groupCode\":\"11\",\"documentId\":\"V00010289740\",\"licenseNumber\":\"11000410\",\"name\":\"COHEN DE ESTRIN NANCY\",\"dateOfBirth\":\"10-MAY-70\",\"maritalStatus\":\"CAS\",\"dateOfAdmission\":\"13-DEC-02\",\"dateOfLicenseIssuance\":\"24-SEP-10\",\"dateOfLicenseExpiration\":\"30-MAY-15\",\"codeClient\":\"11-000410\",\"gender\":\"F\",\"relationshipCode\":\"E10\",\"relationship\":\"ESPOSO (A)\",\"activitysList\":{\"activitys\":[{\"code\":\"GIMNASIO-MENSUA\",\"description\":\"GIMNASIO PLAN MENSUAL\",\"sectionsList\":{\"sections\":[{\"code\":\"MENSU\",\"openings\":0,\"description\":\"GIMNASIO PLAN MENSUAL\"}]}}]}},{\"code\":\"000410\",\"companyCode\":\"18\",\"groupCode\":\"00\",\"documentId\":\"V00000960057\",\"licenseNumber\":\"00000410\",\"name\":\"ABADI DE BENAIM JUDITH\",\"dateOfBirth\":\"23-MAY-32\",\"maritalStatus\":\"VIU\",\"dateOfLicenseIssuance\":\"29-FEB-08\",\"dateOfLicenseExpiration\":\"30-MAY-13\",\"codeClient\":\"00-000410\",\"gender\":\"F\",\"relationshipCode\":\"E10\",\"relationship\":\"ESPOSO (A)\",\"activitysList\":{\"activitys\":[{\"code\":\"EVENADUL-ENSATU\",\"description\":\"ENSALADAS PARA TU BISHVAT \\\"MARISOL BENDAYAN\\\" (07/02/2012)\",\"sectionsList\":{\"sections\":[{\"code\":\"1\",\"openings\":0,\"description\":\"ENSALADAS PARA TU BISHVAT\"}]}}]}},{\"code\":\"000412\",\"companyCode\":\"18\",\"groupCode\":\"11\",\"documentId\":\"E00000786622\",\"licenseNumber\":\"11000412\",\"name\":\"SHIRLEY DOUEK DE COHEN\",\"dateOfBirth\":\"17-NOV-38\",\"maritalStatus\":\"CAS\",\"dateOfAdmission\":\"12-DEC-02\",\"dateOfLicenseIssuance\":\"29-JUL-07\",\"dateOfLicenseExpiration\":\"30-NOV-12\",\"codeClient\":\"11-000412\",\"gender\":\"F\",\"relationshipCode\":\"S12\",\"relationship\":\"SUEGRA\",\"activitysList\":{\"activitys\":[{\"code\":\"DEPORTES-GIMNAS\",\"description\":\"GIMNASIA ARTISTICA ESCUELAS DEPORTIVAS Y DEPORTE FEDERADO\",\"sectionsList\":{\"sections\":[{\"code\":\"GIMN10\",\"openings\":0,\"description\":\"MEJJORAMIENTO FISICO 4\"}]}}]}},{\"code\":\"000420\",\"companyCode\":\"18\",\"groupCode\":\"11\",\"licenseNumber\":\"11000420\",\"name\":\"ESTRIN COHEN SHARON\",\"dateOfBirth\":\"29-SEP-98\",\"maritalStatus\":\"SIN\",\"codeClient\":\"11-000420\",\"gender\":\"F\",\"relationshipCode\":\"H01\",\"relationship\":\"HIJO 1\",\"activitysList\":{\"activitys\":[]}},{\"code\":\"000430\",\"companyCode\":\"18\",\"groupCode\":\"11\",\"licenseNumber\":\"11000430\",\"name\":\"ESTRIN COHEN SHIRLEY\",\"dateOfBirth\":\"02-SEP-99\",\"maritalStatus\":\"SIN\",\"codeClient\":\"11-000430\",\"gender\":\"F\",\"relationshipCode\":\"H02\",\"relationship\":\"HIJO 2\",\"activitysList\":{\"activitys\":[{\"code\":\"BAILES-BADULT\",\"description\":\"BAILES ISRAELIES ADOLESCENTES\",\"sectionsList\":{\"sections\":[{\"code\":\"02\",\"openings\":0,\"description\":\"SEGUNDO AÑO\"}]}},{\"code\":\"DEPORTES-GIMNAS\",\"description\":\"GIMNASIA ARTISTICA ESCUELAS DEPORTIVAS Y DEPORTE FEDERADO\",\"sectionsList\":{\"sections\":[{\"code\":\"GIMN10\",\"openings\":0,\"description\":\"MEJJORAMIENTO FISICO 4\"}]}}]}}]}}", "accessLog": { "sessionId": "0cd4ceec6d753af545d3bfc0939a0759", "userName": "DGAMBOA", "RC": 0 }, "token": "0cd4ceec6d753af545d3bfc0939a0759" } JSON; var_dump(json_decode($json, true)); var_dump(json_last_error());
Output for 5.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
NULL int(4)
Output for 5.2.0 - 5.2.17
NULL Fatal error: Call to undefined function json_last_error() in /in/IgMii on line 19
Process exited with code 255.
Output for 5.0.0 - 5.1.1, 5.1.3 - 5.1.6
Fatal error: Call to undefined function json_decode() in /in/IgMii on line 18
Process exited with code 255.
Output for 5.1.2
Fatal error: Call to undefined function json_decode() in /in/IgMii on line 19
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: json_decode() in /in/IgMii on line 18
Process exited with code 255.
Output for 4.3.2 - 4.4.1, 4.4.3 - 4.4.4
Fatal error: Call to undefined function: json_decode() in /in/IgMii on line 18
Process exited with code 255.
Output for 4.4.2
Fatal error: Call to undefined function: json_decode() in /in/IgMii on line 19
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: json_decode() in /in/IgMii on line 18