3v4l.org

run code in 300+ PHP versions simultaneously
<?php print array_map('foo', array(1,2,3), 'test'); function foo($a, $b){ print $b.$a; }

preferences:
59.78 ms | 402 KiB | 5 Q