<?php
$array = [
[201767.11, 514324.91, 73205.74],
[349399.51, 647217.10, 3500.00],
[285169.05, 522357.20, 10.00],
[126858.21, 185190.59, 0],
];
var_export(array_map(fn(...$column) => implode(', ', $column), ...$array));
- Output for 7.4.0 - 7.4.33, 8.0.1 - 8.0.30, 8.1.0 - 8.1.33, 8.2.0 - 8.2.29, 8.3.0 - 8.3.25, 8.4.1 - 8.4.12
- array (
0 => '201767.11, 349399.51, 285169.05, 126858.21',
1 => '514324.91, 647217.1, 522357.2, 185190.59',
2 => '73205.74, 3500, 10, 0',
)
preferences:
114.56 ms | 407 KiB | 5 Q