3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A1 { public function fn() {} } class B1 extends A1 { public function fn($arg) {} // error is not triggered } interface I {} class A2 { public function fn() {} } class B2 extends A2 implements I { public function fn($arg) {} // error is triggered }

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.70.0130.01016.58
8.3.60.0070.01418.34
8.3.50.0130.00716.18
8.3.40.0000.01419.31
8.3.30.0110.00618.71
8.3.20.0080.00020.73
8.3.10.0040.00420.21
8.3.00.0080.00020.62
8.2.190.0110.00416.58
8.2.180.0110.00416.50
8.2.170.0040.01122.96
8.2.160.0090.00619.31
8.2.150.0070.00024.18
8.2.140.0050.00324.66
8.2.130.0000.00726.16
8.2.120.0080.00019.65
8.2.110.0060.00322.25
8.2.100.0120.00317.78
8.2.90.0050.00317.38
8.2.80.0030.00618.70
8.2.70.0080.00017.21
8.2.60.0000.00817.50
8.2.50.0080.00018.05
8.2.40.0000.00718.03
8.2.30.0090.00019.39
8.2.20.0000.00717.98
8.2.10.0040.00419.11
8.2.00.0000.00718.98
8.1.280.0150.00025.92
8.1.270.0030.00522.46
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00620.79
8.1.230.0000.01120.88
8.1.220.0000.00818.36
8.1.210.0060.00318.77
8.1.200.0030.00617.10
8.1.190.0030.00516.97
8.1.180.0070.00018.10
8.1.170.0040.00417.62
8.1.160.0040.00418.66
8.1.150.0080.00018.75
8.1.140.0050.00218.79
8.1.130.0030.00719.97
8.1.120.0030.00317.36
8.1.110.0000.00817.34
8.1.100.0030.00517.32
8.1.90.0040.00417.28
8.1.80.0040.00417.36
8.1.70.0000.00717.29
8.1.60.0080.00017.44
8.1.50.0040.00417.36
8.1.40.0000.00717.26
8.1.30.0000.00717.49
8.1.20.0040.00417.46
8.1.10.0060.00317.42
8.1.00.0000.00717.19
8.0.300.0080.00018.77
8.0.290.0080.00016.63
8.0.280.0000.00718.37
8.0.270.0000.00717.95
8.0.260.0000.00619.98
8.0.250.0000.00716.94
8.0.240.0080.00016.80
8.0.230.0040.00316.92
8.0.220.0070.00016.71
8.0.210.0030.00316.82
8.0.200.0030.00316.83
8.0.190.0000.00916.84
8.0.180.0050.00316.80
8.0.170.0060.00316.82
8.0.160.0030.00516.71
8.0.150.0040.00416.64
8.0.140.0040.00416.84
8.0.130.0000.00613.29
8.0.120.0000.00716.77
8.0.110.0030.00616.86
8.0.100.0040.00416.71
8.0.90.0000.00816.85
8.0.80.0080.00816.76
8.0.70.0040.00416.88
8.0.60.0000.00716.88
8.0.50.0000.00716.86
8.0.30.0070.01016.73
8.0.20.0100.00916.99
8.0.10.0000.00716.82
8.0.00.0090.01216.60
7.4.330.0080.00015.55
7.4.320.0000.00616.54
7.4.300.0000.00616.46
7.4.290.0050.00216.53
7.4.280.0000.00816.55
7.4.270.0050.00316.57
7.4.260.0030.00313.14
7.4.250.0070.00016.32
7.4.240.0000.00716.43
7.4.230.0070.00016.32
7.4.220.0020.00616.40
7.4.210.0020.01216.46
7.4.200.0040.00416.43
7.4.130.0120.00516.45
7.4.120.0000.01716.58
7.4.110.0140.00416.43
7.4.100.0130.01016.62
7.4.90.0120.00616.38
7.4.80.0060.01919.39
7.4.70.0080.00916.41
7.4.60.0090.00616.50
7.4.50.0120.00316.12
7.4.40.0060.01016.12
7.4.30.0090.00616.18
7.4.20.0080.00816.49
7.4.10.0120.00916.40
7.4.00.0140.00616.50
7.3.330.0050.00216.19
7.3.320.0030.00313.12
7.3.310.0070.00016.32
7.3.300.0070.00016.35
7.3.290.0120.00416.29
7.3.280.0100.01016.27
7.3.260.0120.00616.42
7.3.240.0100.00816.44
7.3.230.0150.00516.31
7.3.210.0030.01416.34
7.3.200.0060.01016.24
7.3.190.0080.00816.50
7.3.180.0130.00916.43
7.3.170.0030.01216.50
7.3.160.0150.00616.42
7.3.150.0120.00616.37
7.3.140.0090.01016.39
7.3.130.0150.00316.25
7.3.120.0130.00716.42
7.3.110.0090.00816.44
7.3.100.0050.01616.54
7.3.90.0090.00816.50
7.3.80.0080.00816.38
7.3.70.0180.00616.34
7.3.60.0040.01316.38
7.3.50.0070.01316.30
7.3.40.0120.00616.29
7.3.30.0100.00716.28
7.3.20.0100.01016.32
7.3.10.0080.01116.20
7.3.00.0170.00316.21
7.2.330.0060.01316.48
7.2.320.0070.01116.40
7.2.310.0030.01316.36
7.2.300.0060.01516.50
7.2.290.0060.01316.34
7.2.280.0080.01116.45
7.2.270.0140.00616.54
7.2.260.0130.01216.41
7.2.250.0060.01316.30
7.2.240.0110.00716.18
7.2.230.0090.01616.46
7.2.220.0120.00416.32
7.2.210.0090.00816.49
7.2.200.0120.00616.59
7.2.190.0100.00716.33
7.2.180.0060.01216.23
7.2.170.0070.01116.50
7.2.160.0110.01116.12
7.2.150.0070.01616.59
7.2.140.0130.00616.61
7.2.130.0120.01316.57
7.2.120.0100.01316.55
7.2.110.0030.01416.71
7.2.100.0140.00316.50
7.2.90.0070.01116.45
7.2.80.0080.01216.43
7.2.70.0060.01116.57
7.2.60.0080.00816.56
7.2.50.0100.00616.64
7.2.40.0030.01316.25
7.2.30.0120.00416.45
7.2.20.0110.00816.35
7.2.10.0090.00616.36
7.2.00.0200.00316.43

preferences:
36.22 ms | 401 KiB | 5 Q