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.4.10.0240.01019.23
8.3.140.0260.00617.03
8.3.130.0240.00816.98
8.3.120.0260.00817.12
8.3.110.0260.00917.17
8.3.100.0300.00717.00
8.3.90.0300.00818.05
8.3.80.0320.00716.37
8.3.70.0300.01016.37
8.3.60.0300.00716.76
8.3.50.0300.00617.05
8.3.40.0230.01117.76
8.3.30.0230.00617.40
8.3.20.0250.00418.37
8.3.10.0200.00818.55
8.3.00.0140.00919.13
8.2.260.0260.00616.99
8.2.250.0240.00916.83
8.2.240.0220.00916.54
8.2.230.0220.00817.32
8.2.220.0230.00517.67
8.2.210.0210.00818.06
8.2.200.0250.00416.37
8.2.190.0240.00716.44
8.2.180.0250.00617.96
8.2.170.0250.00717.88
8.2.160.0270.00618.42
8.2.150.0240.00718.83
8.2.140.0280.00518.71
8.2.130.0320.00418.89
8.2.120.0270.00818.04
8.2.110.0290.00518.04
8.2.100.0220.00917.57
8.2.90.0230.00917.85
8.2.80.0270.00717.46
8.2.70.0220.00917.37
8.2.60.0250.00817.41
8.2.50.0270.00717.48
8.2.40.0230.00817.94
8.2.30.0220.00817.43
8.2.20.0220.00717.69
8.2.10.0240.00617.54
8.2.00.0230.00617.83
8.1.310.0270.00616.01
8.1.300.0220.01016.67
8.1.290.0230.00718.45
8.1.280.0240.00617.60
8.1.270.0210.00818.50
8.1.260.0270.00418.79
8.1.250.0260.00519.11
8.1.240.0200.00818.05
8.1.230.0190.00918.15
8.1.220.0230.00717.32
8.1.210.0210.01017.67
8.1.200.0250.00817.28
8.1.190.0230.00717.27
8.1.180.0240.00717.26
8.1.170.0200.01317.27
8.1.160.0280.00517.44
8.1.150.0230.00617.47
8.1.140.0200.01017.17
8.1.130.0230.00817.60
8.1.120.0240.00717.20
8.1.110.0230.00817.24
8.1.100.0210.00717.26
8.1.90.0230.00817.25
8.1.80.0260.00517.26
8.1.70.0260.00617.19
8.1.60.0190.01217.39
8.1.50.0260.00817.20
8.1.40.0260.00717.29
8.1.30.0250.00817.46
8.1.20.0250.01017.40
8.1.10.0260.00917.25
8.1.00.0280.00817.09
8.0.300.0240.00717.03
8.0.290.0260.00616.54
8.0.280.0260.00416.81
8.0.270.0220.00916.68
8.0.260.0240.00716.73
8.0.250.0240.00616.50
8.0.240.0230.00716.52
8.0.230.0230.00716.63
8.0.220.0260.00516.54
8.0.210.0280.00416.51
8.0.200.0250.00716.65
8.0.190.0220.00816.59
8.0.180.0270.00616.51
8.0.170.0270.00516.65
8.0.160.0260.00716.64
8.0.150.0230.00716.57
8.0.140.0250.00616.58
8.0.130.0240.00816.54
8.0.120.0270.00616.46
8.0.110.0250.00516.53
8.0.100.0220.00616.52
8.0.90.0250.00716.43
8.0.80.0280.00616.49
8.0.70.0260.00616.58
8.0.60.0240.00816.52
8.0.50.0220.00816.50
8.0.30.0240.00516.65
8.0.20.0250.00316.72
8.0.10.0210.00416.69
7.4.330.0190.00616.21
7.4.320.0230.00716.30
7.4.300.0250.00616.23
7.4.290.0240.00516.28
7.4.280.0250.00516.28
7.4.270.0270.00716.22
7.4.260.0250.00816.22
7.4.250.0260.00716.30
7.4.240.0230.00716.35
7.4.230.0240.00616.36
7.4.220.0230.00516.28
7.4.210.0190.00816.26
7.4.200.0190.00616.33
7.4.190.0190.00516.34
7.4.180.0190.00416.31
7.4.160.0250.00516.26
7.4.150.0260.00416.28
7.4.140.0220.00516.17
7.4.130.0250.00416.06
7.4.120.0230.00616.11
7.4.110.0190.00716.15
7.4.100.0190.00616.15
7.4.90.0190.00816.13
7.4.80.0220.00416.48
7.4.70.0200.00516.15
7.4.60.0190.00516.03
7.4.50.0190.00516.12
7.4.40.0200.00416.04
7.4.30.0170.00516.12
7.4.20.0150.00616.08
7.4.10.0170.00416.14
7.4.00.0170.00516.19

preferences:
27.87 ms | 403 KiB | 5 Q