3v4l.org

run code in 300+ PHP versions simultaneously
<?php $parameters = array_fill(0, 100000, "test"); $orderedParameters = array(); $parameters_count = count($parameters); for ($i = 0; $i < $parameters_count; $i++) { if (!isset($orderedParameters[$i])) { $orderedParameters[$i] = array('parameter' => array('type' => 'null')); } }

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.60.0120.00922.49
8.3.50.0200.01020.06
8.3.40.0190.00622.84
8.3.30.0150.01223.11
8.3.20.0070.00424.18
8.3.10.0000.01127.75
8.3.00.0000.00927.58
8.2.180.0120.00821.86
8.2.170.0150.00622.96
8.2.160.0200.00326.15
8.2.150.0080.00424.18
8.2.140.0000.01826.41
8.2.130.0150.00626.16
8.2.120.0100.00321.50
8.2.110.0140.00724.66
8.2.100.0130.00721.75
8.2.90.0120.00023.47
8.2.80.0060.00621.63
8.2.70.0060.00621.50
8.2.60.0090.00322.04
8.2.50.0030.01321.75
8.2.40.0080.00325.17
8.2.30.0040.01122.83
8.2.20.0040.00921.61
8.2.10.0060.00622.11
8.2.00.0070.00722.15
8.1.280.0200.01725.92
8.1.270.0060.00928.55
8.1.260.0070.00728.45
8.1.250.0060.00930.17
8.1.240.0030.00934.04
8.1.230.0140.00725.91
8.1.220.0080.00626.03
8.1.210.0000.01525.61
8.1.200.0060.00925.48
8.1.190.0100.00325.38
8.1.180.0040.01125.75
8.1.170.0000.01326.71
8.1.160.0030.01029.98
8.1.150.0110.00326.85
8.1.140.0080.00825.41
8.1.130.0100.00325.66
8.1.120.0030.01225.54
8.1.110.0080.00625.51
8.1.100.0070.00725.46
8.1.90.0070.00725.53
8.1.80.0000.01325.57
8.1.70.0030.01025.46
8.1.60.0040.01525.59
8.1.50.0060.00925.47
8.1.40.0000.01425.43
8.1.30.0000.01525.42
8.1.20.0070.00725.64
8.1.10.0030.01025.59
8.1.00.0040.01225.51
8.0.300.0110.00424.86
8.0.290.0070.00724.75
8.0.280.0140.00326.22
8.0.270.0070.00725.15
8.0.260.0040.01125.15
8.0.250.0060.00924.88
8.0.240.0090.00624.82
8.0.230.0110.00424.79
8.0.220.0040.01124.73
8.0.210.0030.01224.71
8.0.200.0070.00724.86
8.0.190.0000.01424.73
8.0.180.0100.00324.71
8.0.170.0060.01024.90
8.0.160.0000.01424.84
8.0.150.0060.00624.80
8.0.140.0090.00624.66
8.0.130.0100.00321.23
8.0.120.0030.01024.82
8.0.110.0030.01024.71
8.0.100.0040.01124.62
8.0.90.0070.00724.93
8.0.80.0060.03024.74
8.0.70.0030.01024.88
8.0.60.0030.01024.75
8.0.50.0070.00724.80
8.0.30.0180.01624.90
8.0.20.0170.01625.04
8.0.10.0030.01025.01
8.0.00.0190.01224.66
7.4.330.0050.00522.93
7.4.320.0110.00424.43
7.4.300.0070.00724.45
7.4.290.0000.01424.37
7.4.280.0070.00724.46
7.4.270.0070.00724.48
7.4.260.0120.00324.36
7.4.250.0030.01224.29
7.4.240.0050.00924.50
7.4.230.0070.00724.35
7.4.220.0230.01024.49
7.4.210.0130.01324.30
7.4.200.0070.00724.28
7.4.160.0160.01624.30
7.4.150.0160.01924.58
7.4.140.0210.02024.42
7.4.130.0140.01924.46
7.4.120.0200.01224.42
7.4.110.0220.01124.41
7.4.100.0230.01924.36
7.4.90.0200.01024.47
7.4.80.0060.02624.29
7.4.70.0220.01324.53
7.4.60.0120.01824.39
7.4.50.0030.00624.29
7.4.40.0230.02324.22
7.4.30.0220.01324.23
7.4.10.0150.01222.92
7.4.00.0140.01522.72
7.3.330.0080.00821.20
7.3.320.0100.00321.21
7.3.310.0060.00924.21
7.3.300.0080.00824.11
7.3.290.0210.01224.22
7.3.280.0150.01924.18
7.3.270.0190.01324.32
7.3.260.0130.01924.29
7.3.250.0190.01624.29
7.3.240.0170.01424.46
7.3.230.0190.01624.41
7.3.210.0090.02224.27
7.3.200.0150.01824.31
7.3.190.0090.02124.10
7.3.180.0150.01924.33
7.3.170.0070.02924.35
7.3.160.0260.00624.14
7.3.130.0070.02422.76
7.3.120.0160.01622.62
7.3.110.0040.02522.82
7.3.100.0140.01022.82
7.3.90.0100.01422.59
7.3.80.0040.01822.76
7.3.70.0160.00622.64
7.3.60.0040.02122.75
7.3.50.0140.00722.71
7.3.40.0070.01422.81
7.3.30.0120.00922.70
7.3.20.0060.01926.31
7.3.10.0100.01426.32
7.3.00.0120.01126.42
7.2.330.0200.01024.46
7.2.320.0110.03424.34
7.2.310.0170.01424.56
7.2.300.0190.01324.48
7.2.290.0150.01824.68
7.2.260.0100.02122.74
7.2.250.0130.01722.87
7.2.240.0100.01322.90
7.2.230.0070.02122.83
7.2.220.0240.00722.75
7.2.210.0070.01322.84
7.2.200.0140.01422.95
7.2.190.0140.01422.91
7.2.180.0110.01422.92
7.2.170.0030.02122.79
7.2.160.0230.00623.07
7.2.150.0120.00826.61
7.2.140.0100.01326.58
7.2.130.0170.01026.61
7.2.120.0120.01326.53
7.2.110.0150.00926.70
7.2.100.0090.01326.53
7.2.90.0130.01626.50
7.2.80.0150.00926.61
7.2.70.0200.01026.70
7.2.60.0140.01326.60
7.2.50.0130.01226.58
7.2.40.0160.01126.63
7.2.30.0190.01026.45
7.2.20.0110.01526.55
7.2.10.0060.01726.55
7.2.00.0210.01127.31
7.1.330.0100.01625.63
7.1.320.0000.02225.61
7.1.310.0100.01425.42
7.1.300.0000.02525.70
7.1.290.0030.02325.63
7.1.280.0120.01525.44
7.1.270.0030.01925.55
7.1.260.0100.01625.69
7.1.250.0100.02225.69
7.1.240.0000.01825.32
7.1.230.0090.01225.58
7.1.220.0090.01525.60
7.1.210.0070.01725.55
7.1.200.0030.01825.56
7.1.190.0070.02125.73
7.1.180.0120.01225.56
7.1.170.0110.01125.47
7.1.160.0060.01925.57
7.1.150.0030.02325.55
7.1.140.0150.00725.61
7.1.130.0030.01625.62
7.1.120.0040.01425.65
7.1.110.0070.01425.73
7.1.100.0020.02226.80
7.1.90.0030.02625.12
7.1.80.0090.01525.64
7.1.70.0070.01126.19
7.1.60.0070.02126.49
7.1.50.0160.01635.13
7.1.40.0100.01325.50
7.1.30.0070.01725.59
7.1.20.0030.01725.54
7.1.10.0000.02125.38
7.1.00.0050.04928.89
7.0.330.0190.01959.50
7.0.320.0060.02959.44
7.0.310.0110.02559.43
7.0.300.0100.02759.63
7.0.290.0180.02859.41
7.0.280.0100.03059.32
7.0.270.0140.02159.24
7.0.260.0160.01659.57
7.0.250.0110.02959.43
7.0.240.0070.03059.58
7.0.230.0100.03459.18
7.0.220.0060.03259.62
7.0.210.0100.02959.64
7.0.200.1270.01858.41
7.0.190.0130.02659.67
7.0.180.0950.02959.51
7.0.170.0060.02959.43
7.0.160.0070.02659.50
7.0.150.0030.02959.48
7.0.140.0070.03359.47
7.0.130.0070.03059.64
7.0.120.0160.02359.54
7.0.110.0100.02959.42
7.0.100.0130.03259.54
7.0.90.0100.03459.48
7.0.80.0140.03759.28
7.0.70.0100.02659.66
7.0.60.0150.06360.76
7.0.50.0250.05859.69
7.0.40.0140.04925.06
7.0.30.0200.04924.94
7.0.20.0320.05825.13
7.0.10.0130.06325.10
7.0.00.0190.05925.05
5.6.400.0340.08779.25
5.6.390.0330.08679.41
5.6.380.0400.08178.96
5.6.370.0270.08479.37
5.6.360.0330.09579.28
5.6.350.0440.08779.43
5.6.340.0300.08679.41
5.6.330.0230.10578.87
5.6.320.0400.07979.43
5.6.310.0370.08479.18
5.6.300.0200.10179.38
5.6.290.0460.07379.29
5.6.280.0220.11182.38
5.6.270.0430.07379.07
5.6.260.0230.12379.31
5.6.250.0500.09479.23
5.6.240.0330.08379.46
5.6.230.0400.08379.25
5.6.220.0200.09679.25
5.6.210.0260.12382.23
5.6.200.0400.11980.92
5.6.190.0420.12582.24
5.6.180.0300.10882.18
5.6.170.0500.11182.12
5.6.160.0490.08182.05
5.6.150.0230.12480.97
5.6.140.0130.10180.91
5.6.130.0270.08780.86
5.6.120.0220.09782.55
5.6.110.0220.09082.47
5.6.100.0200.09582.54
5.6.90.0400.08582.54
5.6.80.0320.09082.14
5.6.70.0330.07979.01
5.6.60.0370.07779.19
5.6.50.0400.07378.86
5.6.40.0270.10079.25
5.6.30.0330.09079.15
5.6.20.0230.09178.92
5.6.10.0360.08879.36
5.6.00.0200.09778.87
5.5.380.0490.07879.15
5.5.370.0390.08979.30
5.5.360.0300.09978.75
5.5.350.0320.13182.16
5.5.340.0320.08680.91
5.5.330.0430.09081.92
5.5.320.0550.11481.92
5.5.310.0500.12082.03
5.5.300.0230.11881.06
5.5.290.0230.09180.87
5.5.280.0280.11382.30
5.5.270.0430.11082.45
5.5.260.0330.12382.46
5.5.250.0370.12782.21
5.5.240.0350.11482.13
5.5.230.0470.08779.31
5.5.220.0300.07979.13
5.5.210.0200.10379.18
5.5.200.0240.08878.88
5.5.190.0290.09179.05
5.5.180.0230.08979.17
5.5.170.0430.08278.96
5.5.160.0460.08979.09
5.5.150.0230.11279.22
5.5.140.0330.08978.95
5.5.130.0300.08579.33
5.5.120.0240.09179.17
5.5.110.0230.10079.31
5.5.100.0370.08379.20
5.5.90.0230.10478.90
5.5.80.0170.11478.97
5.5.70.0240.09878.67
5.5.60.0230.09778.63
5.5.50.0340.08278.80
5.5.40.0200.09079.27
5.5.30.0270.08078.89
5.5.20.0430.10779.01
5.5.10.0400.10379.32
5.5.00.0200.09678.75
5.4.450.0730.12179.99
5.4.440.0680.11379.86
5.4.430.0680.10779.97
5.4.420.0680.12480.01
5.4.410.0700.10079.97
5.4.400.0700.12479.71
5.4.390.0600.12079.54
5.4.380.0680.10979.82
5.4.370.0730.11379.61
5.4.360.0680.11079.88
5.4.350.0680.11679.76
5.4.340.0670.10879.74
5.4.330.0470.07075.55
5.4.320.0630.11179.89
5.4.310.0700.11079.73
5.4.300.0780.10079.88
5.4.290.0900.11979.90
5.4.280.0700.10879.85
5.4.270.0620.11679.64
5.4.260.0720.11779.73
5.4.250.1000.12179.83
5.4.240.0720.11979.53
5.4.230.0470.12179.69
5.4.220.0480.11179.68
5.4.210.0720.10679.88
5.4.200.0690.10778.62
5.4.190.0730.09679.75
5.4.180.0780.11579.73
5.4.170.0670.12779.86
5.4.160.0720.12079.73
5.4.150.0670.11979.82
5.4.140.0730.10378.38
5.4.130.0690.10378.40
5.4.120.0750.09878.33
5.4.110.0720.11178.58
5.4.100.0530.13078.55
5.4.90.0530.12078.51
5.4.80.0530.12178.20
5.4.70.0670.11778.43
5.4.60.0700.11478.42
5.4.50.0650.11578.43
5.4.40.0630.11378.14
5.4.30.0600.11678.42
5.4.20.0630.11278.27
5.4.10.0600.10578.37
5.4.00.0600.10778.21
5.3.290.0870.15077.86
5.3.280.1230.15778.42
5.3.270.0830.15777.50
5.3.260.1030.13777.71
5.3.250.1170.13777.57
5.3.240.1130.16077.71
5.3.230.1200.12077.57
5.3.220.1000.14077.63
5.3.210.1100.14777.52
5.3.200.1070.13777.55
5.3.190.0870.14377.57
5.3.180.0470.14377.62
5.3.170.1170.14377.74
5.3.160.1100.13377.65
5.3.150.0530.14077.51
5.3.140.1030.14077.60
5.3.130.0430.15077.66
5.3.120.0700.15777.66
5.3.110.0530.16377.60
5.3.100.0670.15077.08
5.3.90.1000.13376.95
5.3.80.0900.14777.05
5.3.70.1000.13077.05
5.3.60.0900.15376.93
5.3.50.1000.14376.94
5.3.40.0870.16376.84
5.3.30.1030.13776.90
5.3.20.0670.16076.68
5.3.10.0800.13376.55
5.3.00.0630.15076.52
5.2.170.0970.15074.73
5.2.160.0770.15774.73
5.2.150.0900.13074.58
5.2.140.0830.13074.65
5.2.130.0870.15774.83
5.2.120.0830.14774.72
5.2.110.0730.14374.67
5.2.100.0870.12774.52
5.2.90.0770.16374.60
5.2.80.0670.15074.55
5.2.70.0730.13374.49
5.2.60.0930.13074.46
5.2.50.0770.18074.63
5.2.40.0700.19074.61
5.2.30.0830.19374.54
5.2.20.0600.19375.03
5.2.10.0800.13075.07
5.2.00.0900.16094.98
5.1.60.1000.180118.54
5.1.50.1000.183118.43
5.1.40.0970.187118.34
5.1.30.1270.190118.78
5.1.20.1570.283118.72
5.1.10.1700.240118.50
5.1.00.1500.193118.46
5.0.50.1430.243117.10
5.0.40.1070.307116.82
5.0.30.0830.230116.70
5.0.20.0670.270116.77
5.0.10.1000.200116.75
5.0.00.1030.227116.63
4.4.90.1000.227114.45
4.4.80.0870.230114.42
4.4.70.0930.210114.37
4.4.60.0800.233114.42
4.4.50.1270.233114.45
4.4.40.1000.220114.43
4.4.30.1100.203114.46
4.4.20.0970.250114.47
4.4.10.1100.273114.50
4.4.00.0700.257114.40
4.3.110.1000.240114.32
4.3.100.1070.210114.31
4.3.90.0730.240114.41
4.3.80.0970.233114.39
4.3.70.1030.227114.29
4.3.60.0930.213114.38
4.3.50.1670.327114.29
4.3.40.0900.240114.32
4.3.30.0730.247113.07
4.3.20.0770.223113.12
4.3.10.0630.227113.06
4.3.00.1030.227112.98

preferences:
58.87 ms | 401 KiB | 5 Q