3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php foreach( array_combine( range( 0, 2), range( 4, 8), range( 10, 15)) as $i) { echo $i; }
Output for 5.0.0 - 7.1.0
Warning: array_combine() expects exactly 2 parameters, 3 given in /in/I8Pi4 on line 3 Warning: Invalid argument supplied for foreach() in /in/I8Pi4 on line 3
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: array_combine() in /in/I8Pi4 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/I8Pi4 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/I8Pi4 on line 3