3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $hoge = array(5,5,3,2,1,3); $hogehoge = array_map(function(){ return 1; },array_count_values($hoge)); var_dump($hogehoge);
Output for 5.4.0 - 5.4.23
Parse error: syntax error, unexpected ';' (T_STRING) in /in/tXUoR on line 4
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_STRING in /in/tXUoR on line 4
Process exited with code 255.