3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<pre><?php var_dump(json_decode("[{ \"ext_id\": \"\", \"name\": \"Dr. Rogerio Padovan \", \"info\": \"M\u00e9dico Cirurgi\u00e3o Especializado em Medicina Esportiva e Nutrologia\", \"id\": 9, \"last_update\": 1404482440, \"language\": \"pt\", \"active\": 1, \"type\": \"speaker\", \"category_count\": 0, \"meta_count\": 0, \"attachment_count\": 1, \"ongoing_count\": 1, \"product_count\": 0 },{ \"ext_id\": \"\", \"name\": \"Priscila Ferrari\", \"info\": \"Fisioterapeuta Dermatofuncional \\r\\n\", \"id\": 10, \"last_update\": 1404482440, \"language\": \"pt\", \"active\": 1, \"type\": \"speaker\", \"category_count\": 0, \"meta_count\": 0, \"attachment_count\": 1, \"ongoing_count\": 1, \"product_count\": 0 }]", true));?></pre>
Output for 5.2.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
<pre>array(2) { [0]=> array(13) { ["ext_id"]=> string(0) "" ["name"]=> string(20) "Dr. Rogerio Padovan " ["info"]=> string(67) "Médico Cirurgião Especializado em Medicina Esportiva e Nutrologia" ["id"]=> int(9) ["last_update"]=> int(1404482440) ["language"]=> string(2) "pt" ["active"]=> int(1) ["type"]=> string(7) "speaker" ["category_count"]=> int(0) ["meta_count"]=> int(0) ["attachment_count"]=> int(1) ["ongoing_count"]=> int(1) ["product_count"]=> int(0) } [1]=> array(13) { ["ext_id"]=> string(0) "" ["name"]=> string(16) "Priscila Ferrari" ["info"]=> string(34) "Fisioterapeuta Dermatofuncional " ["id"]=> int(10) ["last_update"]=> int(1404482440) ["language"]=> string(2) "pt" ["active"]=> int(1) ["type"]=> string(7) "speaker" ["category_count"]=> int(0) ["meta_count"]=> int(0) ["attachment_count"]=> int(1) ["ongoing_count"]=> int(1) ["product_count"]=> int(0) } } </pre>
Output for 5.0.0 - 5.1.6
<pre> Fatal error: Call to undefined function json_decode() in /in/tL2ro on line 3
Process exited with code 255.
Output for 4.4.5 - 4.4.9
<pre> Fatal error: Call to undefined function: json_decode() in /in/tL2ro on line 3
Process exited with code 255.
Output for 4.3.2 - 4.4.4
<pre> Fatal error: Call to undefined function: json_decode() in /in/tL2ro on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
<pre> Fatal error: Call to undefined function: json_decode() in /in/tL2ro on line 3