3v4l.org

run code in 300+ PHP versions simultaneously
<?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));
Output for 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.24 - 5.5.35, 5.6.8 - 5.6.28, 7.0.0 - 7.0.20, 7.1.0 - 7.1.20, 7.2.0 - 7.2.33, 7.3.12 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
NULL
Output for 5.0.0 - 5.0.5, 5.1.0 - 5.1.1, 5.1.3 - 5.1.6
Fatal error: Call to undefined function json_decode() in /in/1O2pE on line 18
Process exited with code 255.
Output for 5.1.2
Fatal error: Call to undefined function json_decode() in /in/1O2pE 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/1O2pE on line 18
Process exited with code 255.
Output for 4.3.2 - 4.3.11, 4.4.0 - 4.4.1, 4.4.3 - 4.4.4
Fatal error: Call to undefined function: json_decode() in /in/1O2pE on line 18
Process exited with code 255.
Output for 4.4.2
Fatal error: Call to undefined function: json_decode() in /in/1O2pE 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/1O2pE on line 18

preferences:
186.74 ms | 401 KiB | 313 Q