3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php 3 4 // Mapeia a função de callback para elementos de um array. print_r(array_map(function($name) { return "Olá, " . ucfirst($name) . "!"; }, $names));
Output for 5.4.0 - 5.4.19
Parse error: syntax error, unexpected '4' (T_LNUMBER) in /in/1ZCD0 on line 4
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected T_LNUMBER in /in/1ZCD0 on line 4
Process exited with code 255.