3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo {} class Bar extends Foo {} function foo (Foo ...$params) { var_dump($params); } foo(new Foo, new Bar);

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.90.0090.00626.77
8.3.80.0080.00318.30
8.3.70.0110.00416.63
8.3.60.0140.00718.27
8.3.50.0130.00521.99
8.3.40.0110.00418.73
8.3.30.0070.00720.31
8.3.20.0080.00020.20
8.3.10.0080.00021.96
8.3.00.0050.00322.49
8.2.210.0080.00026.77
8.2.200.0030.00616.25
8.2.190.0150.00616.58
8.2.180.0040.01118.16
8.2.170.0100.00322.96
8.2.160.0040.01120.53
8.2.150.0000.00924.18
8.2.140.0040.00424.66
8.2.130.0090.00026.16
8.2.120.0060.00320.93
8.2.110.0000.00920.93
8.2.100.0040.00817.59
8.2.90.0050.00317.72
8.2.80.0030.00817.97
8.2.70.0000.00817.38
8.2.60.0030.00517.50
8.2.50.0050.00318.07
8.2.40.0050.00318.03
8.2.30.0040.00419.45
8.2.20.0000.00717.60
8.2.10.0070.00017.57
8.2.00.0040.00417.49
8.1.290.0070.00330.84
8.1.280.0100.00325.92
8.1.270.0080.00023.99
8.1.260.0080.00026.35
8.1.250.0050.00228.09
8.1.240.0060.00323.88
8.1.230.0060.00622.67
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0000.00817.23
8.1.190.0080.00017.23
8.1.180.0080.00018.10
8.1.170.0040.00418.36
8.1.160.0070.00018.70
8.1.150.0000.00818.47
8.1.140.0000.00717.29
8.1.130.0040.00417.32
8.1.120.0030.00517.31
8.1.110.0000.00717.36
8.1.100.0040.00417.39
8.1.90.0040.00417.40
8.1.80.0000.00817.33
8.1.70.0070.00017.15
8.1.60.0000.00817.44
8.1.50.0000.00717.32
8.1.40.0000.00817.48
8.1.30.0000.00717.55
8.1.20.0090.00017.52
8.1.10.0040.00417.52
8.1.00.0030.00617.37
8.0.300.0080.00019.91
8.0.290.0040.00416.58
8.0.280.0000.00718.48
8.0.270.0030.00317.10
8.0.260.0060.00016.64
8.0.250.0040.00416.79
8.0.240.0030.00316.81
8.0.230.0000.00716.77
8.0.220.0000.00716.88
8.0.210.0070.00016.84
8.0.200.0000.00616.84
8.0.190.0040.00416.83
8.0.180.0020.00516.86
8.0.170.0000.00816.89
8.0.160.0000.00716.75
8.0.150.0000.00816.68
8.0.140.0050.00316.78
8.0.130.0000.00613.21
8.0.120.0000.00716.68
8.0.110.0000.00816.74
8.0.100.0000.00716.77
8.0.90.0050.00216.72
8.0.80.0030.01416.80
8.0.70.0040.00416.71
8.0.60.0000.01016.78
8.0.50.0000.00716.89
8.0.30.0110.00717.06
8.0.20.0060.01217.40
8.0.10.0000.00716.91
8.0.00.0040.01316.81
7.4.330.0000.00615.00
7.4.320.0000.00716.43
7.4.300.0030.00316.61
7.4.290.0000.00716.59
7.4.280.0040.00416.55
7.4.270.0000.00616.41
7.4.260.0080.00013.34
7.4.250.0030.00316.46
7.4.240.0000.00716.48
7.4.230.0030.00316.49
7.4.220.0080.01116.61
7.4.210.0070.00716.55
7.4.200.0030.00416.40
7.4.190.0060.00316.64
7.4.160.0030.01316.39
7.4.150.0100.00717.40
7.4.140.0100.00617.86
7.4.130.0050.01216.57
7.4.120.0090.01316.54
7.4.110.0130.00316.61
7.4.100.0030.01716.59
7.4.90.0060.01216.38
7.4.80.0130.00719.39
7.4.70.0100.01016.44
7.4.60.0100.00616.40
7.4.50.0060.00316.37
7.4.40.0100.00722.77
7.4.30.0080.00916.42
7.4.00.0000.01314.96
7.3.330.0030.00313.01
7.3.320.0000.00512.99
7.3.310.0000.00716.33
7.3.300.0030.00316.27
7.3.290.0040.01416.13
7.3.280.0080.00716.19
7.3.270.0090.00917.40
7.3.260.0070.01016.43
7.3.250.0070.00916.20
7.3.240.0160.01016.21
7.3.230.0090.01216.39
7.3.210.0080.00816.34
7.3.200.0170.00719.39
7.3.190.0050.01416.20
7.3.180.0090.00616.55
7.3.170.0100.00716.27
7.3.160.0130.00316.23
7.3.120.0000.01114.81
7.3.110.0100.00314.68
7.3.100.0030.01014.76
7.3.90.0050.00814.93
7.3.80.0000.00914.94
7.3.70.0030.00914.72
7.3.60.0060.01014.47
7.3.50.0030.00714.71
7.3.40.0030.00914.35
7.3.30.0060.00314.51
7.3.20.0100.00616.56
7.3.10.0070.00316.59
7.3.00.0120.00316.62
7.2.330.0120.00616.60
7.2.320.0160.00616.18
7.2.310.0030.01416.51
7.2.300.0030.01316.61
7.2.290.0120.00316.33
7.2.240.0000.01114.79
7.2.230.0030.01014.71
7.2.220.0000.01414.83
7.2.210.0060.00614.77
7.2.200.0090.00314.80
7.2.190.0030.00714.92
7.2.180.0060.00914.75
7.2.170.0110.00414.57
7.2.160.0060.00614.83
7.2.150.0040.00816.70
7.2.140.0060.01016.88
7.2.130.0060.00316.60
7.2.120.0070.00716.87
7.2.110.0000.01216.46
7.2.100.0030.01316.53
7.2.90.0060.00616.63
7.2.80.0120.00016.76
7.2.70.0070.00316.50
7.2.60.0060.00616.77
7.2.50.0000.00916.71
7.2.40.0030.00716.51
7.2.30.0000.01416.92
7.2.20.0030.01016.50
7.2.10.0030.01216.54
7.2.00.0050.01017.95
7.1.330.0000.01315.69
7.1.320.0030.00715.57
7.1.310.0070.00315.91
7.1.300.0030.00915.54
7.1.290.0060.00315.50
7.1.280.0090.00615.89
7.1.270.0090.00615.78
7.1.260.0040.01415.55
7.1.250.0120.00315.70
7.1.100.0090.00317.67
7.1.70.0040.00417.11
7.1.60.0070.00416.89
7.1.50.0100.01316.87
7.1.00.0030.03322.30
7.0.200.0040.01116.63
7.0.140.0030.07322.21
7.0.100.0070.04720.19
7.0.90.0100.07320.00
7.0.80.0030.07019.97
7.0.70.0130.08719.99
7.0.60.0030.04719.93
7.0.50.0170.08720.20
7.0.40.0070.07720.10
7.0.30.0070.07720.13
7.0.20.0130.07020.09
7.0.10.0070.08319.94
7.0.00.0030.05320.13
5.6.250.0100.07720.54
5.6.240.0100.08020.64
5.6.230.0170.07320.64
5.6.220.0070.06020.62
5.6.210.0070.07320.66
5.6.200.0100.08321.06
5.6.190.0130.05320.95
5.6.180.0130.07021.07
5.6.170.0100.06721.00
5.6.160.0100.06721.05
5.6.150.0070.08721.02
5.6.140.0130.07021.11
5.6.130.0070.07020.95
5.6.120.0170.04021.05
5.6.110.0070.08021.02
5.6.100.0100.08021.03
5.6.90.0070.08721.07
5.6.80.0100.07320.44
5.6.70.0070.08020.43
5.6.60.0070.07720.40
5.6.50.0070.08020.46
5.6.40.0030.07720.36
5.6.30.0070.07720.39
5.6.20.0130.06720.32
5.6.10.0200.03720.41
5.6.00.0230.06720.29
5.5.380.0100.08320.39
5.5.370.0070.04720.35
5.5.360.0100.07020.41
5.5.350.0030.07720.44
5.5.340.0130.07320.88
5.5.330.0070.07020.91
5.5.320.0100.04320.74
5.5.310.0100.07320.80
5.5.300.0100.08020.89
5.5.290.0070.08020.79
5.5.280.0100.08020.80
5.5.270.0100.09020.80
5.5.260.0100.07020.73
5.5.250.0100.08020.74
5.5.240.0170.04020.19
5.5.230.0130.07320.24
5.5.220.0030.05020.15
5.5.210.0070.07320.24
5.5.200.0030.08020.23
5.5.190.0100.07720.18
5.5.180.0030.06020.29
5.5.160.0130.07020.26
5.5.150.0100.07020.24
5.5.140.0100.05020.21
5.5.130.0030.05320.13
5.5.120.0170.06719.98
5.5.110.0100.07320.23
5.5.100.0030.08020.12
5.5.90.0070.07720.18
5.5.80.0130.07320.07
5.5.70.0100.04019.97
5.5.60.0000.04320.00
5.5.50.0030.04020.15
5.5.40.0000.04320.06
5.5.30.0000.04320.14
5.5.20.0030.04020.15
5.5.10.0200.02319.93
5.5.00.0100.03019.97
5.4.450.0070.08019.45
5.4.440.0000.07719.37
5.4.430.0070.07319.37
5.4.420.0070.07319.46
5.4.410.0100.07719.08
5.4.400.0100.05319.14
5.4.390.0100.07019.18
5.4.380.0070.07718.91
5.4.370.0100.07719.04
5.4.360.0070.06719.23
5.4.350.0070.04018.87
5.4.340.0130.06319.14
5.4.320.0070.08019.03
5.4.310.0200.05019.16
5.4.300.0070.07718.96
5.4.290.0130.06718.88
5.4.280.0030.08719.25
5.4.270.0070.04719.21
5.4.260.0030.08019.13
5.4.250.0130.07019.20
5.4.240.0100.04319.23
5.4.230.0030.04019.13
5.4.220.0070.03719.03
5.4.210.0030.04019.23
5.4.200.0000.04019.09
5.4.190.0100.03018.94
5.4.180.0100.04019.13
5.4.170.0030.03718.96
5.4.160.0000.04019.19
5.4.150.0000.04018.93
5.4.140.0030.04316.52
5.4.130.0070.06016.55
5.4.120.0030.03316.45
5.4.110.0070.03316.42
5.4.100.0000.05316.56
5.4.90.0000.03716.59
5.4.80.0070.03016.51
5.4.70.0070.04316.47
5.4.60.0100.02716.25
5.4.50.0100.02716.31
5.4.40.0070.03016.36
5.4.30.0030.03716.47
5.4.20.0170.02016.32
5.4.10.0070.03316.46
5.4.00.0000.03715.91
5.3.290.0170.06714.77
5.3.280.0130.04314.53
5.3.270.0000.05014.66
5.3.260.0030.03714.74
5.3.250.0070.03314.67
5.3.240.0000.04014.73
5.3.230.0030.06014.66
5.3.220.0030.03314.59
5.3.210.0030.03314.55
5.3.200.0130.06014.60
5.3.190.0030.03714.65
5.3.180.0000.04014.66
5.3.170.0070.03714.45
5.3.160.0030.03314.57
5.3.150.0100.07014.70
5.3.140.0030.03714.51
5.3.130.0070.05314.64
5.3.120.0030.03714.61
5.3.110.0030.04014.50
5.3.100.0030.03314.14
5.3.90.0000.04014.04
5.3.80.0030.04014.00
5.3.70.0100.02314.04
5.3.60.0000.04314.01
5.3.50.0100.04313.96
5.3.40.0000.03313.84
5.3.30.0100.04313.80
5.3.20.0030.03313.82
5.3.10.0000.03713.75
5.3.00.0070.04013.53
5.2.170.0030.03012.10
5.2.160.0070.02312.10
5.2.150.0000.05312.10
5.2.140.0000.03012.10
5.2.130.0030.02712.10
5.2.120.0030.03012.10
5.2.110.0070.02012.10
5.2.100.0000.03012.10
5.2.90.0000.03012.10
5.2.80.0000.03012.10
5.2.70.0000.03012.10
5.2.60.0000.03012.10
5.2.50.0000.03012.10
5.2.40.0000.02712.10
5.2.30.0000.03712.10
5.2.20.0000.04312.10
5.2.10.0030.03012.10
5.2.00.0000.03012.10
5.1.60.0030.02312.10
5.1.50.0000.02712.10
5.1.40.0070.03312.10
5.1.30.0030.05012.10
5.1.20.0030.05712.10
5.1.10.0100.04312.10
5.1.00.0070.05012.10
5.0.50.0070.04012.10
5.0.40.0100.03712.10
5.0.30.0070.03312.10
5.0.20.0070.04012.10
5.0.10.0030.04012.10
5.0.00.0000.06712.10
4.4.90.0070.01012.10
4.4.80.0030.01012.10
4.4.70.0000.01712.10
4.4.60.0030.01712.10
4.4.50.0000.01312.10
4.4.40.0000.02312.10
4.4.30.0000.04012.10
4.4.20.0030.03012.10
4.4.10.0000.03712.10
4.4.00.0070.04312.10
4.3.110.0000.04012.10
4.3.100.0000.03012.10
4.3.90.0000.03012.10
4.3.80.0100.02012.10
4.3.70.0000.03712.10
4.3.60.0030.03712.10
4.3.50.0030.03012.10
4.3.40.0070.04712.10
4.3.30.0000.02712.10
4.3.20.0030.01712.10
4.3.10.0030.02012.10
4.3.00.0000.03012.10

preferences:
31.5 ms | 401 KiB | 5 Q