3v4l.org

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

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
191.36 ms | 1725 KiB | 10 Q