3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Foo extends Psr { function f($x); } interface Psr { function f(string $x); } class Clazz implements Foo { function f(string $x) {} }

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.130.0040.01118.48
8.3.120.0040.00419.04
8.3.110.0050.00320.94
8.3.100.0070.01624.06
8.3.90.0080.00026.77
8.3.80.0040.00419.36
8.3.70.0120.00618.68
8.3.60.0090.01218.31
8.3.50.0140.00523.67
8.3.40.0070.00718.54
8.3.30.0030.01318.46
8.3.20.0040.00424.18
8.3.10.0000.00824.66
8.3.00.0030.00626.16
8.2.250.0040.01218.44
8.2.240.0070.00319.07
8.2.230.0030.00622.58
8.2.220.0030.00737.54
8.2.210.0040.00426.77
8.2.200.0060.00318.88
8.2.190.0140.00016.58
8.2.180.0110.00425.92
8.2.170.0080.00819.09
8.2.160.0000.01422.96
8.2.150.0050.00325.66
8.2.140.0050.00324.66
8.2.130.0000.00726.16
8.2.120.0040.00426.35
8.2.110.0070.00322.07
8.2.100.0080.00317.66
8.2.90.0060.00317.75
8.2.80.0030.00617.97
8.2.70.0060.00317.80
8.2.60.0000.00818.03
8.2.50.0040.00418.10
8.2.40.0040.00419.31
8.2.30.0020.00519.05
8.2.20.0050.00217.98
8.2.10.0000.00719.05
8.2.00.0040.00418.99
8.1.300.0090.00018.16
8.1.290.0030.00630.84
8.1.280.0080.01125.92
8.1.270.0050.00523.99
8.1.260.0000.00828.09
8.1.250.0040.00428.09
8.1.240.0050.00522.32
8.1.230.0080.00322.82
8.1.220.0050.00317.74
8.1.210.0030.00718.77
8.1.200.0060.00317.35
8.1.190.0030.00517.22
8.1.180.0000.00818.10
8.1.170.0040.00418.53
8.1.160.0000.00718.91
8.1.150.0070.00018.82
8.1.140.0080.00018.75
8.1.130.0030.00520.18
8.1.120.0040.00417.41
8.1.110.0050.00217.40
8.1.100.0000.00717.35
8.1.90.0040.00417.41
8.1.80.0070.00017.37
8.1.70.0000.00717.41
8.1.60.0060.00317.41
8.1.50.0000.00717.47
8.1.40.0080.00017.47
8.1.30.0060.00317.67
8.1.20.0030.00717.54
8.1.10.0060.00317.26
8.1.00.0030.00617.25
8.0.300.0040.00419.96
8.0.290.0060.00316.75
8.0.280.0000.00718.25
8.0.270.0030.00316.71
8.0.260.0000.00618.53
8.0.250.0000.00716.98
8.0.240.0030.00316.94
8.0.230.0000.00716.97
8.0.220.0040.00416.89
8.0.210.0000.00716.86
8.0.200.0070.00016.95
8.0.190.0000.00716.85
8.0.180.0050.00216.81
8.0.170.0040.00416.91
8.0.160.0080.00016.84
8.0.150.0030.00716.79
8.0.140.0000.00816.86
8.0.130.0030.00313.40
8.0.120.0040.00416.77
8.0.110.0050.00316.67
8.0.100.0000.00716.73
8.0.90.0040.00416.91
8.0.80.0090.00816.86
8.0.70.0050.00316.84
8.0.60.0000.00716.71
8.0.50.0000.00716.87
8.0.30.0040.01216.98
8.0.20.0120.00917.19
8.0.10.0030.00516.89
8.0.00.0190.00816.62
7.4.330.0000.00515.55
7.4.320.0030.00316.54
7.4.300.0000.00616.36
7.4.290.0030.00316.55
7.4.280.0000.00716.52
7.4.270.0000.00716.43
7.4.260.0050.00013.20
7.4.250.0000.00816.32
7.4.240.0070.00016.54
7.4.230.0030.00316.35
7.4.220.0020.00516.52
7.4.210.0080.00816.46
7.4.200.0070.00016.50
7.4.130.0220.00416.45
7.4.120.0170.01016.48
7.4.110.0130.01316.46
7.4.100.0170.00716.35
7.4.90.0190.00516.49
7.4.80.0130.01116.48
7.4.70.0160.01116.51
7.4.60.0240.00416.50
7.4.50.0160.00916.29
7.4.40.0120.01016.09
7.4.30.0190.00416.10
7.4.20.0140.00816.31
7.4.10.0200.00516.16
7.4.00.0070.01016.45
7.3.330.0040.00416.30
7.3.320.0030.00313.27
7.3.310.0040.00416.06
7.3.300.0000.00616.11
7.3.290.0070.00816.29
7.3.260.0030.01616.30
7.3.250.0160.00816.34
7.3.240.0120.01216.40
7.3.230.0140.00916.30
7.3.220.0140.01016.36
7.3.210.0160.00916.29
7.3.200.0150.01016.28
7.3.190.0220.00516.26
7.3.180.0160.01016.32
7.3.170.0180.00616.35
7.3.160.0140.01016.19
7.3.150.0130.01116.19
7.3.140.0200.00716.12
7.3.130.0170.00616.33
7.3.120.0170.00716.22
7.3.110.0170.00616.36
7.3.100.0160.00816.32
7.3.90.0150.01116.33
7.3.80.0120.00716.20
7.3.70.0160.00516.08
7.3.60.0150.00816.22
7.3.50.0120.00916.07
7.3.40.0120.00716.05
7.3.30.0160.00316.14
7.3.20.0210.01416.10
7.3.10.0140.01316.13
7.3.00.0530.01616.31

preferences:
25.75 ms | 403 KiB | 5 Q