3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function itemsasd($args){ foreach($args as $arg){ echo $arg; } } itemsasd(1,2,3); ?>
Output for 5.2.3 - 7.1.0
Warning: Invalid argument supplied for foreach() in /in/0nMum on line 7
Output for 4.3.0 - 4.3.10, 4.4.0 - 5.2.2
<br /> <b>Warning</b>: Invalid argument supplied for foreach() in <b>/in/0nMum</b> on line <b>7</b><br />
Output for 4.3.11