3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $json = '{"bbData":[ ["Peter","/id/5423","42.4"], ["Bob","/id/5355","32.1"], ["Dolan","/id/5113","22.6"] ]]}'; echo $json; $data = json_decode($json); echo "-----"; print_r($data); echo "-----";
based on CI5t3
Output for 5.2.0 - 7.2.0
{"bbData":[ ["Peter","/id/5423","42.4"], ["Bob","/id/5355","32.1"], ["Dolan","/id/5113","22.6"] ]]}----------
Output for 5.0.0 - 5.1.6
{"bbData":[ ["Peter","/id/5423","42.4"], ["Bob","/id/5355","32.1"], ["Dolan","/id/5113","22.6"] ]]} Fatal error: Call to undefined function json_decode() in /in/fVV1s on line 8
Process exited with code 255.
Output for 4.4.5 - 4.4.9
{"bbData":[ ["Peter","/id/5423","42.4"], ["Bob","/id/5355","32.1"], ["Dolan","/id/5113","22.6"] ]]} Fatal error: Call to undefined function: json_decode() in /in/fVV1s on line 8
Process exited with code 255.
Output for 4.3.2 - 4.4.4
{"bbData":[ ["Peter","/id/5423","42.4"], ["Bob","/id/5355","32.1"], ["Dolan","/id/5113","22.6"] ]]} Fatal error: Call to undefined function: json_decode() in /in/fVV1s on line 8
Process exited with code 255.
Output for 4.3.0 - 4.3.1
{"bbData":[ ["Peter","/id/5423","42.4"], ["Bob","/id/5355","32.1"], ["Dolan","/id/5113","22.6"] ]]} Fatal error: Call to undefined function: json_decode() in /in/fVV1s on line 8