3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = 'string'; array_map(function($char) {echo $char."\n"},$str);
Output for 5.3.0 - 5.4.28
Parse error: syntax error, unexpected '}', expecting ',' or ';' in /in/EN5JA on line 5
Process exited with code 255.