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 ) );
Output for git.master_jit, git.master, rfc.property-hooks
array ( 0 => array ( 'id' => 57341, 'updated' => NULL, 'userId' => 57341, 'value' => NULL, 'lat' => 53.4537812, 'lon' => -2.1792437, 'feed_likes' => 'NA', 'category_idx' => -1, 'type' => 'User', ), 1 => array ( 'id' => 57336, 'updated' => NULL, 'userId' => 57336, 'value' => NULL, 'lat' => 53.473684, 'lon' => -2.2399827, 'feed_likes' => 'NA', 'category_idx' => -1, 'type' => 'User', ), )

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
42.29 ms | 406 KiB | 5 Q