3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ "QLogic BCM57810 10 Gigabit Ethernet (NDIS VBD Client)", "Microsoft Network Adapter Multiplexor Driver", "Microsoft Network Adapter Multiplexor Driver Simplified", "QLogic BCM57810 10 Gigabit Ethernet (NDIS VBD Client) #75", "QLogic BCM57810 10 Gigabit Ethernet (NDIS VBD Client)", "Microsoft Network Adapter Multiplexor Driver", "QLogic BCM57810 10 Gigabit Ethernet (NDIS VBD Client)", "QLogic BCM57810 10 Gigabit Ethernet (NDIS VBD Client)", ]; $lookup = []; foreach (array_count_values($array) as $value => $count) { if ($count > 1) { $lookup[$value] = 0; } } foreach ($array as &$value) { $value .= (isset($lookup[$value]) ? "_" . ++$lookup[$value] : ''); } var_export($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.5.10.0090.00920.08
8.5.00.0110.00921.27
8.4.160.0110.01120.45
8.4.150.0020.00014.05
8.4.140.0130.00917.36
8.4.130.0050.00417.78
8.4.120.0130.00820.52
8.4.110.0110.00922.48
8.4.100.0110.00717.94
8.4.90.0130.00618.84
8.4.80.0120.00817.64
8.4.70.0160.00517.80
8.4.60.0120.00918.73
8.4.50.0100.01117.66
8.4.40.0030.00619.75
8.4.30.0060.00320.27
8.4.20.0180.00424.25
8.4.10.0060.00322.15
8.3.280.0140.00618.37
8.3.270.0130.00616.68
8.3.260.0110.00616.56
8.3.250.0090.00918.99
8.3.240.0110.00916.59
8.3.230.0120.00416.79
8.3.220.0050.00817.20
8.3.210.0120.00816.82
8.3.200.0030.00616.54
8.3.190.0100.00817.07
8.3.180.0130.00617.11
8.3.170.0120.00620.81
8.3.160.0070.00717.43
8.3.150.0000.00917.23
8.3.140.0140.00016.48
8.3.130.0000.00816.48
8.3.120.0060.00318.91
8.3.110.0030.00616.79
8.3.100.0070.00418.43
8.3.90.0140.00726.77
8.3.80.0000.00918.55
8.3.70.0070.01116.75
8.3.60.0040.01122.30
8.3.50.0170.00320.36
8.3.40.0100.00320.47
8.3.30.0110.00318.67
8.3.20.0040.00424.18
8.3.10.0040.00424.66
8.3.00.0070.00026.16
8.2.290.0050.00420.40
8.2.280.0090.00921.96
8.2.270.0100.00716.48
8.2.260.0080.00016.54
8.2.250.0110.01118.57
8.2.240.0040.00417.09
8.2.230.0030.00620.94
8.2.220.0060.01024.06
8.2.210.0040.00426.77
8.2.200.0050.00518.28
8.2.190.0040.01416.58
8.2.180.0140.00725.92
8.2.170.0100.01019.09
8.2.160.0070.00722.96
8.2.150.0040.00425.66
8.2.140.0050.00324.66
8.2.130.0080.00026.16
8.2.120.0040.00420.98
8.2.110.0030.02021.12
8.2.100.0100.00317.91
8.2.90.0030.00517.63
8.2.80.0080.00017.97
8.2.70.0050.00318.04
8.2.60.0040.00417.63
8.2.50.0060.00317.55
8.2.40.0040.00418.07
8.2.30.0000.00818.04
8.2.20.0080.00020.33
8.2.10.0060.00318.05
8.2.00.0060.00319.36
8.1.330.0110.00921.86
8.1.320.0110.00916.00
8.1.310.0050.00218.34
8.1.300.0030.00616.78
8.1.290.0040.00730.84
8.1.280.0090.00625.92
8.1.270.0090.00023.99
8.1.260.0030.00526.35
8.1.250.0040.00428.09
8.1.240.0150.00621.43
8.1.230.0090.00619.00
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0090.00017.36
8.1.190.0080.00017.35
8.1.180.0050.00322.16
8.1.170.0080.00018.91
8.1.160.0020.00518.90
8.1.150.0040.00418.65
8.1.140.0040.00417.47
8.1.130.0040.00418.95
8.1.120.0030.00417.52
8.1.110.0050.00317.36
8.1.100.0000.00717.46
8.1.90.0000.00717.48
8.1.80.0040.00417.41
8.1.70.0080.00717.38
8.1.60.0160.00217.41
8.1.50.0140.00317.45
8.1.40.0070.01117.40
8.1.30.0160.00317.66
8.1.20.0160.00317.53
8.1.10.0160.00317.45
8.1.00.0100.01017.51
8.0.300.0080.00018.77
8.0.290.0040.00416.63
8.0.280.0040.00418.46
8.0.270.0000.00718.01
8.0.260.0030.00318.49
8.0.250.0070.00016.99
8.0.240.0000.00616.89
8.0.230.0000.00716.89
8.0.220.0030.00316.77
8.0.210.0120.00016.91
8.0.200.0070.00816.90
8.0.190.0130.00316.93
8.0.180.0130.00316.91
8.0.170.0120.00316.75
8.0.160.0080.00716.88
8.0.150.0110.00416.83
8.0.140.0090.00516.75
8.0.130.0120.00316.58
8.0.120.0090.00616.89
8.0.110.0070.00716.76
8.0.100.0120.00416.75
8.0.90.0000.01716.78
8.0.80.0110.00416.79
8.0.70.0150.00016.84
8.0.60.0100.00516.84
8.0.50.0110.00316.79
8.0.30.0090.00316.79
8.0.20.0030.01116.93
8.0.10.0090.00316.89
7.4.330.0020.00215.55
7.4.320.0040.00416.49
7.4.300.0030.00616.64
7.4.290.0100.00316.57
7.4.280.0090.00616.62
7.4.270.0120.00316.43
7.4.260.0160.00016.39
7.4.250.0110.00216.45
7.4.240.0060.00616.33
7.4.230.0070.01116.47
7.4.220.0100.00416.48
7.4.210.0080.00416.48
7.4.200.0090.00516.58
7.4.190.0110.00416.52
7.4.180.0090.00316.46
7.4.160.0100.00216.54
7.4.150.0060.00616.61
7.4.140.0080.00516.29
7.4.130.0070.00716.58
7.4.120.0050.01016.49
7.4.110.0090.00616.43
7.4.100.0000.01016.44
7.4.90.0110.00316.46
7.4.80.0110.00416.41
7.4.70.0100.00516.31
7.4.60.0100.00516.52
7.4.50.0150.00016.22
7.4.40.0100.00316.39
7.4.30.0100.00316.33
7.4.20.0120.00316.36
7.4.10.0090.00616.45
7.4.00.0130.00216.47

preferences:
136.56 ms | 403 KiB | 5 Q