3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array(0, 0.5, 1, 1.5); var_dump(array_combine($a, $a));
Output for 5.0.0 - 5.6.23, 5.6.26 - 7.1.0
array(4) { [0]=> int(0) ["0.5"]=> float(0.5) [1]=> int(1) ["1.5"]=> float(1.5) }
Output for 5.6.24 - 5.6.25

Process exited with code 137.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: array_combine() in /in/rn3H0 on line 3
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: array_combine() in /in/rn3H0 on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: array_combine() in /in/rn3H0 on line 3