3v4l.org

run code in 300+ PHP versions simultaneously
<?hh 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.0070.00716.63
8.3.50.0120.00721.91
8.3.40.0140.00718.58
8.3.30.0110.00418.96
8.3.20.0070.00020.12
8.3.10.0040.00423.44
8.3.00.0040.00419.25
8.2.180.0140.00716.50
8.2.170.0120.00622.96
8.2.160.0100.00320.39
8.2.150.0040.00424.18
8.2.140.0030.00624.66
8.2.130.0070.00026.16
8.2.120.0060.00322.27
8.2.110.0060.00322.12
8.2.100.0080.00419.51
8.2.90.0000.00719.05
8.2.80.0040.00417.97
8.2.70.0030.00617.63
8.2.60.0080.00017.90
8.2.50.0040.00418.07
8.2.40.0000.00819.78
8.2.30.0070.00018.02
8.2.20.0050.00217.40
8.2.10.0040.00417.84
8.2.00.0040.00417.56
8.1.280.0100.00325.92
8.1.270.0090.00623.84
8.1.260.0040.00426.35
8.1.250.0060.00328.09
8.1.240.0070.00324.03
8.1.230.0110.00019.08
8.1.220.0050.00317.74
8.1.210.0080.00018.77
8.1.200.0000.00917.00
8.1.190.0000.00817.11
8.1.180.0040.00418.76
8.1.170.0080.00018.43
8.1.160.0040.00421.94
8.1.150.0030.00318.44
8.1.140.0040.00417.30
8.1.130.0030.00517.81
8.1.120.0000.00717.22
8.1.110.0040.00417.31
8.1.100.0080.00017.28
8.1.90.0000.00717.33
8.1.80.0040.00417.33
8.1.70.0000.00717.19
8.1.60.0030.00617.33
8.1.50.0030.00617.18
8.1.40.0070.00017.34
8.1.30.0060.00317.42
8.1.20.0040.00417.45
8.1.10.0060.00317.36
8.1.00.0040.00417.25
8.0.300.0040.00418.77
8.0.290.0040.00416.89
8.0.280.0000.00718.31
8.0.270.0070.00017.08
8.0.260.0030.00317.18
8.0.250.0030.00316.79
8.0.240.0030.00316.69
8.0.230.0000.00816.76
8.0.220.0030.00316.70
8.0.210.0070.00016.64
8.0.200.0040.00416.79
8.0.190.0060.00316.87
8.0.180.0000.00716.73
8.0.170.0000.00816.79
8.0.160.0030.00516.88
8.0.150.0040.00416.66
8.0.140.0070.00016.70
8.0.130.0000.00813.37
8.0.120.0030.00516.68
8.0.110.0030.00516.64
8.0.100.0040.00416.76
8.0.90.0070.00016.64
8.0.80.0140.00716.73
8.0.70.0030.00516.77
8.0.60.0070.00016.72
8.0.50.0040.00416.73
8.0.30.0130.00817.05
8.0.20.0060.01117.40
8.0.10.0050.00316.70
8.0.00.0120.00616.63
7.4.330.0000.00615.15
7.4.320.0040.00416.38
7.4.300.0000.00616.46
7.4.290.0030.00316.25
7.4.280.0040.00416.42
7.4.270.0030.00316.23
7.4.260.0080.00016.48
7.4.250.0080.00016.43
7.4.240.0020.00616.38
7.4.230.0030.00316.25
7.4.220.0160.01016.39
7.4.210.0070.00816.38
7.4.200.0000.00716.25
7.4.190.0030.00316.54
7.4.160.0090.00616.39
7.4.150.0140.00317.40
7.4.140.0140.00817.86
7.4.130.0100.00616.47
7.4.120.0090.00916.48
7.4.110.0030.01316.28
7.4.100.0070.01116.34
7.4.90.0190.00616.36
7.4.80.0180.00319.39
7.4.70.0030.01316.43
7.4.60.0060.01016.29
7.4.50.0040.00016.32
7.4.40.0090.01316.46
7.4.30.0040.01216.46
7.3.330.0060.00012.96
7.3.320.0000.00513.07
7.3.310.0040.00416.19
7.3.300.0030.00316.16
7.3.290.0030.01216.15
7.3.280.0130.00416.10
7.3.270.0160.00017.40
7.3.260.0100.01116.33
7.3.250.0080.01016.41
7.3.240.0060.01116.30
7.3.230.0100.00616.46
7.3.210.0080.00916.27
7.3.200.0080.00919.39
7.3.190.0080.00816.08
7.3.180.0060.01016.39
7.3.170.0150.00716.27
7.3.160.0100.00516.42
7.2.330.0060.01116.49
7.2.320.0090.01116.20
7.2.310.0110.00516.55
7.2.300.0100.00616.39
7.2.290.0090.00916.36
5.4.320.0060.04112.45
5.4.310.0060.04212.45
5.4.300.0040.03812.45
5.4.290.0080.03712.45
5.4.280.0100.03912.35
5.4.270.0070.05112.34
5.4.260.0110.04912.35
5.4.250.0080.04112.35
5.4.240.0070.03812.35
5.4.230.0080.04112.34
5.4.220.0070.04412.34
5.4.210.0100.03812.34
5.4.200.0080.05112.34
5.4.190.0110.04612.33
5.4.180.0110.04912.34
5.4.170.0040.05212.34
5.4.160.0070.04612.34
5.4.150.0070.05012.34
5.4.140.0140.07612.02
5.4.130.0150.06812.00
5.4.120.0060.05211.96
5.4.110.0060.04911.96
5.4.100.0080.04011.96
5.4.90.0030.05111.97
5.4.80.0070.04211.96
5.4.70.0040.04011.96
5.4.60.0070.03611.96
5.4.50.0120.03811.96
5.4.40.0080.05411.95
5.4.30.0070.04911.95
5.4.20.0080.04511.95
5.4.10.0100.04611.95
5.4.00.0050.06011.44
5.3.290.0050.03912.80
5.3.280.0110.05212.71
5.3.270.0090.05612.72
5.3.260.0070.05712.72
5.3.250.0080.05612.72
5.3.240.0090.05412.72
5.3.230.0060.05412.71
5.3.220.0100.04412.68
5.3.210.0080.04912.68
5.3.200.0070.04612.68
5.3.190.0070.04312.68
5.3.180.0100.04012.67
5.3.170.0140.04312.67
5.3.160.0120.03412.67
5.3.150.0080.03812.67
5.3.140.0090.03712.66
5.3.130.0110.03912.65
5.3.120.0090.04412.66
5.3.110.0060.04412.66
5.3.100.0110.03512.12
5.3.90.0100.03512.09
5.3.80.0040.04012.08
5.3.70.0050.03812.08
5.3.60.0090.03412.06
5.3.50.0070.03612.00
5.3.40.0110.03312.00
5.3.30.0070.04311.94
5.3.20.0080.05111.72
5.3.10.0070.04411.68
5.3.00.0060.03811.67

preferences:
39.03 ms | 401 KiB | 5 Q