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 ) );

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.140.0110.00716.69
8.3.130.0090.00518.33
8.3.120.0200.00818.41
8.3.110.0190.00818.74
8.3.100.0280.00517.38
8.3.90.0240.00321.52
8.3.80.0240.00516.33
8.3.70.0210.00816.38
8.3.60.0290.00717.41
8.3.50.0240.00618.26
8.3.40.0140.01118.74
8.3.30.0230.00317.84
8.3.20.0160.00720.69
8.3.10.0130.00620.99
8.3.00.0100.00821.83
8.2.250.0200.00717.50
8.2.240.0170.01016.72
8.2.230.0180.00619.38
8.2.220.0170.00520.20
8.2.210.0130.00721.47
8.2.200.0210.00416.36
8.2.190.0200.00816.45
8.2.180.0160.00821.09
8.2.170.0200.00618.21
8.2.160.0240.00320.27
8.2.150.0160.00821.47
8.2.140.0210.00121.06
8.2.130.0230.00321.81
8.2.120.0170.00819.11
8.2.110.0220.00319.28
8.2.100.0160.01017.72
8.2.90.0180.00718.47
8.2.80.0190.00517.46
8.2.70.0170.00717.45
8.2.60.0150.00917.43
8.2.50.0190.00617.77
8.2.40.0210.00518.79
8.2.30.0160.00817.61
8.2.20.0150.00818.27
8.2.10.0180.00517.79
8.2.00.0150.00718.54
8.1.300.0150.00818.21
8.1.290.0120.00423.51
8.1.280.0140.00321.05
8.1.270.0090.00421.04
8.1.260.0120.00121.81
8.1.250.0110.00222.76
8.1.240.0080.00419.66
8.1.230.0140.00320.01
8.1.220.0110.00717.44
8.1.210.0140.00818.58
8.1.200.0150.00617.35
8.1.190.0170.00517.31
8.1.180.0160.00517.69
8.1.170.0100.01417.68
8.1.160.0170.00518.05
8.1.150.0110.00917.89
8.1.140.0120.00817.15
8.1.130.0170.00618.14
8.1.120.0160.00717.24
8.1.110.0200.00517.31
8.1.100.0190.00517.32
8.1.90.0170.00917.34
8.1.80.0220.00417.38
8.1.70.0180.00617.30
8.1.60.0180.01017.51
8.1.50.0260.00617.43
8.1.40.0210.00917.38
8.1.30.0210.00817.49
8.1.20.0190.01017.46
8.1.10.0160.01217.40
8.1.00.0260.00217.22
8.0.300.0160.00818.26
8.0.290.0160.00616.52
8.0.280.0150.00817.39
8.0.270.0180.00517.17
8.0.260.0190.00617.32
8.0.250.0160.00616.63
8.0.240.0200.00216.68
8.0.230.0210.00116.69
8.0.220.0160.00716.66
8.0.210.0200.00516.62
8.0.200.0220.00316.82
8.0.190.0150.00716.79
8.0.180.0220.00216.65
8.0.170.0140.01116.76
8.0.160.0140.01216.62
8.0.150.0190.00316.63
8.0.140.0160.01116.76
8.0.130.0220.00616.66
8.0.120.0210.00616.59
8.0.110.0230.00216.66
8.0.100.0210.00616.56
8.0.90.0220.00516.48
8.0.80.0280.00516.68
8.0.70.0280.00116.66
8.0.60.0170.00916.56
8.0.50.0160.00816.53
8.0.30.0100.00816.80
8.0.20.0130.00316.87
8.0.10.0100.00516.65
7.4.330.0100.00115.98
7.4.320.0140.00316.52
7.4.300.0210.00516.41
7.4.290.0210.00516.35
7.4.280.0160.00716.45
7.4.270.0200.00916.36
7.4.260.0190.00716.34
7.4.250.0190.00916.39
7.4.240.0170.00416.51
7.4.230.0180.00616.47
7.4.220.0190.00516.40
7.4.210.0160.00916.36
7.4.200.0140.00916.47
7.4.190.0200.00516.45
7.4.180.0180.00216.43
7.4.160.0150.00716.48
7.4.150.0210.00216.36
7.4.140.0190.00216.38
7.4.130.0210.00316.30
7.4.120.0190.00416.28
7.4.110.0160.00816.32
7.4.100.0180.00616.34
7.4.90.0140.01016.32
7.4.80.0240.00316.30
7.4.70.0210.00516.27
7.4.60.0200.00516.22
7.4.50.0180.00516.28
7.4.40.0190.00516.26
7.4.30.0150.00516.26
7.4.20.0180.00416.23
7.4.10.0170.00616.24
7.4.00.0200.00316.29

preferences:
18.18 ms | 403 KiB | 5 Q