3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = array('23' => 23); $b = array('32' => 32); $ret = array_merge($a,$b); print_r($ret); $s = ''; $ret = json_decode($s , true); print_r($ret);
based on QAOEM
Output for 5.2.0 - 7.2.0
Array ( [0] => 23 [1] => 32 )
Output for 5.0.0 - 5.1.6
Array ( [0] => 23 [1] => 32 ) Fatal error: Call to undefined function json_decode() in /in/YV5Io on line 9
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Array ( [0] => 23 [1] => 32 ) Fatal error: Call to undefined function: json_decode() in /in/YV5Io on line 9
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Array ( [0] => 23 [1] => 32 ) Fatal error: Call to undefined function: json_decode() in /in/YV5Io on line 9
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Array ( [0] => 23 [1] => 32 ) Fatal error: Call to undefined function: json_decode() in /in/YV5Io on line 9