3v4l.org

run code in 300+ PHP versions simultaneously
<?hh //strict interface IFoo { public function boo() :string; } trait TFoo { public function boo() { return 1; } } 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.0170.00316.75
8.3.50.0040.01221.92
8.3.40.0100.01018.77
8.3.30.0110.00318.88
8.3.20.0050.00320.14
8.3.10.0080.00023.47
8.3.00.0040.00419.00
8.2.180.0040.01518.38
8.2.170.0030.01022.96
8.2.160.0070.00720.26
8.2.150.0000.00724.18
8.2.140.0000.00924.66
8.2.130.0040.00426.16
8.2.120.0000.00722.08
8.2.110.0040.00422.11
8.2.100.0080.00417.59
8.2.90.0000.00719.22
8.2.80.0060.00317.97
8.2.70.0000.00917.25
8.2.60.0040.00417.93
8.2.50.0050.00318.07
8.2.40.0030.00619.76
8.2.30.0040.00417.98
8.2.20.0040.00417.55
8.2.10.0000.00717.92
8.2.00.0000.00817.46
8.1.280.0110.01125.92
8.1.270.0000.00823.91
8.1.260.0040.00426.35
8.1.250.0070.00328.09
8.1.240.0060.00323.91
8.1.230.0110.00019.14
8.1.220.0020.00517.74
8.1.210.0030.00618.77
8.1.200.0060.00317.13
8.1.190.0000.00817.10
8.1.180.0050.00319.01
8.1.170.0040.00418.42
8.1.160.0000.00721.99
8.1.150.0000.00718.53
8.1.140.0030.00517.35
8.1.130.0050.00317.66
8.1.120.0000.00717.29
8.1.110.0040.00317.29
8.1.100.0000.00717.20
8.1.90.0040.00417.27
8.1.80.0070.00017.30
8.1.70.0030.00317.33
8.1.60.0030.00617.45
8.1.50.0040.00417.20
8.1.40.0050.00217.38
8.1.30.0040.00417.51
8.1.20.0030.00517.42
8.1.10.0040.00417.45
8.1.00.0040.00417.37
8.0.300.0000.00718.77
8.0.290.0060.00317.04
8.0.280.0030.00318.36
8.0.270.0030.00317.10
8.0.260.0040.00417.07
8.0.250.0030.00316.77
8.0.240.0030.00316.86
8.0.230.0000.00616.69
8.0.220.0030.00316.68
8.0.210.0030.00316.61
8.0.200.0050.00316.74
8.0.190.0080.00016.71
8.0.180.0040.00416.65
8.0.170.0040.00416.75
8.0.160.0000.00716.69
8.0.150.0030.00316.70
8.0.140.0020.00516.60
8.0.130.0030.00313.42
8.0.120.0040.00416.62
8.0.110.0040.00416.73
8.0.100.0000.00716.63
8.0.90.0000.00716.59
8.0.80.0120.00316.79
8.0.70.0030.00316.79
8.0.60.0070.00016.53
8.0.50.0040.00416.76
8.0.30.0090.01116.94
8.0.20.0100.00817.40
8.0.10.0050.00316.75
8.0.00.0080.00916.47
7.4.330.0060.00015.17
7.4.320.0060.00016.36
7.4.300.0040.00416.27
7.4.290.0030.00316.46
7.4.280.0000.00916.43
7.4.270.0070.00016.47
7.4.260.0000.00616.33
7.4.250.0040.00416.25
7.4.240.0040.00316.35
7.4.230.0000.00816.21
7.4.220.0100.01016.39
7.4.210.0060.00816.42
7.4.200.0050.00216.46
7.4.190.0000.00716.33
7.4.160.0140.00716.41
7.4.150.0070.01017.40
7.4.140.0120.00717.86
7.4.130.0080.00816.31
7.4.120.0120.00716.30
7.4.110.0040.01616.41
7.4.100.0100.01016.43
7.4.90.0110.00616.41
7.4.80.0060.01619.39
7.4.70.0040.01216.35
7.4.60.0120.00316.30
7.4.50.0030.00616.20
7.4.40.0100.00616.52
7.4.30.0060.01016.22
7.3.330.0020.00213.14
7.3.320.0020.00213.20
7.3.310.0000.00716.07
7.3.300.0070.00016.07
7.3.290.0060.01016.12
7.3.280.0110.00816.13
7.3.270.0100.00717.40
7.3.260.0110.00516.22
7.3.250.0120.00516.25
7.3.240.0090.00816.41
7.3.230.0060.00916.46
7.3.210.0100.00716.41
7.3.200.0090.00819.39
7.3.190.0140.00316.23
7.3.180.0060.01016.38
7.3.170.0040.01116.27
7.3.160.0030.01416.30
7.2.330.0070.01016.37
7.2.320.0120.01216.17
7.2.310.0130.01016.50
7.2.300.0070.01416.28
7.2.290.0100.00716.25
5.5.130.0000.01210.81
5.5.120.0080.00310.63
5.5.110.0030.00610.53
5.5.100.0070.00410.45
5.5.90.0080.00410.27
5.5.80.0050.00510.55
5.5.70.0020.00610.64
5.5.60.0060.00610.45
5.5.50.0090.00010.72
5.5.40.0000.01010.32
5.5.30.0030.01010.54
5.5.20.0070.00410.83
5.5.10.0100.00710.48
5.5.00.0080.00310.54
5.4.290.0090.00010.72
5.4.280.0060.00310.40
5.4.270.0040.00510.36
5.4.260.0030.00510.79
5.4.250.0000.01010.62
5.4.240.0090.00010.79
5.4.230.0060.00310.53
5.4.220.0060.00410.75
5.4.210.0050.00410.79
5.4.200.0090.00010.47
5.4.190.0030.00610.55
5.4.180.0080.00510.23
5.4.170.0000.01110.62
5.4.160.0000.01110.86
5.4.150.0090.00010.55
5.4.140.0070.00410.69
5.4.130.0050.00510.72
5.4.120.0040.00710.70
5.4.110.0070.00310.77
5.4.100.0030.00810.48
5.4.90.0060.00610.36
5.4.80.0030.00810.65
5.4.70.0030.00810.45
5.4.60.0040.00710.45
5.4.50.0040.00810.48
5.4.40.0030.00610.64
5.4.30.0000.01310.82
5.4.20.0000.01110.42
5.4.10.0100.00010.81
5.4.00.0050.00510.70
5.3.280.0050.00210.21
5.3.270.0030.00710.16
5.3.260.0070.00310.25
5.3.250.0030.00810.38
5.3.240.0060.00310.11
5.3.230.0090.00010.27
5.3.220.0030.00610.16
5.3.210.0060.0039.93
5.3.200.0030.00710.09
5.3.190.0050.00510.00
5.3.180.0070.00310.30
5.3.170.0040.00410.34
5.3.160.0030.00910.12
5.3.150.0070.00410.05
5.3.140.0000.01010.21
5.3.130.0060.00310.27
5.3.120.0060.00310.26
5.3.110.0030.00610.23
5.3.100.0040.00410.05
5.3.90.0050.00510.16
5.3.80.0060.00310.04
5.3.70.0050.00510.07
5.3.60.0040.00410.10
5.3.50.0000.00910.06
5.3.40.0050.00510.07
5.3.30.0030.00710.12
5.3.20.0050.00510.11
5.3.10.0030.0079.86
5.3.00.0030.0069.88

preferences:
35.39 ms | 401 KiB | 5 Q