3v4l.org

run code in 500+ PHP versions simultaneously
<?php $array = [ ["foo" => "bar1", "hey" => "now"], ["foo" => "bar2", "hey" => "what"], [0 => "zero", 1 => "one"] ]; var_export(array_map('current', $array));

preferences:
91.33 ms | 1170 KiB | 5 Q