3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array('e' => 22, 'r' => 66, 't' => 88); $b = array('t' => 65); print_r(array_merge($a, $b)); array_walk($a, function(&$value) { $value = 'e ' + $value; }); print_r($a)
Output for 5.4.0 - 5.4.26
Parse error: syntax error, unexpected end of file in /in/QNvsc on line 11
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected $end in /in/QNvsc on line 11
Process exited with code 255.

preferences:
185.62 ms | 1395 KiB | 63 Q