3v4l.org

run code in 300+ PHP versions simultaneously
<?php $new_items = array_map($items, function ($item) { return array_map($item, function ($key_values) { return array_reduce($key_values, function ($seed, $value, $key) { $seed[$key] = $value; }); }); })
Output for 5.4.0 - 5.4.25
Parse error: syntax error, unexpected end of file in /in/p30fN on line 8
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected $end in /in/p30fN on line 8
Process exited with code 255.

preferences:
177.49 ms | 1395 KiB | 62 Q