PHPize Online / SQLize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
Copy Clear
Copy Format Clear
<?php $matrix = [ [1, 2, 3], [4, 5, 6], [7, 8, 9], ]; var_export(array_map(fn() => array_reverse(func_get_args()), ...$matrix)); echo "\n---\n"; var_export(array_map(fn(...$col) => array_reverse($col), ...$matrix));
Show:  
Copy Clear