3v4l.org

run code in 300+ PHP versions simultaneously
<?hh //strict interface IFoo { public function boo(); } trait TFoo { public function boo() { print "Hello World"; } } class Foo implements IFoo { use TFoo; } $f = new Foo(); $f->boo();

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.0000.01416.38
8.3.50.0040.01221.99
8.3.40.0140.00018.63
8.3.30.0100.01018.92
8.3.20.0040.00420.11
8.3.10.0040.00423.50
8.3.00.0060.00319.13
8.2.180.0090.00918.04
8.2.170.0110.00722.96
8.2.160.0040.01120.38
8.2.150.0030.00524.18
8.2.140.0050.00324.66
8.2.130.0000.00726.16
8.2.120.0080.00022.11
8.2.110.0030.00721.12
8.2.100.0090.00317.59
8.2.90.0000.00819.17
8.2.80.0000.00817.97
8.2.70.0050.00317.50
8.2.60.0000.00717.80
8.2.50.0060.00318.07
8.2.40.0000.00819.82
8.2.30.0000.00718.22
8.2.20.0050.00217.41
8.2.10.0000.00817.81
8.2.00.0090.00017.60
8.1.280.0100.00325.92
8.1.270.0000.00823.84
8.1.260.0000.00726.35
8.1.250.0040.00728.09
8.1.240.0030.00721.31
8.1.230.0110.00017.42
8.1.220.0000.00817.74
8.1.210.0030.00518.77
8.1.200.0100.00017.22
8.1.190.0040.00417.11
8.1.180.0000.00818.89
8.1.170.0000.00918.63
8.1.160.0000.00721.93
8.1.150.0070.00018.52
8.1.140.0000.00717.25
8.1.130.0000.00717.71
8.1.120.0070.00017.31
8.1.110.0000.00717.20
8.1.100.0000.00717.26
8.1.90.0000.00717.33
8.1.80.0000.00717.36
8.1.70.0030.00317.22
8.1.60.0030.00617.31
8.1.50.0050.00317.34
8.1.40.0030.00517.34
8.1.30.0080.00017.43
8.1.20.0040.00417.53
8.1.10.0000.00817.33
8.1.00.0070.00017.36
8.0.300.0040.00418.77
8.0.290.0060.00316.63
8.0.280.0000.00718.37
8.0.270.0070.00017.18
8.0.260.0030.00317.17
8.0.250.0030.00316.85
8.0.240.0070.00016.84
8.0.230.0030.00316.68
8.0.220.0030.00316.77
8.0.210.0000.00716.81
8.0.200.0000.00716.76
8.0.190.0030.00516.72
8.0.180.0050.00216.80
8.0.170.0040.00416.66
8.0.160.0000.00716.82
8.0.150.0000.00716.70
8.0.140.0040.00416.74
8.0.130.0020.00513.41
8.0.120.0000.00816.72
8.0.110.0040.00416.62
8.0.100.0030.00516.58
8.0.90.0040.00416.81
8.0.80.0030.01316.68
8.0.70.0080.00016.73
8.0.60.0040.00416.71
8.0.50.0000.00716.63
8.0.30.0110.00916.98
8.0.20.0150.00717.40
8.0.10.0030.00316.83
8.0.00.0130.00816.67
7.4.330.0030.00315.00
7.4.320.0070.00016.48
7.4.300.0030.00316.34
7.4.290.0000.00716.42
7.4.280.0030.00616.50
7.4.270.0070.00016.27
7.4.260.0000.00916.36
7.4.250.0040.00416.31
7.4.240.0020.00516.40
7.4.230.0030.00316.39
7.4.220.0070.01116.53
7.4.210.0090.00516.39
7.4.200.0040.00416.34
7.4.190.0030.00316.52
7.4.160.0060.00916.24
7.4.150.0090.00817.40
7.4.140.0090.00917.86
7.4.130.0060.01016.33
7.4.120.0100.01016.46
7.4.110.0040.01216.36
7.4.100.0090.01216.25
7.4.90.0100.00716.34
7.4.80.0030.02319.39
7.4.70.0130.00316.38
7.4.60.0040.01216.28
7.4.50.0030.00616.20
7.4.40.0030.01516.20
7.4.30.0090.00616.50
7.3.330.0000.00513.13
7.3.320.0000.00513.07
7.3.310.0040.00416.00
7.3.300.0030.00316.11
7.3.290.0070.00716.23
7.3.280.0090.00916.13
7.3.270.0110.00717.40
7.3.260.0140.00316.14
7.3.250.0070.01216.25
7.3.240.0040.01316.28
7.3.230.0100.00916.45
7.3.210.0130.00316.48
7.3.200.0150.00819.39
7.3.190.0130.00316.52
7.3.180.0090.00616.20
7.3.170.0130.00716.27
7.3.160.0040.01116.41
7.2.330.0090.00916.32
7.2.320.0100.01316.48
7.2.310.0080.00816.25
7.2.300.0100.00616.60
7.2.290.0130.01216.34
5.4.320.0050.03712.45
5.4.310.0060.03812.45
5.4.300.0090.03912.45
5.4.290.0060.04112.45
5.4.280.0220.05912.34
5.4.270.0110.06212.35
5.4.260.0130.05612.34
5.4.250.0110.04812.34
5.4.240.0110.06112.34
5.4.230.0140.08112.34
5.4.220.0160.07112.34
5.4.210.0120.05012.34
5.4.200.0080.06912.34
5.4.190.0120.08112.34
5.4.180.0130.06712.33
5.4.170.0130.04812.35
5.4.160.0060.05512.34
5.4.150.0120.06212.34
5.4.140.0080.05212.02
5.4.130.0760.14012.01
5.4.120.0240.12011.97
5.4.110.0120.08911.96
5.4.100.0140.06611.96
5.4.90.0180.07511.96
5.4.80.0310.05411.96
5.4.70.0220.08411.96
5.4.60.0130.08211.96
5.4.50.0160.05411.96
5.4.40.0070.05511.95
5.4.30.0160.05011.95
5.4.20.0130.05211.95
5.4.10.0060.05411.95
5.4.00.0100.05711.43
5.3.290.0040.04412.80
5.3.280.0280.09112.71
5.3.270.0110.07712.72
5.3.260.0160.07212.72
5.3.250.0150.05812.72
5.3.240.0270.05612.72
5.3.230.0130.03812.71
5.3.220.0090.05512.68
5.3.210.0140.05712.68
5.3.200.0120.07212.68
5.3.190.0130.05412.67
5.3.180.0090.05212.67
5.3.170.0180.05612.67
5.3.160.0130.05912.67
5.3.150.0350.08612.67
5.3.140.0120.04612.66
5.3.130.0070.04112.66
5.3.120.0100.04112.66
5.3.110.0060.05512.66
5.3.100.0170.06312.12
5.3.90.0110.05812.09
5.3.80.0370.05212.08
5.3.70.0070.04412.08
5.3.60.0140.06312.07
5.3.50.0090.04112.00
5.3.40.0080.03812.00
5.3.30.0080.03911.94
5.3.20.0110.03311.71
5.3.10.0100.06411.69
5.3.00.0080.04011.67

preferences:
32.99 ms | 401 KiB | 5 Q