3v4l.org

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

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.0040.01218.55
8.3.50.0090.00521.08
8.3.40.0110.00418.73
8.3.30.0140.00018.83
8.3.20.0100.00320.30
8.3.10.0080.00022.09
8.3.00.0000.00722.50
8.2.180.0150.00016.75
8.2.170.0090.01218.96
8.2.160.0180.00322.96
8.2.150.0070.00024.18
8.2.140.0060.00924.66
8.2.130.0000.00726.16
8.2.120.0060.00319.65
8.2.110.0060.00322.29
8.2.100.0030.00719.46
8.2.90.0040.00419.28
8.2.80.0040.00417.97
8.2.70.0000.00817.35
8.2.60.0090.00017.80
8.2.50.0030.00618.07
8.2.40.0000.00918.03
8.2.30.0000.00717.99
8.2.20.0040.00417.69
8.2.10.0000.00717.73
8.2.00.0030.00517.65
8.1.280.0140.00325.92
8.1.270.0000.00920.21
8.1.260.0000.00726.35
8.1.250.0050.00228.09
8.1.240.0100.00023.80
8.1.230.0080.00319.18
8.1.220.0060.00317.74
8.1.210.0080.00018.77
8.1.200.0030.00617.23
8.1.190.0000.00817.30
8.1.180.0040.00418.60
8.1.170.0080.00018.66
8.1.160.0040.00422.17
8.1.150.0070.00018.48
8.1.140.0000.00717.29
8.1.130.0060.00317.71
8.1.120.0050.00217.41
8.1.110.0040.00417.34
8.1.100.0000.00717.38
8.1.90.0040.00417.41
8.1.80.0000.00717.34
8.1.70.0040.00417.39
8.1.60.0050.00317.39
8.1.50.0000.00817.50
8.1.40.0040.00417.44
8.1.30.0000.00717.53
8.1.20.0040.00417.59
8.1.10.0060.00317.31
8.1.00.0040.00417.38
8.0.300.0000.00718.77
8.0.290.0070.00017.18
8.0.280.0030.00318.37
8.0.270.0000.00717.09
8.0.260.0000.00616.85
8.0.250.0030.00316.86
8.0.240.0080.00016.84
8.0.230.0000.00716.95
8.0.220.0030.00316.92
8.0.210.0030.00316.88
8.0.200.0070.00216.63
8.0.190.0000.00717.02
8.0.180.0040.00416.94
8.0.170.0000.00816.75
8.0.160.0070.00016.78
8.0.150.0050.00316.73
8.0.140.0060.00316.82
8.0.130.0060.00013.35
8.0.120.0030.00616.86
8.0.110.0040.00416.84
8.0.100.0070.00016.68
8.0.90.0000.00716.86
8.0.80.0070.00716.86
8.0.70.0020.00516.66
8.0.60.0000.00716.82
8.0.50.0040.00416.93
8.0.30.0130.00617.05
8.0.20.0070.01017.40
8.0.10.0000.00717.07
8.0.00.0120.00516.78
7.4.330.0030.00315.00
7.4.320.0030.00316.49
7.4.300.0060.00016.44
7.4.290.0070.00016.43
7.4.280.0070.00016.39
7.4.270.0000.00616.46
7.4.260.0030.00316.51
7.4.250.0000.00716.44
7.4.240.0040.00416.49
7.4.230.0030.00316.34
7.4.220.0060.01216.48
7.4.210.0060.00816.50
7.4.200.0000.00716.42
7.4.190.0000.00716.57
7.4.160.0080.00816.50
7.4.150.0100.00717.40
7.4.140.0080.01417.86
7.4.130.0080.00816.43
7.4.120.0100.00916.42
7.4.110.0060.00916.71
7.4.100.0070.01016.23
7.4.90.0140.00316.28
7.4.80.0140.00319.39
7.4.70.0090.00916.29
7.4.60.0100.00616.34
7.4.50.0050.00016.41
7.4.40.0030.01322.77
7.4.30.0030.01316.38
7.4.00.0070.00914.79
7.3.330.0050.00013.21
7.3.320.0050.00013.23
7.3.310.0030.00616.08
7.3.300.0040.00416.16
7.3.290.0070.01316.26
7.3.280.0070.00916.18
7.3.270.0120.00617.40
7.3.260.0130.00316.45
7.3.250.0170.00316.34
7.3.240.0120.00616.36
7.3.230.0120.00616.39
7.3.210.0130.00416.19
7.3.200.0120.00419.39
7.3.190.0040.01816.34
7.3.180.0090.01216.43
7.3.170.0060.01216.48
7.3.160.0170.00316.29
7.3.120.0040.01114.72
7.3.110.0110.00714.79
7.3.100.0100.00314.33
7.3.90.0030.01014.68
7.3.80.0030.00914.62
7.3.70.0040.01114.81
7.3.60.0060.00814.54
7.3.50.0000.01314.56
7.3.40.0040.01214.34
7.3.30.0130.00314.57
7.3.20.0090.00616.34
7.3.10.0030.01216.45
7.3.00.0060.00316.67
7.2.330.0100.00716.57
7.2.320.0100.00716.45
7.2.310.0120.00616.50
7.2.300.0060.01016.71
7.2.290.0100.01016.61
7.2.250.0000.01614.64
7.2.240.0030.01714.99
7.2.230.0120.00614.82
7.2.220.0060.00314.66
7.2.210.0040.00714.58
7.2.200.0040.01114.72
7.2.190.0070.00714.78
7.2.180.0150.00014.85
7.2.170.0100.00314.93
7.2.60.0090.00616.64
7.2.00.0110.00719.42
7.1.330.0070.00715.89
7.1.320.0030.01015.35
7.1.310.0060.00615.86
7.1.300.0110.00415.58
7.1.290.0100.00315.61
7.1.280.0000.00915.62
7.1.270.0060.00615.49
7.1.260.0030.01315.43
7.1.200.0040.01115.69
7.1.100.0000.00917.68
7.1.70.0000.00816.99
7.1.60.0110.01419.82
7.1.50.0030.01916.80
7.1.00.0030.06322.32
7.0.200.0080.00016.78
7.0.140.0100.06722.00
7.0.60.0030.07319.91
7.0.50.0030.05317.87
7.0.40.0070.09020.18
7.0.30.0400.07020.12
7.0.20.0130.04720.24
7.0.10.0130.08020.26
7.0.00.0100.07720.07
5.6.280.0070.07021.05
5.6.210.0070.07320.52
5.6.200.0100.08718.25
5.6.190.0100.05320.39
5.6.180.0070.05020.46
5.6.170.0230.06720.56
5.6.160.0030.04020.57
5.6.150.0070.03718.21
5.6.140.0100.06318.14
5.6.130.0030.08018.15
5.6.120.0030.08721.11
5.6.110.0100.08321.08
5.6.100.0130.07721.13
5.6.90.0070.08721.10
5.6.80.0130.07320.39
5.6.70.3270.03720.40
5.5.350.0130.07720.52
5.5.340.0030.05018.02
5.5.330.0100.03720.21
5.5.320.0230.06020.27
5.5.310.0200.07320.27
5.5.300.0070.05318.09
5.5.290.0030.08017.97
5.5.280.0070.06020.96
5.5.270.0070.06020.77
5.5.260.0070.08720.64
5.5.250.0100.07320.78
5.5.240.0300.07320.27
5.4.450.3630.04019.64
5.4.440.3200.03019.31
5.4.430.2870.04319.56
5.4.420.3570.04319.17
5.4.410.3800.03019.19
5.4.400.3530.04019.18
5.4.390.3670.03319.32
5.4.380.3500.03718.87
5.4.370.3230.03318.87
5.4.360.3870.04319.06
5.4.350.3630.03719.32
5.4.340.3570.04319.09
5.4.320.3700.03018.85
5.4.310.3400.03719.23
5.4.300.3600.03718.96
5.4.290.3170.03719.22
5.4.280.3300.04019.24
5.4.270.3770.03719.13
5.4.260.3570.04319.21
5.4.250.3670.03319.24
5.4.240.3430.03319.19
5.4.230.3400.03318.98
5.4.220.3330.03719.31
5.4.210.3670.03319.21
5.4.200.0000.07019.19
5.4.190.3630.03719.30
5.4.180.3670.03318.95
5.4.170.3770.02319.21
5.4.160.3900.04719.05
5.4.150.3770.04719.20
5.4.140.3430.03316.31
5.4.130.3630.04016.70
5.4.120.3500.03716.38
5.4.110.3700.03716.45
5.4.100.2700.03716.29
5.4.90.0000.06316.27
5.4.80.2500.04016.26
5.4.70.3330.03716.35
5.4.60.3370.03716.43
5.4.50.3330.03316.48
5.4.40.2430.04016.38
5.4.30.3170.03316.32
5.4.20.3230.03316.42
5.4.10.2700.03316.37
5.4.00.3500.03315.86
5.3.290.3470.03714.67
5.3.280.3400.03714.50
5.3.270.3930.03314.56
5.3.260.4470.03314.58
5.3.250.3600.04014.69
5.3.240.3800.04714.72
5.3.230.3130.03314.52
5.3.220.3200.03314.57
5.3.210.3530.04314.80
5.3.200.3870.04014.47
5.3.190.0130.03014.47
5.3.180.0100.06714.57
5.3.170.3530.04014.48
5.3.160.3700.03014.54
5.3.150.2470.04714.47
5.3.140.3770.04014.48
5.3.130.3500.03314.57
5.3.120.3270.03714.52
5.3.110.3500.03314.60
5.3.100.3530.03014.12
5.3.90.3670.04314.03
5.3.80.3530.03714.04
5.3.70.3600.03014.03
5.3.60.3430.03713.94
5.3.50.3500.03313.94
5.3.40.3470.02713.95
5.3.30.3530.03313.88
5.3.20.3670.03313.61
5.3.10.3270.03713.82
5.3.00.3370.03313.56
5.2.170.3070.02711.23
5.2.160.2770.03011.06
5.2.150.3030.02711.16
5.2.140.2530.02711.21
5.2.130.3070.03011.20
5.2.120.2730.03011.11
5.2.110.2700.03311.03
5.2.100.2770.03311.01
5.2.90.4500.02711.26
5.2.80.3100.02711.10
5.2.70.3470.03311.05
5.2.60.3470.03010.96
5.2.50.2800.03310.93
5.2.40.2400.03011.05
5.2.30.2130.03310.87
5.2.20.2500.02310.86
5.2.10.2270.03310.87
5.2.00.2470.02710.83
5.1.60.2500.02710.00
5.1.50.2200.0239.90
5.1.40.2330.0239.89
5.1.30.2570.02310.56
5.1.20.2770.03010.40
5.1.10.2200.02710.07
5.1.00.2530.02310.00
5.0.50.1230.0178.45
5.0.40.1200.0208.42
5.0.30.1170.0308.14
5.0.20.1230.0208.09
5.0.10.1170.0238.06
5.0.00.1530.0238.09
4.4.90.1470.0205.85
4.4.80.1270.0175.84
4.4.70.1230.0175.81
4.4.60.1370.0175.89
4.4.50.1230.0175.82
4.4.40.1200.0275.84
4.4.30.1400.0135.84
4.4.20.1270.0175.86
4.4.10.1370.0135.85
4.4.00.1370.0335.87
4.3.110.1200.0175.70
4.3.100.1200.0135.69
4.3.90.1400.0135.74
4.3.80.1370.0275.67
4.3.70.1330.0175.70
4.3.60.1400.0135.75
4.3.50.1430.0175.67
4.3.40.1530.0235.75
4.3.30.0870.0235.41
4.3.20.0870.0235.41
4.3.10.0900.0175.41
4.3.00.0870.0275.41

preferences:
40.75 ms | 401 KiB | 5 Q