3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface I { public function method(array $a); } class C implements I { public function method(int $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.0140.00018.43
8.3.50.0060.00820.36
8.3.40.0070.01119.92
8.3.30.0130.00318.54
8.3.20.0070.00024.18
8.3.10.0090.00024.66
8.3.00.0040.00426.16
8.2.180.0070.01025.92
8.2.170.0070.00718.96
8.2.160.0130.00722.96
8.2.150.0080.00025.66
8.2.140.0070.00024.66
8.2.130.0050.00326.16
8.2.120.0040.00426.16
8.2.110.0000.01019.21
8.2.100.0000.01217.78
8.2.90.0040.00419.14
8.2.80.0040.00417.97
8.2.70.0000.00817.50
8.2.60.0000.00817.68
8.2.50.0050.00318.10
8.2.40.0000.00720.50
8.2.30.0080.00017.98
8.2.20.0040.00420.33
8.2.10.0080.00017.45
8.2.00.0040.00419.11
8.1.280.0110.00325.92
8.1.270.0080.00024.01
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0060.00320.50
8.1.230.0130.00017.57
8.1.220.0050.00317.74
8.1.210.0030.00518.77
8.1.200.0000.00817.23
8.1.190.0050.00517.22
8.1.180.0080.00018.10
8.1.170.0050.00318.49
8.1.160.0000.00722.10
8.1.150.0040.00418.48
8.1.140.0000.00717.49
8.1.130.0000.00818.76
8.1.120.0040.00417.38
8.1.110.0050.00217.41
8.1.100.0050.00317.38
8.1.90.0000.00817.36
8.1.80.0030.00617.34
8.1.70.0030.00317.32
8.1.60.0080.00017.54
8.1.50.0000.00917.48
8.1.40.0000.00717.48
8.1.30.0000.00917.65
8.1.20.0160.00817.55
8.1.10.0160.00817.23
8.1.00.0190.00017.27
8.0.300.0060.00319.96
8.0.290.0080.00016.75
8.0.280.0050.00318.48
8.0.270.0070.00016.82
8.0.260.0000.00618.34
8.0.250.0030.00316.93
8.0.240.0030.00316.99
8.0.230.0030.00316.88
8.0.220.0040.00416.89
8.0.210.0030.00516.75
8.0.200.0040.00416.91
8.0.190.0000.00816.88
8.0.180.0000.00716.94
8.0.170.0030.00616.92
8.0.160.0000.00716.87
8.0.150.0070.00016.78
8.0.140.0190.00216.83
8.0.130.0180.00416.83
8.0.120.0190.00316.85
8.0.110.0120.00916.91
8.0.100.0160.00516.70
8.0.90.0170.00416.89
8.0.80.0130.00816.84
8.0.70.0150.00616.80
8.0.60.0140.00716.88
8.0.50.0180.00416.66
8.0.30.0190.00016.81
8.0.20.0160.00416.92
8.0.10.0180.00416.83
7.4.330.0030.00315.55
7.4.320.0080.00016.49
7.4.300.0060.00016.34
7.4.290.0000.00716.46
7.4.280.0050.00316.46
7.4.270.0080.00816.35
7.4.260.0240.00316.37
7.4.250.0140.00916.40
7.4.240.0050.00516.51
7.4.230.0090.00616.51
7.4.220.0190.00516.27
7.4.210.0210.00016.32
7.4.200.0160.00316.37
7.4.190.0140.00816.48
7.4.180.0210.00016.52
7.4.160.0160.00416.40
7.4.150.0180.00016.39
7.4.140.0120.00616.45
7.4.130.0060.00616.33
7.4.120.0090.00316.18
7.4.110.0150.00316.32
7.4.100.0210.00016.30
7.4.90.0150.00516.30
7.4.80.0140.00516.43
7.4.70.0170.00316.23
7.4.60.0170.00316.32
7.4.50.0170.00416.27
7.4.40.0080.00416.24
7.4.30.0030.00716.14
7.4.20.0110.00416.30
7.4.10.0040.00716.32
7.4.00.0180.00016.35

preferences:
57.87 ms | 400 KiB | 5 Q