Transposition in PHP
Shaun Morrow

I think that there is place for use \MultipleIterator. `array_map` has by default \MultiIterator, so you can write something like this:

function transposeData($data){
return array_map(function (...$line){
return $line;
}, ...$data);

No need for long description :-)

Like what you read? Give Jan Machala a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.