3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Foo { public function f(): void; } class Bar implements Foo { public function f() {} }

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.5.10.0070.01021.79
8.5.00.0100.01020.06
8.4.160.0110.01023.92
8.4.150.0020.00014.05
8.4.140.0160.01117.46
8.4.130.0130.00717.38
8.4.120.0110.01020.36
8.4.110.0090.00418.95
8.4.100.0110.00918.80
8.4.90.0050.00520.48
8.4.80.0060.00518.73
8.4.70.0060.00218.85
8.4.60.0120.00818.60
8.4.50.0170.00418.18
8.4.40.0140.00719.24
8.4.30.0030.01620.67
8.4.20.0090.00922.48
8.4.10.0130.00623.52
8.3.290.0100.01118.49
8.3.280.0020.00014.05
8.3.270.0080.01216.89
8.3.260.0130.00716.52
8.3.250.0110.00816.89
8.3.240.0090.01016.84
8.3.230.0050.00616.75
8.3.220.0050.00418.95
8.3.210.0090.00716.68
8.3.200.0050.00316.82
8.3.190.0100.00817.17
8.3.180.0080.00918.95
8.3.170.0170.00316.69
8.3.160.0120.00617.21
8.3.150.0070.01117.20
8.3.140.0100.00720.68
8.3.130.0100.01318.54
8.3.120.0090.00318.81
8.3.110.0090.00020.94
8.3.100.0060.00324.06
8.3.90.0080.00026.77
8.3.80.0030.00617.97
8.3.70.0100.00616.63
8.3.60.0030.01216.75
8.3.50.0040.01418.50
8.3.40.0110.01120.14
8.3.30.0040.01118.58
8.3.20.0000.00724.18
8.3.10.0040.00424.66
8.3.00.0080.00026.16
8.2.300.0150.00718.07
8.2.290.0140.00716.48
8.2.280.0070.00418.43
8.2.270.0100.01016.55
8.2.260.0000.00816.45
8.2.250.0040.00416.35
8.2.240.0050.00316.90
8.2.230.0080.00022.58
8.2.220.0080.00037.54
8.2.210.0060.00326.77
8.2.200.0060.00318.29
8.2.190.0040.01116.58
8.2.180.0090.00916.32
8.2.170.0070.01419.01
8.2.160.0100.00322.96
8.2.150.0070.00025.66
8.2.140.0070.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00426.16
8.2.110.0060.00322.07
8.2.100.0080.00319.58
8.2.90.0000.00819.22
8.2.80.0000.00917.97
8.2.70.0070.00317.38
8.2.60.0000.00717.93
8.2.50.0050.00318.07
8.2.40.0030.00618.04
8.2.30.0040.00417.91
8.2.20.0070.00019.11
8.2.10.0150.00317.52
8.2.00.0170.00017.66
8.1.340.0110.01017.46
8.1.330.0090.00916.08
8.1.320.0110.00817.86
8.1.310.0000.00818.02
8.1.300.0080.00818.29
8.1.290.0060.00330.84
8.1.280.0100.01025.92
8.1.270.0000.00724.66
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0060.00322.05
8.1.230.0000.01119.16
8.1.220.0030.00617.74
8.1.210.0030.00518.77
8.1.200.0030.00617.23
8.1.190.0080.00017.10
8.1.180.0030.00618.10
8.1.170.0050.00318.39
8.1.160.0070.00018.78
8.1.150.0000.00818.45
8.1.140.0130.00517.28
8.1.130.0110.00717.36
8.1.120.0120.00617.45
8.1.110.0130.00417.46
8.1.100.0080.00817.44
8.1.90.0100.00517.48
8.1.80.0070.01017.40
8.1.70.0140.00717.34
8.1.60.0110.00717.57
8.1.50.0140.00717.49
8.1.40.0170.00217.46
8.1.30.0200.00017.58
8.1.20.0200.00217.62
8.1.10.0170.00317.34
8.1.00.0160.00317.31
8.0.300.0000.00718.77
8.0.290.0000.00716.63
8.0.280.0000.00718.34
8.0.270.0040.00416.80
8.0.260.0120.00516.77
8.0.250.0100.00716.80
8.0.240.0150.00016.79
8.0.230.0080.00816.90
8.0.220.0090.00616.80
8.0.210.0150.00316.79
8.0.200.0150.00316.82
8.0.190.0140.00416.82
8.0.180.0140.00616.93
8.0.170.0000.01916.86
8.0.160.0100.00816.86
8.0.150.0110.00716.75
8.0.140.0110.00716.82
8.0.130.0180.00016.86
8.0.120.0150.00316.85
8.0.110.0090.00816.70
8.0.100.0200.00016.79
8.0.90.0190.00016.74
8.0.80.0160.00316.67
8.0.70.0070.01016.76
8.0.60.0150.00416.72
8.0.50.0130.00616.67
8.0.30.0180.00016.84
8.0.20.0160.00316.86
8.0.10.0140.00416.88

preferences:
130.92 ms | 403 KiB | 5 Q