3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $array = array("Jonathan", "Sampson"); foreach($array as $value) { $query = $value."\n"; echo $query } ?>
Output for 5.3.0 - 5.4.13
Parse error: syntax error, unexpected '}', expecting ',' or ';' in /in/T53hk on line 8
Process exited with code 255.