3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $list = array( 'http://localhost/snowball/multi_tag/', 'http://localhost/snowball/shot_manager/shotcontent.php', 'http://localhost/snowball/home_operator.php' ); foreach( $elem as $list ) { echo $elem . "\n"; }
Output for 5.1.0 - 7.1.0
Notice: Undefined variable: elem in /in/9Bnic on line 9 Warning: Invalid argument supplied for foreach() in /in/9Bnic on line 9
Output for 4.3.0 - 4.3.10, 4.4.0 - 5.0.5
Warning: Invalid argument supplied for foreach() in /in/9Bnic on line 9
Output for 4.3.11