3v4l.org

run code in 300+ PHP versions simultaneously
<?hh //strict interface IFoo { public function boo() :string; } trait TFoo { public function boo() { return 'Hello World'; } } class Foo implements IFoo { use TFoo; } $f = new Foo(); print($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.70.0100.00716.61
8.3.60.0090.00916.50
8.3.50.0100.00821.92
8.3.40.0090.00618.68
8.3.30.0110.00418.84
8.3.20.0000.00720.21
8.3.10.0090.00023.48
8.3.00.0040.00419.25
8.2.180.0100.01018.29
8.2.170.0060.01222.96
8.2.160.0100.00320.37
8.2.150.0070.00024.18
8.2.140.0050.00324.66
8.2.130.0000.00826.16
8.2.120.0000.00722.10
8.2.110.0090.00022.26
8.2.100.0040.00819.43
8.2.90.0050.00319.23
8.2.80.0000.00817.97
8.2.70.0090.00017.63
8.2.60.0070.00017.93
8.2.50.0000.00918.07
8.2.40.0060.00319.75
8.2.30.0040.00417.98
8.2.20.0070.00017.41
8.2.10.0040.00417.79
8.2.00.0000.00817.53
8.1.280.0100.00725.92
8.1.270.0080.00023.89
8.1.260.0050.00326.35
8.1.250.0000.00928.09
8.1.240.0030.01423.83
8.1.230.0060.00619.16
8.1.220.0000.00717.74
8.1.210.0040.00418.77
8.1.200.0000.00817.23
8.1.190.0060.00317.23
8.1.180.0040.00418.76
8.1.170.0030.00618.57
8.1.160.0070.00021.95
8.1.150.0000.00718.48
8.1.140.0040.00417.32
8.1.130.0000.00717.84
8.1.120.0000.00817.30
8.1.110.0000.00717.21
8.1.100.0040.00417.24
8.1.90.0040.00417.33
8.1.80.0040.00417.31
8.1.70.0030.00317.16
8.1.60.0000.00817.41
8.1.50.0050.00317.38
8.1.40.0000.00717.37
8.1.30.0000.00817.36
8.1.20.0000.00717.42
8.1.10.0040.00417.48
8.1.00.0060.00317.38
8.0.300.0040.00418.77
8.0.290.0030.00617.04
8.0.280.0030.00318.41
8.0.270.0040.00417.10
8.0.260.0060.00017.05
8.0.250.0000.00716.68
8.0.240.0030.00316.79
8.0.230.0030.00316.85
8.0.220.0000.00716.78
8.0.210.0000.00716.63
8.0.200.0040.00416.88
8.0.190.0040.00416.81
8.0.180.0040.00416.75
8.0.170.0050.00216.66
8.0.160.0000.00816.80
8.0.150.0090.00016.68
8.0.140.0040.00416.69
8.0.130.0000.00613.34
8.0.120.0040.00416.65
8.0.110.0000.00716.78
8.0.100.0030.00516.73
8.0.90.0030.00516.75
8.0.80.0080.00816.81
8.0.70.0030.00316.86
8.0.60.0000.00816.68
8.0.50.0000.00816.81
8.0.30.0100.01116.84
8.0.20.0120.00517.40
8.0.10.0000.00716.90
8.0.00.0070.01016.58
7.4.330.0000.00515.09
7.4.320.0000.00616.41
7.4.300.0060.00016.30
7.4.290.0000.00716.37
7.4.280.0070.00016.46
7.4.270.0000.00716.32
7.4.260.0000.00716.42
7.4.250.0050.00216.41
7.4.240.0060.00116.43
7.4.230.0070.00016.55
7.4.220.0070.01016.45
7.4.210.0060.01016.48
7.4.200.0070.00016.57
7.4.190.0070.00016.54
7.4.160.0100.00616.43
7.4.150.0140.01417.40
7.4.140.0090.00817.86
7.4.130.0150.00316.49
7.4.120.0070.01116.39
7.4.110.0090.00616.25
7.4.100.0070.01716.28
7.4.90.0080.00816.23
7.4.80.0120.01219.39
7.4.70.0100.00716.39
7.4.60.0090.00616.37
7.4.50.0030.00316.16
7.4.40.0130.00316.46
7.4.30.0100.00716.42
7.3.330.0060.00012.97
7.3.320.0050.00012.96
7.3.310.0040.00416.21
7.3.300.0030.00316.07
7.3.290.0140.00016.13
7.3.280.0080.00716.09
7.3.270.0130.00317.40
7.3.260.0090.00916.23
7.3.250.0120.00616.41
7.3.240.0120.00416.12
7.3.230.0100.00716.39
7.3.210.0100.00716.18
7.3.200.0110.01119.39
7.3.190.0100.01016.21
7.3.180.0120.00316.42
7.3.170.0110.00516.35
7.3.160.0120.00916.17
7.2.330.0060.01116.34
7.2.320.0070.01516.55
7.2.310.0060.01516.61
7.2.300.0190.00316.23
7.2.290.0140.00316.38
5.4.320.0040.03712.45
5.4.310.0050.04212.45
5.4.300.0030.03812.45
5.4.290.0100.08312.45
5.4.280.0100.05712.34
5.4.270.0080.04912.35
5.4.260.0080.05412.35
5.4.250.0070.05512.34
5.4.240.0110.05412.34
5.4.230.0080.04412.34
5.4.220.0100.03812.34
5.4.210.0060.05912.34
5.4.200.0130.07212.34
5.4.190.0090.05412.34
5.4.180.0090.05612.34
5.4.170.0110.05812.34
5.4.160.0180.05512.34
5.4.150.0040.04312.34
5.4.140.0140.05912.02
5.4.130.0070.04112.01
5.4.120.0090.03411.97
5.4.110.0100.03511.96
5.4.100.0050.03611.96
5.4.90.0060.03711.96
5.4.80.0070.04511.96
5.4.70.0060.03611.96
5.4.60.0060.03511.96
5.4.50.0070.03511.96
5.4.40.0110.03211.95
5.4.30.0080.04411.95
5.4.20.0090.04311.95
5.4.10.0070.03911.95
5.4.00.0070.04211.43
5.3.290.0060.03812.80
5.3.280.0110.06512.71
5.3.270.0070.04112.72
5.3.260.0080.04512.71
5.3.250.0090.05312.72
5.3.240.0090.03812.71
5.3.230.0070.04512.71
5.3.220.0100.05512.68
5.3.210.0110.05712.68
5.3.200.0140.05412.68
5.3.190.0180.06312.68
5.3.180.0060.06612.67
5.3.170.0080.04712.67
5.3.160.0100.03612.67
5.3.150.0110.08012.68
5.3.140.0090.05412.66
5.3.130.0180.08612.66
5.3.120.0120.05112.66
5.3.110.0130.07912.66
5.3.100.0120.04912.12
5.3.90.0110.05712.09
5.3.80.0110.05012.07
5.3.70.0140.05512.07
5.3.60.0110.05412.07
5.3.50.0130.05512.00
5.3.40.0080.07112.00
5.3.30.0080.07011.94
5.3.20.0160.05011.71
5.3.10.0160.08111.69
5.3.00.0120.06111.67

preferences:
33.07 ms | 401 KiB | 5 Q