3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Iface1 { public function method(self $other); } class A implements Iface1 { public function method(parent $other) {} } $a = new A(); // $a->method(new I2());

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.0160.00616.75
8.3.50.0100.00716.36
8.3.40.0130.00318.49
8.3.30.0090.00618.60
8.3.20.0070.00020.29
8.3.10.0040.00421.76
8.3.00.0040.00423.46
8.2.180.0150.00318.31
8.2.170.0110.00322.96
8.2.160.0100.00321.01
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00420.47
8.2.120.0060.00326.35
8.2.110.0040.00720.98
8.2.100.0070.00417.91
8.2.90.0000.00819.14
8.2.80.0020.00517.97
8.2.70.0040.00717.38
8.2.60.0000.00817.68
8.2.50.0030.00518.10
8.2.40.0060.00322.28
8.2.30.0050.00219.13
8.2.20.0040.00417.91
8.2.10.0000.00818.16
8.2.00.0070.00017.93
8.1.280.0120.00425.92
8.1.270.0000.00820.75
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0060.00323.82
8.1.230.0080.00319.16
8.1.220.0090.00017.74
8.1.210.0040.00418.77
8.1.200.0060.00317.11
8.1.190.0000.00816.88
8.1.180.0090.00018.10
8.1.170.0000.00722.07
8.1.160.0030.00318.63
8.1.150.0040.00421.85
8.1.140.0070.00019.35
8.1.130.0000.00818.88
8.1.120.0030.00317.36
8.1.110.0040.00417.30
8.1.100.0000.00717.28
8.1.90.0030.00617.34
8.1.80.0030.00317.35
8.1.70.0000.00717.34
8.1.60.0040.00417.49
8.1.50.0040.00417.36
8.1.40.0000.01017.38
8.1.30.0030.00617.45
8.1.20.0030.00517.54
8.1.10.0000.00717.29
8.1.00.0000.00817.24
8.0.300.0000.00818.77
8.0.290.0050.00316.75
8.0.280.0000.00718.28
8.0.270.0030.00317.13
8.0.260.0000.00717.18
8.0.250.0000.00616.85
8.0.240.0020.00916.84
8.0.230.0090.00016.87
8.0.220.0000.00716.71
8.0.210.0080.00316.80
8.0.200.0030.00316.84
8.0.190.0030.00416.79
8.0.180.0070.00016.74
8.0.170.0040.00416.86
8.0.160.0040.00416.80
8.0.150.0000.00716.70
8.0.140.0070.00016.84
8.0.130.0030.00313.29
8.0.120.0050.00216.79
8.0.110.0040.00416.61
8.0.100.0040.00416.69
8.0.90.0040.00416.77
8.0.80.0090.00616.86
8.0.70.0040.00416.65
8.0.60.0000.00716.69
8.0.50.0040.00416.73
8.0.30.0070.01017.04
8.0.20.0110.00817.40
8.0.10.0000.00717.00
8.0.00.0100.00616.55
7.4.330.0060.00015.55
7.4.320.0060.00016.48
7.4.300.0030.00316.34
7.4.290.0000.00716.53
7.4.280.0090.00016.51
7.4.270.0000.00816.48
7.4.260.0040.00416.41
7.4.250.0000.00816.38
7.4.240.0030.00316.49
7.4.230.0030.00316.27
7.4.220.0160.01016.54
7.4.210.0030.01016.51
7.4.200.0040.00316.33
7.4.160.0060.01316.50
7.4.150.0220.00317.40
7.4.140.0090.00917.86
7.4.130.0100.01116.30
7.4.120.0090.01016.41
7.4.110.0030.01316.45
7.4.100.0030.01516.54
7.4.90.0100.00716.35
7.4.80.0080.01019.39
7.4.70.0030.01616.52
7.4.60.0100.00616.50
7.4.50.0040.01416.20
7.4.40.0160.00616.45
7.4.30.0120.00616.48
7.4.00.0030.00915.08
7.3.330.0000.00513.24
7.3.320.0030.00313.07
7.3.310.0000.00716.24
7.3.300.0070.00016.26
7.3.290.0100.00616.21
7.3.280.0080.00916.24
7.3.270.0100.00617.40
7.3.260.0200.00216.39
7.3.250.0080.00916.30
7.3.240.0080.01016.42
7.3.230.0070.01316.25
7.3.210.0110.00516.17
7.3.200.0030.01716.58
7.3.190.0040.01116.26
7.3.180.0060.00916.43
7.3.170.0090.01216.36
7.3.160.0090.00616.26
7.3.120.0100.01014.79
7.3.110.0070.01414.94
7.3.100.0070.01014.92
7.3.90.0090.00614.72
7.3.80.0000.01414.93
7.3.70.0110.00314.78
7.3.60.0060.00314.76
7.3.50.0080.00314.59
7.3.40.0120.00614.64
7.3.30.0060.00814.84
7.3.20.0030.00616.64
7.3.10.0040.01116.48
7.3.00.0090.00516.55
7.2.330.0070.01016.48
7.2.320.0070.01016.57
7.2.310.0140.01016.48
7.2.300.0100.01316.52
7.2.290.0090.01116.39
7.2.240.0160.00314.79
7.2.230.0040.00815.09
7.2.220.0060.01214.88
7.2.210.0060.00314.87
7.2.200.0100.00315.00
7.2.190.0070.00714.59
7.2.180.0110.00314.83
7.2.170.0090.00614.91
7.2.160.0110.00415.01
7.2.150.0100.00316.90
7.2.140.0120.00616.80
7.2.130.0070.00816.85
7.2.120.0050.01016.78
7.2.110.0050.00816.93
7.2.100.0060.00516.86
7.2.90.0040.00616.82
7.2.80.0050.01016.70
7.2.70.0000.01416.89
7.2.60.0090.00416.87
7.2.50.0050.00716.89
7.2.40.0070.01016.64
7.2.30.0080.00816.96
7.2.20.0050.00516.73
7.2.10.0090.00616.86
7.2.00.0070.00617.55
7.1.330.0030.01415.61
7.1.320.0060.00315.47
7.1.310.0070.00715.61
7.1.300.0080.00415.57
7.1.290.0130.00015.64
7.1.280.0070.01015.59
7.1.270.0030.00715.75
7.1.260.0060.00615.50
7.1.250.0040.00715.74
7.1.240.0030.01215.88
7.1.230.0030.01215.64
7.1.220.0040.00815.72
7.1.210.0150.00315.66
7.1.200.0070.00415.58
7.1.190.0030.01015.73
7.1.180.0030.00615.83
7.1.170.0070.00715.73
7.1.160.0030.00915.70
7.1.150.0070.00715.66
7.1.140.0040.01015.53
7.1.130.0130.00315.52
7.1.120.0100.00715.46
7.1.110.0030.00715.64
7.1.100.0140.00015.86
7.1.90.0000.01115.80
7.1.80.0090.00615.77
7.1.70.0030.00716.29
7.1.60.0400.00615.35
7.1.50.0040.01316.24
7.1.40.2530.04527.04
7.1.30.3170.01223.90
7.1.20.2270.01324.12
7.1.10.3130.00515.11
7.1.00.2560.00815.09
7.0.330.0030.01015.36
7.0.320.0000.01215.34
7.0.310.0060.00315.38
7.0.300.0100.00315.34
7.0.290.0000.00915.21
7.0.280.0040.00415.30
7.0.270.0000.00915.20
7.0.260.0080.00415.21
7.0.250.0040.00415.04
7.0.240.0060.00615.31
7.0.230.0100.00315.37
7.0.220.0090.00015.06
7.0.210.0000.01415.48
7.0.200.0060.00816.01
7.0.190.0040.00715.34
7.0.180.2550.04317.70
7.0.170.2590.00514.75
7.0.160.2870.00714.76
7.0.150.2380.01314.79
7.0.140.2780.00814.67
7.0.130.1700.01314.78
7.0.120.1750.00714.97
7.0.110.2170.00314.78
7.0.100.2120.00814.77
7.0.90.1620.01014.75
7.0.80.2120.00714.74
7.0.70.2070.01014.71
7.0.60.2190.00714.59
7.0.50.1670.00714.78
7.0.40.1780.00813.87
7.0.30.1820.00713.80
7.0.20.1570.01213.97
7.0.10.1330.01113.89
7.0.00.1350.00313.96
5.6.380.0030.01014.37

preferences:
71.01 ms | 400 KiB | 5 Q