3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class C{ private static function t($n){ return "foo_" . $n; } private static $foo = array_map("t", array('A','B','C')); } ?>
Output for 5.3.0 - 5.4.28
Parse error: syntax error, unexpected '(', expecting ',' or ';' in /in/1klvN on line 7
Process exited with code 255.