3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $array = ( 'a' => 'Hello', 'b' => 'World'); array_walk($array, 'adda'); function adda(&$value, &$key) { $key = "a".$key; }
Output for 5.4.0 - 5.4.4
Parse error: syntax error, unexpected '=>' (T_DOUBLE_ARROW) in /in/S9PbD on line 3
Process exited with code 255.
Output for 5.3.0 - 5.3.14
Parse error: syntax error, unexpected T_DOUBLE_ARROW in /in/S9PbD on line 3
Process exited with code 255.