3v4l.org

run code in 300+ PHP versions simultaneously
<?hh //strict interface IFoo { public function boo() :string; } 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.0040.01116.49
8.3.50.0070.01021.96
8.3.40.0110.00418.72
8.3.30.0030.01118.84
8.3.20.0000.00820.00
8.3.10.0060.00323.60
8.3.00.0080.00019.26
8.2.180.0070.01118.25
8.2.170.0120.00622.96
8.2.160.0100.00320.33
8.2.150.0070.00024.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00422.05
8.2.110.0060.00322.24
8.2.100.0070.00417.60
8.2.90.0000.00719.05
8.2.80.0040.00417.97
8.2.70.0000.00917.38
8.2.60.0000.00817.91
8.2.50.0040.00418.07
8.2.40.0030.00619.88
8.2.30.0040.00418.20
8.2.20.0040.00417.41
8.2.10.0040.00417.84
8.2.00.0040.00417.53
8.1.280.0090.00625.92
8.1.270.0190.00023.92
8.1.260.0000.00726.35
8.1.250.0060.00328.09
8.1.240.0100.01323.96
8.1.230.0110.00019.08
8.1.220.0030.00617.74
8.1.210.0000.00918.77
8.1.200.0030.00617.35
8.1.190.0040.00417.00
8.1.180.0000.00818.76
8.1.170.0080.00018.51
8.1.160.0000.00821.85
8.1.150.0000.00718.50
8.1.140.0060.00317.21
8.1.130.0040.00417.64
8.1.120.0000.00717.34
8.1.110.0020.00517.16
8.1.100.0000.00717.31
8.1.90.0040.00417.31
8.1.80.0040.00417.27
8.1.70.0000.00717.31
8.1.60.0000.00817.39
8.1.50.0050.00317.36
8.1.40.0050.00317.43
8.1.30.0000.00817.51
8.1.20.0000.00717.53
8.1.10.0030.00617.31
8.1.00.0040.00417.36
8.0.300.0000.00718.77
8.0.290.0000.00717.16
8.0.280.0070.00018.23
8.0.270.0070.00017.09
8.0.260.0000.00717.05
8.0.250.0000.00616.81
8.0.240.0000.00616.72
8.0.230.0000.00716.77
8.0.220.0060.00016.64
8.0.210.0000.00716.63
8.0.200.0070.00016.68
8.0.190.0040.00416.81
8.0.180.0040.00416.79
8.0.170.0000.00716.71
8.0.160.0030.00316.67
8.0.150.0030.00316.73
8.0.140.0040.00416.63
8.0.130.0040.00413.36
8.0.120.0000.00816.72
8.0.110.0000.00816.76
8.0.100.0050.00316.74
8.0.90.0040.00316.70
8.0.80.0120.00916.74
8.0.70.0000.00716.72
8.0.60.0000.00716.61
8.0.50.0040.00416.66
8.0.30.0100.00916.72
8.0.20.0170.00817.40
8.0.10.0000.00716.88
8.0.00.0090.00816.53
7.4.330.0050.00015.00
7.4.320.0030.00316.39
7.4.300.0000.00716.46
7.4.290.0030.00316.34
7.4.280.0000.00816.34
7.4.270.0030.00316.36
7.4.260.0030.00316.38
7.4.250.0040.00416.18
7.4.240.0060.00116.39
7.4.230.0030.00316.35
7.4.220.0030.01416.49
7.4.210.0060.00816.33
7.4.200.0070.00016.45
7.4.190.0040.00416.26
7.4.160.0060.00916.36
7.4.150.0060.01217.40
7.4.140.0130.00517.86
7.4.130.0110.00516.31
7.4.120.0120.00716.36
7.4.110.0150.00616.30
7.4.100.0090.00916.38
7.4.90.0100.00716.55
7.4.80.0100.01019.39
7.4.70.0100.00716.45
7.4.60.0100.00616.31
7.4.50.0060.00316.34
7.4.40.0080.00816.31
7.4.30.0120.00416.39
7.3.330.0000.00513.20
7.3.320.0050.00013.20
7.3.310.0080.00016.22
7.3.300.0000.00716.06
7.3.290.0030.01716.15
7.3.280.0070.00916.14
7.3.270.0130.00417.40
7.3.260.0150.00316.38
7.3.250.0110.00916.38
7.3.240.0080.00816.46
7.3.230.0120.00316.39
7.3.210.0100.00716.21
7.3.200.0120.00619.39
7.3.190.0130.00716.13
7.3.180.0120.00316.11
7.3.170.0040.01116.28
7.3.160.0070.00716.48
7.2.330.0070.01016.60
7.2.320.0070.01316.54
7.2.310.0060.01116.56
7.2.300.0090.00616.45
7.2.290.0180.00916.46
5.4.320.0060.05112.45
5.4.310.0110.05612.45
5.4.300.0050.03812.45
5.4.290.0090.06412.45
5.4.280.0120.05412.34
5.4.270.0210.09612.34
5.4.260.0210.05612.34
5.4.250.0200.06612.35
5.4.240.0090.05312.35
5.4.230.0220.07212.34
5.4.220.0140.04712.34
5.4.210.0200.05612.34
5.4.200.0050.06412.34
5.4.190.0150.04812.33
5.4.180.0090.06712.33
5.4.170.0070.04212.35
5.4.160.0130.03312.34
5.4.150.0060.03912.34
5.4.140.0050.04212.02
5.4.130.0250.03012.01
5.4.120.0070.03711.97
5.4.110.0070.03811.96
5.4.100.0060.03811.96
5.4.90.0040.04211.96
5.4.80.0100.03611.96
5.4.70.0050.03911.96
5.4.60.0090.03311.96
5.4.50.0050.03811.96
5.4.40.0040.03811.95
5.4.30.0050.03811.95
5.4.20.0080.03711.95
5.4.10.0050.03911.95
5.4.00.0030.04111.43
5.3.290.0050.04012.80
5.3.280.0070.03912.71
5.3.270.0070.04012.72
5.3.260.0080.04212.72
5.3.250.0070.03812.72
5.3.240.0090.06312.71
5.3.230.0270.09312.71
5.3.220.0130.07712.68
5.3.210.0060.05712.68
5.3.200.0160.05012.68
5.3.190.0140.05912.68
5.3.180.0090.06112.68
5.3.170.0120.05712.67
5.3.160.0240.06712.68
5.3.150.0080.07412.67
5.3.140.0190.10012.66
5.3.130.0120.05312.66
5.3.120.0090.07012.66
5.3.110.0120.05112.66
5.3.100.0200.08012.12
5.3.90.0460.11512.08
5.3.80.0060.05212.07
5.3.70.0100.06712.07
5.3.60.0200.05212.06
5.3.50.0140.05912.00
5.3.40.0090.06312.00
5.3.30.0100.05511.94
5.3.20.0140.08411.71
5.3.10.0310.09611.69
5.3.00.0170.07011.67

preferences:
41.03 ms | 401 KiB | 5 Q