3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface A { public function __construct($a = array()); } class A implements A { public function __construct($a = array(), $b = array()) { } } new A;

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.0100.00716.50
8.3.50.0080.01017.38
8.3.40.0120.00318.49
8.3.30.0070.00718.30
8.3.20.0080.00018.60
8.3.10.0080.00018.50
8.3.00.0100.00019.38
8.2.180.0120.00316.38
8.2.170.0140.00322.96
8.2.160.0090.00618.77
8.2.150.0090.00024.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0140.00021.05
8.2.110.0090.00020.45
8.2.100.0040.00717.91
8.2.90.0000.00817.92
8.2.80.0030.00618.78
8.2.70.0060.00317.63
8.2.60.0030.00617.63
8.2.50.0000.00717.80
8.2.40.0000.00819.23
8.2.30.0030.00517.66
8.2.20.0030.00617.48
8.2.10.0000.00717.73
8.2.00.0040.00417.55
8.1.280.0120.00625.92
8.1.270.0050.00323.99
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0070.00323.92
8.1.230.0000.01220.88
8.1.220.0030.00518.43
8.1.210.0030.00518.77
8.1.200.0000.00817.22
8.1.190.0030.00516.88
8.1.180.0040.00418.10
8.1.170.0050.00317.62
8.1.160.0070.00018.94
8.1.150.0040.00418.44
8.1.140.0050.00317.30
8.1.130.0000.00717.36
8.1.120.0000.00717.32
8.1.110.0000.00817.40
8.1.100.0000.00717.30
8.1.90.0040.00417.31
8.1.80.0030.00317.29
8.1.70.0040.00417.30
8.1.60.0040.00417.43
8.1.50.0040.00417.39
8.1.40.0030.00617.50
8.1.30.0030.00617.47
8.1.20.0040.00417.57
8.1.10.0000.00717.39
8.1.00.0000.00817.30
8.0.300.0070.00018.77
8.0.290.0000.00716.75
8.0.280.0000.00718.56
8.0.270.0050.00317.11
8.0.260.0030.00616.72
8.0.250.0050.00216.99
8.0.240.0000.00716.92
8.0.230.0040.00416.96
8.0.220.0000.00816.91
8.0.210.0040.00416.78
8.0.200.0060.00016.82
8.0.190.0080.00016.83
8.0.180.0040.00416.96
8.0.170.0000.00816.75
8.0.160.0070.00016.82
8.0.150.0090.00016.86
8.0.140.0050.00316.88
8.0.130.0060.00013.35
8.0.120.0030.00516.85
8.0.110.0070.00016.70
8.0.100.0000.00716.87
8.0.90.0000.00716.88
8.0.80.0110.00316.84
8.0.70.0030.00516.78
8.0.60.0000.00816.82
8.0.50.0080.00016.79
8.0.30.0100.01016.98
8.0.20.0090.01017.07
8.0.10.0080.00016.89
8.0.00.0130.00616.85
7.4.330.0050.00012.86
7.4.320.0030.00316.45
7.4.300.0070.00016.53
7.4.290.0030.00316.40
7.4.280.0040.00416.42
7.4.270.0000.00616.57
7.4.260.0060.00013.23
7.4.250.0080.00016.41
7.4.240.0000.00716.59
7.4.230.0030.00316.26
7.4.220.0070.01116.34
7.4.210.0090.01216.47
7.4.200.0000.00816.31
7.4.190.0000.00816.47
7.4.160.0170.00316.45
7.4.150.0000.01716.54
7.4.140.0060.01217.86
7.4.130.0140.00816.34
7.4.120.0100.00716.35
7.4.110.0140.00316.51
7.4.100.0120.00616.49
7.4.90.0130.00616.55
7.4.80.0070.01019.39
7.4.70.0070.01016.41
7.4.60.0060.01116.37
7.4.50.0000.00516.30
7.4.40.0050.00616.57
7.4.30.0130.01016.35
7.4.00.0060.00814.84
7.3.330.0030.00313.21
7.3.320.0000.00613.07
7.3.310.0000.00716.30
7.3.300.0070.00016.10
7.3.290.0080.00616.25
7.3.280.0080.00516.20
7.3.270.0170.00016.28
7.3.260.0160.00916.35
7.3.240.0110.00616.31
7.3.230.0090.01316.33
7.3.210.0220.00016.36
7.3.200.0090.00616.41
7.3.190.0100.00716.38
7.3.180.0070.01016.44
7.3.170.0090.00916.45
7.3.160.0160.00616.37
7.3.120.0100.00614.84
7.3.110.0070.01114.74
7.3.100.0120.00014.67
7.3.90.0060.01014.54
7.3.80.0090.00614.77
7.3.70.0060.00914.49
7.3.60.0000.01614.75
7.3.50.0000.01114.63
7.3.40.0130.00614.75
7.3.30.0090.00914.49
7.3.20.0030.00716.22
7.3.10.0110.00416.27
7.3.00.0100.00316.63
7.2.330.0090.01216.24
7.2.320.0130.00616.45
7.2.310.0090.01216.49
7.2.300.0080.01616.39
7.2.290.0070.01416.37
7.2.250.0100.00314.70
7.2.240.0030.01715.11
7.2.230.0130.00014.91
7.2.220.0060.01014.77
7.2.210.0070.01014.82
7.2.200.0040.01414.78
7.2.190.0040.00714.73
7.2.180.0060.01314.96
7.2.170.0070.01014.87
7.2.80.0100.00616.65
7.2.60.0080.00416.50
7.1.330.0030.01115.39
7.1.320.0000.00915.47
7.1.310.0090.00915.55
7.1.300.0030.01015.60
7.1.290.0090.00615.56
7.1.280.0090.00915.18
7.1.270.0070.00715.53
7.1.260.0070.00315.50
7.1.200.0000.01115.58
7.1.100.0030.00717.84
7.1.70.0000.00716.90
7.1.60.0090.01619.25
7.1.50.0070.00316.93
7.1.00.0030.07022.33
7.0.200.0040.00416.36
7.0.140.0100.07022.04
7.0.120.0070.06322.14
7.0.60.0130.06320.06
7.0.50.0100.06717.96
7.0.40.0100.08320.11
7.0.30.0200.06020.24
7.0.20.0170.04720.15
7.0.10.0070.05720.26
7.0.00.0030.04020.26
5.6.280.0000.07720.81
5.6.210.0100.05320.54
5.6.200.0070.07018.19
5.6.190.0170.07720.49
5.6.180.0270.07320.63
5.6.170.0230.04020.50
5.6.160.0100.08720.54
5.6.150.0030.08018.19
5.6.140.0030.09018.28
5.6.130.0030.05318.18
5.6.120.0070.08320.90
5.6.110.0030.04320.99
5.6.100.0100.08721.11
5.6.90.0100.08321.08
5.6.80.0100.05720.43
5.5.350.0270.08020.35
5.5.340.0000.07717.94
5.5.330.0070.07020.21
5.5.320.0400.07020.36
5.5.310.0330.08720.34
5.5.300.0070.04717.91
5.5.290.0100.06318.04
5.5.280.0000.06020.85
5.5.270.0070.07020.96
5.5.260.0000.05320.84
5.5.250.0100.07720.59
5.5.240.0000.04320.26
5.4.450.0070.06719.25
5.4.440.0030.08019.30
5.4.430.0070.06319.32
5.4.420.0030.04319.47
5.4.410.0030.04319.12
5.4.400.0030.04018.98
5.4.390.0100.03718.98
5.4.380.0000.04019.14
5.4.370.0070.04319.25
5.4.360.0100.03018.85
5.4.350.0030.03719.11
5.4.340.0070.04018.85
5.4.320.0030.03718.85
5.4.310.0070.03319.16
5.4.300.0070.04018.87
5.4.290.0070.03319.15
5.4.280.0100.03018.86
5.4.270.0070.03319.23
5.4.260.0030.03719.20
5.4.250.0070.03319.15
5.4.240.0070.03319.14
5.4.230.0030.03719.14
5.4.220.0030.03718.84
5.4.210.0070.03319.07
5.4.200.0070.03319.14
5.4.190.0030.03719.13
5.4.180.0100.04019.23
5.4.170.0070.05018.88
5.4.160.0030.04719.13
5.4.150.0130.05018.82
5.4.140.0030.05316.55
5.4.130.0030.04016.35
5.4.120.0070.07316.39
5.4.110.0130.07016.30
5.4.100.0130.05716.47
5.4.90.0200.06016.45
5.4.80.0070.04716.39
5.4.70.0300.05316.45
5.4.60.0100.05316.65
5.4.50.0070.04016.64
5.4.40.0130.06716.36
5.4.30.0030.07316.27
5.4.20.0100.06716.35
5.4.10.0030.07716.44
5.4.00.0030.05715.77
5.3.290.0030.03714.67
5.3.280.0030.03714.61
5.3.270.0070.06014.66
5.3.260.0000.04314.68
5.3.250.0030.06014.60
5.3.240.0070.06714.63
5.3.230.0030.05314.63
5.3.220.0100.04314.56
5.3.210.0030.08314.46
5.3.200.0130.06714.45
5.3.190.0030.07714.49
5.3.180.0070.06014.57
5.3.170.0130.05714.59
5.3.160.0030.07714.64
5.3.150.0030.08014.57
5.3.140.0170.07014.61
5.3.130.0200.06014.44
5.3.120.0070.07314.70
5.3.110.0100.05714.60
5.3.100.0030.04014.13
5.3.90.0200.06014.08
5.3.80.0170.04314.03
5.3.70.0230.05314.06
5.3.60.0100.03314.16
5.3.50.0130.04714.01
5.3.40.0130.04313.97
5.3.30.0030.07313.91
5.3.20.0100.07313.72
5.3.10.0030.05313.63
5.3.00.0000.08013.65
5.2.170.0000.05711.15
5.2.160.0030.04311.23
5.2.150.0000.03311.06
5.2.140.0030.05011.29
5.2.130.0170.05011.00
5.2.120.0100.02711.11
5.2.110.0030.04311.10
5.2.100.0000.04011.11
5.2.90.0030.05311.03
5.2.80.0030.03711.09
5.2.70.0000.03311.11
5.2.60.0100.05711.11
5.2.50.0030.03711.08
5.2.40.0170.05010.96
5.2.30.0030.07011.13
5.2.20.0100.03311.05
5.2.10.0070.05311.01
5.2.00.0070.06010.76
5.1.60.0070.02310.15
5.1.50.0000.06710.06
5.1.40.0030.03710.04
5.1.30.0030.05710.30
5.1.20.0100.05310.41
5.1.10.0000.04010.21
5.1.00.0030.05710.12
5.0.50.0100.0479.09
5.0.40.0030.0409.09
5.0.30.0030.0439.09
5.0.20.0030.0279.09
5.0.10.0100.0279.09
5.0.00.0000.0709.09
4.4.90.0030.0139.09
4.4.80.0030.0209.09
4.4.70.0030.0379.09
4.4.60.0070.0339.09
4.4.50.0030.0339.09
4.4.40.0000.0439.09
4.4.30.0000.0179.09
4.4.20.0100.0209.09
4.4.10.0000.0209.09
4.4.00.0030.0509.09
4.3.110.0000.0339.09
4.3.100.0070.0279.09
4.3.90.0030.0239.09
4.3.80.0070.0439.09
4.3.70.0130.0239.09
4.3.60.0130.0279.09
4.3.50.0030.0279.09
4.3.40.0000.0409.09
4.3.30.0000.0339.09
4.3.20.0000.0179.09
4.3.10.0000.0379.09
4.3.00.0030.0379.09

preferences:
46.59 ms | 401 KiB | 5 Q