3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr = array('name', 'name2'); $arr = array_map(function($x){return $x = '"'.$x.'"'}, $arr); print_r($arr);
Output for 5.3.0 - 5.4.30
Parse error: syntax error, unexpected '}' in /in/n1Zdu on line 5
Process exited with code 255.