3v4l.org

run code in 300+ PHP versions simultaneously
<?php $defaultOptions = array( 'listClass' => 'default', 'test' => 'test' ); $options = array( 'listClass' => 'new', 'id' => '1' ); $options = $options + $defaultOptions;

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.40.0140.00718.63
8.3.30.0070.00718.79
8.3.20.0030.00520.04
8.3.10.0070.00023.53
8.3.00.0080.00019.13
8.2.170.0040.01122.96
8.2.160.0030.01220.31
8.2.150.0070.00324.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0030.00720.97
8.2.110.0030.00620.32
8.2.100.0040.00817.91
8.2.90.0030.00517.75
8.2.80.0000.00917.97
8.2.70.0000.00817.91
8.2.60.0040.00418.03
8.2.50.0030.00518.10
8.2.40.0060.00319.35
8.2.30.0050.00217.96
8.2.20.0000.00717.61
8.2.10.0030.00518.10
8.2.00.0040.00417.60
8.1.270.0000.00823.89
8.1.260.0000.00726.35
8.1.250.0000.00728.09
8.1.240.0000.01022.02
8.1.230.0090.00323.89
8.1.220.0030.00617.74
8.1.210.0080.00018.77
8.1.200.0080.00017.10
8.1.190.0090.00017.23
8.1.180.0000.00918.10
8.1.170.0040.00418.66
8.1.160.0000.00721.86
8.1.150.0050.00318.75
8.1.140.0000.00717.38
8.1.130.0070.00017.68
8.1.120.0080.00017.29
8.1.110.0000.00717.26
8.1.100.0080.00017.38
8.1.90.0000.00717.27
8.1.80.0030.00517.31
8.1.70.0070.00017.32
8.1.60.0050.00317.46
8.1.50.0050.00317.41
8.1.40.0040.00417.34
8.1.30.0040.00417.53
8.1.20.0040.00417.47
8.1.10.0080.00017.43
8.1.00.0040.00417.25
8.0.300.0040.00419.74
8.0.290.0000.00716.75
8.0.280.0070.00018.37
8.0.270.0030.00317.23
8.0.260.0000.00617.18
8.0.250.0070.00016.97
8.0.240.0000.00817.02
8.0.230.0000.00716.92
8.0.220.0000.00716.90
8.0.210.0000.00716.76
8.0.200.0030.00616.88
8.0.190.0080.00016.84
8.0.180.0040.00416.78
8.0.170.0000.00716.86
8.0.160.0000.00716.89
8.0.150.0000.00716.72
8.0.140.0070.00016.89
8.0.130.0030.00313.35
8.0.120.0040.00416.80
8.0.110.0000.00716.89
8.0.100.0070.00016.82
8.0.90.0040.00416.74
8.0.80.0030.01316.82
8.0.70.0000.00716.83
8.0.60.0060.00316.93
8.0.50.0000.00716.76
8.0.30.0130.00916.97
8.0.20.0120.00817.40
8.0.10.0030.00516.99
8.0.00.0050.01316.65
7.4.330.0000.00515.00
7.4.320.0030.00316.52
7.4.300.0000.00616.41
7.4.290.0070.00016.56
7.4.280.0040.00416.51
7.4.270.0000.00716.36
7.4.260.0000.00716.52
7.4.250.0060.00316.46
7.4.240.0050.00216.41
7.4.230.0030.00316.52
7.4.220.0090.00916.50
7.4.210.0110.00316.60
7.4.200.0070.00016.50
7.4.160.0140.00716.21
7.4.150.0180.00517.40
7.4.140.0130.00917.86
7.4.130.0150.00316.52
7.4.120.0040.01416.41
7.4.110.0090.00916.39
7.4.100.0090.00916.43
7.4.90.0030.01416.39
7.4.80.0070.01619.39
7.4.70.0130.00416.33
7.4.60.0060.01016.33
7.4.50.0050.00316.12
7.4.40.0140.00316.21
7.4.30.0070.01016.43
7.4.00.0070.00714.71
7.3.330.0020.00213.11
7.3.320.0060.00013.04
7.3.310.0000.00716.16
7.3.300.0030.00316.09
7.3.290.0130.00316.18
7.3.280.0070.00916.22
7.3.270.0050.01217.40
7.3.260.0110.01116.26
7.3.250.0110.00616.47
7.3.240.0080.00816.49
7.3.230.0090.01116.39
7.3.210.0100.00716.19
7.3.200.0100.00719.39
7.3.190.0060.01116.21
7.3.180.0070.01016.23
7.3.170.0040.01116.27
7.3.160.0070.01016.16
7.3.10.0060.00615.94
7.3.00.0100.00716.30
7.2.330.0040.01216.45
7.2.320.0030.01416.55
7.2.310.0120.01216.54
7.2.300.0100.00616.50
7.2.290.0110.00716.44
7.2.130.0110.00416.31
7.2.120.0170.00016.64
7.2.110.0090.00516.25
7.2.100.0140.00815.79
7.2.90.0100.00316.47
7.2.80.0140.00716.34
7.2.70.0070.00716.23
7.2.60.0210.00016.37
7.2.50.0120.01216.41
7.2.40.0170.00816.58
7.2.30.0130.00316.71
7.2.20.0110.00416.25
7.2.10.0100.00616.17
7.2.00.0050.00817.61
7.1.250.0130.00615.11
7.1.100.0030.01217.96
7.1.70.0000.00716.88
7.1.60.0060.01619.46
7.1.50.0220.01434.41
7.1.00.0070.07322.48
7.0.200.0070.00316.35
7.0.140.0070.07022.00
7.0.110.0630.07019.84
7.0.100.0730.06719.90
7.0.90.0570.06019.88
7.0.80.0570.08019.77
7.0.70.0530.07719.99
7.0.60.0500.07319.59
7.0.50.0600.08020.28
7.0.40.0070.08020.28
7.0.30.0070.08320.09
7.0.20.0100.06720.12
7.0.10.0100.08320.01
7.0.00.0100.07720.21
5.6.280.0000.07321.14
5.6.260.0070.09020.63
5.6.250.0100.06320.68
5.6.240.0130.07720.66
5.6.230.0070.05020.64
5.6.220.0070.06320.48
5.6.210.0130.08020.56
5.6.200.0200.07321.13
5.6.190.0070.08320.95
5.6.180.0070.08321.01
5.6.170.0030.05021.01
5.6.160.0100.07321.02
5.6.150.0000.07721.09
5.6.140.0170.06721.02
5.6.130.0130.07720.97
5.6.120.0100.07720.97
5.6.110.0270.06721.05
5.6.100.0100.08021.07
5.6.90.0130.06321.06
5.6.80.0170.06320.59
5.6.70.0070.05020.32
5.6.60.0000.04720.39
5.6.50.0130.07720.59
5.6.40.0170.06720.47
5.6.30.0070.07320.38
5.6.20.0100.06720.63
5.6.10.0070.06720.25
5.6.00.0100.06720.47
5.5.380.0030.08320.20
5.5.370.0070.08020.42
5.5.360.0100.07720.25
5.5.350.0130.08320.32
5.5.340.0170.07020.76
5.5.330.0100.08020.89
5.5.320.0000.09020.96
5.5.310.0070.08020.77
5.5.300.0070.07720.79
5.5.290.0170.07721.00
5.5.280.0130.08320.86
5.5.270.0130.07720.71
5.5.260.0100.05720.95
5.5.250.0000.09020.84
5.5.240.0170.06720.12
5.5.230.0170.07320.27
5.5.220.0030.07320.17
5.5.210.0130.06320.04
5.5.200.0130.04020.16
5.5.190.0130.07320.31
5.5.180.0100.07720.02
5.5.160.0100.08020.08
5.5.150.0030.07720.04
5.5.140.0070.07720.23
5.5.130.0130.07020.29
5.5.120.0100.07020.24
5.5.110.0070.06720.23
5.5.100.0070.07320.00
5.5.90.0030.07720.18
5.5.80.0000.08320.24
5.5.70.0130.07020.06
5.5.60.0100.08020.23
5.5.50.0000.08720.08
5.5.40.0130.06719.99
5.5.30.0100.06020.20
5.5.20.0130.04320.02
5.5.10.0030.08020.10
5.5.00.0070.05020.12
5.4.450.0000.08319.33
5.4.440.0070.06719.40
5.4.430.0100.06719.41
5.4.420.0030.07719.43
5.4.410.0070.07719.18
5.4.400.0100.07319.16
5.4.390.0030.07019.12
5.4.380.0070.07319.12
5.4.370.0070.06718.96
5.4.360.0200.06319.03
5.4.350.0000.07718.95
5.4.340.0030.07719.08
5.4.320.0170.06319.25
5.4.310.0030.04719.16
5.4.300.0130.07719.21
5.4.290.0030.04719.00
5.4.280.0130.07718.93
5.4.270.0130.06019.30
5.4.260.0000.07719.00
5.4.250.0030.07319.27
5.4.240.0030.08019.02
5.4.230.0000.08319.07
5.4.220.0100.08018.95
5.4.210.0130.06719.00
5.4.200.0070.04718.99
5.4.190.0070.08018.99
5.4.180.0100.07318.99
5.4.170.0130.07019.02
5.4.160.0030.07319.09
5.4.150.0070.07319.09
5.4.140.0100.06316.49
5.4.130.0070.06716.52
5.4.120.0070.03316.55
5.4.110.0100.07016.19
5.4.100.0100.06716.28
5.4.90.0170.06316.15
5.4.80.0070.04316.30
5.4.70.0030.07316.36
5.4.60.0070.07716.45
5.4.50.0030.07016.21
5.4.40.0070.07316.49
5.4.30.0030.05016.25
5.4.20.0100.07316.11
5.4.10.0130.06716.37
5.4.00.0130.04315.82
5.3.290.0070.07314.74
5.3.280.0030.07714.53
5.3.270.0130.07014.66
5.3.260.0030.07014.49
5.3.250.0130.07314.53
5.3.240.0070.06714.39
5.3.230.0130.07014.38
5.3.220.0130.05714.55
5.3.210.0100.07014.58
5.3.200.0070.06714.46
5.3.190.0070.07714.50
5.3.180.0170.06714.55
5.3.170.0170.06714.42
5.3.160.0070.07014.62
5.3.150.0100.06714.63
5.3.140.0030.07714.62
5.3.130.0100.07314.55
5.3.120.0070.05714.42
5.3.110.0100.04314.48
5.3.100.0030.07714.10
5.3.90.0100.07713.96
5.3.80.0100.06313.93
5.3.70.0100.07013.94
5.3.60.0030.07713.90
5.3.50.0000.07713.88
5.3.40.0030.07713.74
5.3.30.0200.06013.76
5.3.20.0030.07313.58
5.3.10.0000.08013.53
5.3.00.0100.07013.69
5.2.170.0070.06011.74
5.2.160.0070.03311.74
5.2.150.0030.06711.74
5.2.140.0000.05311.74
5.2.130.0100.05711.74
5.2.120.0030.06311.74
5.2.110.0030.06711.74
5.2.100.0100.04711.74
5.2.90.0100.05711.74
5.2.80.0030.06311.74
5.2.70.0030.06311.74
5.2.60.0000.04011.74
5.2.50.0100.05711.74
5.2.40.0070.03311.74
5.2.30.0070.05711.74
5.2.20.0100.05711.74
5.2.10.0000.06011.74
5.2.00.0030.06311.74
5.1.60.0070.04311.74
5.1.50.0100.02311.74
5.1.40.0070.05011.74
5.1.30.0030.05311.74
5.1.20.0030.03311.74
5.1.10.0130.04711.74
5.1.00.0070.05311.74
5.0.50.0070.04311.74
5.0.40.0030.04311.74
5.0.30.0070.06011.74
5.0.20.0000.04311.74
5.0.10.0030.04311.74
5.0.00.0030.06011.74
4.4.90.0000.02311.74
4.4.80.0030.03311.74
4.4.70.0030.03711.74
4.4.60.0070.02311.74
4.4.50.0000.03711.74
4.4.40.0000.05711.74
4.4.30.0030.03311.74
4.4.20.0000.01711.74
4.4.10.0000.04011.74
4.4.00.0030.05011.74
4.3.110.0000.02311.74
4.3.100.0030.03311.74
4.3.90.0030.03311.74
4.3.80.0000.04311.74
4.3.70.0030.02311.74
4.3.60.0070.03311.74
4.3.50.0000.03711.74
4.3.40.0000.05011.74
4.3.30.0000.03711.74
4.3.20.0030.03711.74
4.3.10.0030.03011.74
4.3.00.0000.03011.74

preferences:
49.01 ms | 400 KiB | 5 Q