3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_arr = ['test1', 'test2', 'test3']; $_string = 'TestWalk'; print "<pre>"; print_r(array_map(function($person) { return $person; }, $_arr));

preferences:
35.93 ms | 402 KiB | 5 Q