3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php print_r(array_combine(array(), array()));
Output for 5.4.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Array ( )
Output for 5.2.3 - 5.3.29
Warning: array_combine(): Both parameters should have at least 1 element in /in/dPf1a on line 2
Output for 5.0.4 - 5.2.2
<br /> <b>Warning</b>: array_combine() [<a href='function.array-combine'>function.array-combine</a>]: Both parameters should have at least 1 element in <b>/in/dPf1a</b> on line <b>2</b><br />
Output for 5.0.0 - 5.0.3
<br /> <b>Warning</b>: array_combine() [<a href='function.array-combine'>function.array-combine</a>]: Both parameters should have number of elements at least 0 in <b>/in/dPf1a</b> on line <b>2</b><br />
Output for 4.4.5 - 4.4.9
<br /> <b>Fatal error</b>: Call to undefined function: array_combine() in <b>/in/dPf1a</b> on line <b>2</b><br />
Process exited with code 255.
Output for 4.3.2 - 4.4.4
<br /> <b>Fatal error</b>: Call to undefined function: array_combine() in <b>/in/dPf1a</b> on line <b>2</b><br />
Process exited with code 255.
Output for 4.3.0 - 4.3.1
<br /> <b>Fatal error</b>: Call to undefined function: array_combine() in <b>/in/dPf1a</b> on line <b>2</b><br />