3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ [ 'User' => [ 'id' => 57341, 'updated' => null, 'userId' => 57341, 'value' => null, 'lat' => 53.4537812, 'lon' => -2.1792437, ], [ 'feed_likes' => 'NA', 'category_idx' => -1, 'type' => 'User' ] ], [ 'User' => [ 'id' => 57336, 'updated' => null, 'userId' => 57336, 'value' => null, 'lat' => 53.473684, 'lon' => -2.2399827, ], [ 'feed_likes' => 'NA', 'category_idx' => -1, 'type' => 'User' ] ], ]; var_export( array_map( fn($rows) => array_merge(...array_values($rows)), $array ) );

preferences:
23.68 ms | 407 KiB | 5 Q