3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr1 = [1, 2, 3]; $arr2 = ['a', 'b', 'c']; var_dump( array_map(null, $arr1), array_map(null, $arr1, $arr2) );

preferences:
48.37 ms | 405 KiB | 5 Q