3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ ["444", "0081"], ["449", "0081"], ["451", "0081"], ["455", "2100"], ["469", "2100"] ]; var_export( array_values( array_reduce( $array, function($result, $row) { if (!isset($result[$row[1]])) { $result[$row[1]] = $row; // first occurrence of group, save whole row } else { $result[$row[1]][0] .= ',' . $row[0]; // not first occurrence, concat first element in group } return $result; } ) ) );

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.5.00.0130.00819.97
8.4.150.0030.00014.05
8.4.140.0100.01217.60
8.4.130.0110.00517.63
8.4.120.0120.00620.75
8.4.110.0110.00919.06
8.4.100.0100.00917.59
8.4.90.0090.01120.45
8.4.80.0120.00818.75
8.4.70.0090.00117.88
8.4.60.0170.00119.14
8.4.50.0100.01118.80
8.4.40.0080.01119.45
8.4.30.0160.00320.53
8.4.20.0040.00422.43
8.4.10.0030.00624.05
8.3.280.0110.00918.45
8.3.270.0110.00916.75
8.3.260.0110.00816.53
8.3.250.0040.00419.18
8.3.240.0030.00616.50
8.3.230.0070.00416.79
8.3.220.0120.00718.93
8.3.210.0090.00816.60
8.3.200.0050.00416.58
8.3.190.0030.00517.34
8.3.180.0120.00617.28
8.3.170.0090.00920.83
8.3.160.0060.00917.34
8.3.150.0080.00019.13
8.3.140.0000.00818.96
8.3.130.0050.00316.48
8.3.120.0130.00720.91
8.3.110.0090.00016.60
8.3.100.0060.00316.78
8.3.90.0150.00026.77
8.3.80.0090.00019.36
8.3.70.0140.00418.43
8.3.60.0150.00016.63
8.3.50.0120.00616.68
8.3.40.0100.00320.07
8.3.30.0130.00318.84
8.3.20.0040.00424.18
8.3.10.0040.00424.66
8.3.00.0000.00826.16
8.2.290.0090.01020.47
8.2.280.0060.00218.32
8.2.270.0070.00717.20
8.2.260.0110.00716.70
8.2.250.0120.00316.57
8.2.240.0040.00418.42
8.2.230.0090.00620.94
8.2.220.0040.00424.06
8.2.210.0040.01426.77
8.2.200.0060.00318.88
8.2.190.0180.00316.58
8.2.180.0060.01516.50
8.2.170.0070.01418.80
8.2.160.0040.01122.96
8.2.150.0070.00025.66
8.2.140.0000.00824.66
8.2.130.0080.00026.16
8.2.120.0000.00826.16
8.2.110.0000.00919.16
8.2.100.0000.01117.72
8.2.90.0050.00518.03
8.2.80.0030.00617.50
8.2.70.0040.00417.63
8.2.60.0000.00818.03
8.2.50.0060.00318.07
8.2.40.0040.00420.00
8.2.30.0000.00718.18
8.2.20.0020.00519.31
8.2.10.0060.00317.68
8.2.00.0000.01017.80
8.1.330.0110.00823.77
8.1.320.0110.00816.22
8.1.310.0040.01118.38
8.1.300.0050.00517.88
8.1.290.0070.00430.84
8.1.280.0100.01325.92
8.1.270.0020.00524.66
8.1.260.0050.00326.35
8.1.250.0000.00828.09
8.1.240.0080.00022.46
8.1.230.0100.00020.85
8.1.220.0030.00617.77
8.1.210.0000.00818.90
8.1.200.0060.00317.35
8.1.190.0030.00617.22
8.1.180.0060.00318.53
8.1.170.0080.00018.84
8.1.160.0000.00818.95
8.1.150.0000.00718.59
8.1.140.0080.00017.43
8.1.130.0040.00417.43
8.1.120.0040.00417.50
8.1.110.0040.00417.52
8.1.100.0090.00017.47
8.1.90.0020.00517.46
8.1.80.0040.00417.55
8.1.70.0030.00617.48
8.1.60.0060.00317.56
8.1.50.0000.00817.55
8.1.40.0070.00217.69
8.1.30.0000.00917.58
8.1.20.0050.00517.58
8.1.10.0000.00917.63
8.1.00.0000.00817.45
8.0.300.0040.00419.98
8.0.290.0000.00716.63
8.0.280.0040.00418.32
8.0.270.0040.00416.66
8.0.260.0080.00016.93
8.0.250.0070.00216.84
8.0.240.0040.00416.95
8.0.230.0080.00016.95
8.0.220.0000.00816.88
8.0.210.0040.00416.81
8.0.200.0100.00016.81
8.0.190.0050.00516.78
8.0.180.0080.00316.79
8.0.170.0070.00316.79
8.0.160.0040.00416.72
8.0.150.0000.00716.77
8.0.140.0050.00516.83
8.0.130.0040.00716.77
8.0.120.0090.00016.68
8.0.110.0060.00216.78
8.0.100.0000.00916.79
8.0.90.0000.01016.82
8.0.80.0060.00616.80
8.0.70.0000.01016.76
8.0.60.0030.00616.53
8.0.50.0080.00316.81
8.0.30.0000.00916.68
8.0.20.0070.00316.88
8.0.10.0000.00916.84

preferences:
36.88 ms | 403 KiB | 5 Q