3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface A{ function __construct(Foo $f); } class B implements A { function __construct(Bar $b){} } class C{ function __construct(Foo $f){} } class D extends C { function __construct(Bar $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.0120.00316.63
8.3.50.0080.01116.36
8.3.40.0140.00718.66
8.3.30.0070.00718.77
8.3.20.0080.00018.70
8.3.10.0050.00319.77
8.3.00.0050.00520.77
8.2.180.0100.01018.41
8.2.170.0120.00622.96
8.2.160.0110.00419.12
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0040.00420.90
8.2.120.0040.00426.35
8.2.110.0000.00920.38
8.2.100.0060.00617.78
8.2.90.0060.00319.05
8.2.80.0050.00317.97
8.2.70.0040.00417.38
8.2.60.0090.00317.68
8.2.50.0080.00318.10
8.2.40.0030.00620.61
8.2.30.0030.00720.57
8.2.20.0000.00717.61
8.2.10.0040.00417.97
8.2.00.0100.00017.89
8.1.280.0110.01125.92
8.1.270.0000.00923.98
8.1.260.0030.00528.09
8.1.250.0040.00428.09
8.1.240.0030.00623.75
8.1.230.0080.00320.82
8.1.220.0080.00017.74
8.1.210.0030.00618.77
8.1.200.0060.00317.22
8.1.190.0040.00417.23
8.1.180.0080.00018.10
8.1.170.0030.00518.51
8.1.160.0040.00418.85
8.1.150.0000.00918.80
8.1.140.0000.00819.38
8.1.130.0030.00317.59
8.1.120.0030.00317.30
8.1.110.0000.00717.40
8.1.100.0050.00517.42
8.1.90.0060.00317.40
8.1.80.0000.00717.34
8.1.70.0000.00717.34
8.1.60.0000.00817.39
8.1.50.0040.00417.36
8.1.40.0000.00817.45
8.1.30.0040.00417.47
8.1.20.0000.00817.59
8.1.10.0020.00517.25
8.1.00.0000.00717.28
8.0.300.0060.00318.77
8.0.290.0040.00416.58
8.0.280.0000.00818.37
8.0.270.0040.00417.24
8.0.260.0040.00417.17
8.0.250.0030.00316.98
8.0.240.0040.00416.81
8.0.230.0040.00416.88
8.0.220.0030.00516.94
8.0.210.0000.00816.80
8.0.200.0070.00016.86
8.0.190.0040.00417.02
8.0.180.0040.00416.80
8.0.170.0050.00216.93
8.0.160.0000.00717.01
8.0.150.0040.00416.83
8.0.140.0040.00416.78
8.0.130.0030.00313.39
8.0.120.0040.00416.75
8.0.110.0000.00716.89
8.0.100.0040.00416.70
8.0.90.0040.00416.77
8.0.80.0120.01216.93
8.0.70.0040.00416.90
8.0.60.0000.00716.77
8.0.50.0040.00416.79
8.0.30.0120.00817.04
8.0.20.0080.01217.40
8.0.10.0040.00417.00
8.0.00.0120.01216.81
7.4.330.0050.00015.08
7.4.320.0030.00316.49
7.4.300.0060.00016.55
7.4.290.0040.00416.29
7.4.280.0040.00316.28
7.4.270.0030.00316.51
7.4.260.0050.00216.36
7.4.250.0080.00016.40
7.4.240.0040.00416.58
7.4.230.0000.00816.46
7.4.220.0090.00616.53
7.4.210.0100.00416.49
7.4.200.0050.00316.27
7.4.160.0090.00616.25
7.4.150.0030.01317.40
7.4.140.0060.01417.86
7.4.130.0080.01116.37
7.4.120.0040.01216.48
7.4.110.0070.01016.48
7.4.100.0140.00816.30
7.4.90.0060.01216.43
7.4.80.0070.01119.39
7.4.70.0120.00916.66
7.4.60.0080.00816.48
7.4.50.0110.00416.65
7.4.40.0160.00316.49
7.4.30.0080.01416.59
7.4.00.0050.01014.88
7.3.330.0000.00613.32
7.3.320.0050.00013.11
7.3.310.0030.00316.25
7.3.300.0030.00316.23
7.3.290.0030.00316.21
7.3.280.0120.00616.21
7.3.270.0120.00417.40
7.3.260.0060.01116.21
7.3.250.0120.00616.21
7.3.240.0100.01016.36
7.3.230.0000.01616.39
7.3.210.0050.01416.50
7.3.200.0140.00316.38
7.3.190.0070.01416.38
7.3.180.0060.00916.45
7.3.170.0030.01316.55
7.3.160.0130.00316.32
7.3.120.0090.00914.77
7.3.110.0080.00814.92
7.3.100.0090.00314.67
7.3.90.0120.00314.94
7.3.80.0000.00915.04
7.3.70.0130.00014.73
7.3.60.0110.00414.94
7.3.50.0030.00714.80
7.3.40.0030.00914.83
7.3.30.0060.01114.57
7.3.20.0000.01016.61
7.3.10.0090.00416.51
7.3.00.0070.00416.41
7.2.330.0070.01016.56
7.2.320.0090.00616.60
7.2.310.0060.01116.53
7.2.300.0090.00616.61
7.2.290.0080.00816.51
7.2.250.0130.00714.75
7.2.240.0130.00314.76
7.2.230.0100.00615.11
7.2.220.0130.00015.00
7.2.210.0070.00715.06
7.2.200.0030.00714.84
7.2.190.0070.00714.75
7.2.180.0090.00614.67
7.2.170.0060.00314.76
7.2.130.0070.00716.70
7.2.120.0030.00716.27
7.2.110.0060.00316.57
7.2.100.0040.00816.64
7.2.90.0160.00716.91
7.2.80.0100.01316.73
7.2.70.0060.00316.54
7.2.60.0160.00416.51
7.2.50.0060.01216.55
7.2.40.0000.01516.77
7.2.30.0250.00516.54
7.2.20.0090.00916.50
7.2.10.0200.00316.68
7.2.00.0120.01218.07
7.1.330.0030.01215.74
7.1.320.0080.00415.51
7.1.310.0070.00715.74
7.1.300.0040.00715.64
7.1.290.0030.01315.62
7.1.280.0040.00715.59
7.1.270.0030.01415.57
7.1.260.0070.00715.53
7.1.250.0060.00615.58
7.1.200.0030.00915.82
7.1.70.0040.00416.89
7.1.60.0060.01920.41
7.1.50.0140.01016.84
7.1.00.0000.08022.32
7.0.200.0470.00315.08
7.0.60.0130.07021.68
7.0.50.0200.05320.38
7.0.40.0170.05720.29
7.0.30.0430.06320.44
7.0.20.0070.06720.36
7.0.10.0100.06320.34
7.0.00.0270.05020.34
5.6.280.0030.07021.13
5.6.210.0030.08020.51
5.6.200.0030.04718.19
5.6.190.0130.06021.06
5.6.180.0230.07321.03
5.6.170.0230.05721.10
5.6.160.0100.06321.17
5.6.150.0270.05321.11
5.6.140.0170.05721.06
5.6.130.0170.06021.05
5.6.120.0170.06021.07
5.6.110.0170.05721.02
5.6.100.0130.06020.98
5.6.90.0230.05021.14
5.6.80.0270.04320.49
5.6.70.0270.05720.48
5.6.60.0270.04320.53
5.6.50.0170.05320.37
5.6.40.0270.04020.39
5.6.30.0170.05020.50
5.6.20.0100.06020.50
5.6.10.0170.05320.52
5.6.00.0130.05320.39
5.5.350.4200.04320.44
5.5.340.0070.07717.94
5.5.330.0200.05021.05
5.5.320.0130.05720.93
5.5.310.0230.05020.99
5.5.300.0300.04320.84
5.5.290.0270.06021.02
5.5.280.0100.06720.89
5.5.270.0200.05320.84
5.5.260.0130.07320.88
5.5.250.0130.05720.70
5.5.240.0130.05720.27
5.5.230.0170.05720.37
5.5.220.0330.05020.27
5.5.210.0270.04020.18
5.5.200.0130.06020.35
5.5.190.0130.05720.25
5.5.180.0200.05020.20
5.5.160.0200.05720.37
5.5.150.0200.05020.34
5.5.140.0230.06020.29
5.5.130.0230.04320.24
5.5.120.0270.04720.38
5.5.110.0100.06020.36
5.5.100.0230.05020.13
5.5.90.0300.04020.16
5.5.80.0170.06020.16
5.5.70.0170.06020.25
5.5.60.0200.05020.15
5.5.50.0200.05720.15
5.5.40.0200.04720.18
5.5.30.0300.04020.06
5.5.20.0230.04719.93
5.5.10.0130.05720.10
5.5.00.0100.05719.95

preferences:
61.32 ms | 400 KiB | 5 Q