3v4l.org

run code in 300+ PHP versions simultaneously
<?hh // decl namespace B { interface Z2 {} } namespace B { class Z_TRAIT_IMPL implements \B\Z1, \B\Z2 { } } namespace B { interface Z1 extends Z2 {} } }

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.0030.01716.50
8.3.50.0090.00916.46
8.3.40.0040.01118.72
8.3.30.0120.00318.54
8.3.20.0040.00420.12
8.3.10.0030.00521.77
8.3.00.0050.00317.65
8.2.180.0140.00718.06
8.2.170.0070.00722.96
8.2.160.0090.00620.28
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0050.00219.27
8.2.120.0040.00426.35
8.2.110.0090.00022.20
8.2.100.0090.00317.84
8.2.90.0030.00619.08
8.2.80.0050.00317.97
8.2.70.0110.00017.50
8.2.60.0040.00417.80
8.2.50.0050.00318.10
8.2.40.0040.00420.42
8.2.30.0000.00720.79
8.2.20.0000.00717.92
8.2.10.0040.00417.91
8.2.00.0000.00717.95
8.1.280.0110.00425.92
8.1.270.0030.01022.14
8.1.260.0000.00726.35
8.1.250.0070.00028.09
8.1.240.0090.00023.97
8.1.230.0080.00317.64
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0090.00017.13
8.1.190.0080.00017.11
8.1.180.0000.00718.10
8.1.170.0040.00418.55
8.1.160.0000.00718.93
8.1.150.0040.00420.48
8.1.140.0050.00219.33
8.1.130.0030.00318.74
8.1.120.0000.00717.21
8.1.110.0030.00517.36
8.1.100.0050.00317.30
8.1.90.0060.00317.28
8.1.80.0070.00017.20
8.1.70.0060.00017.35
8.1.60.0040.00417.39
8.1.50.0020.00517.37
8.1.40.0050.00317.27
8.1.30.0040.00417.49
8.1.20.0040.00417.42
8.1.10.0000.00817.41
8.1.00.0060.00317.41
8.0.300.0040.00418.77
8.0.290.0000.00816.63
8.0.280.0040.00418.36
8.0.270.0040.00417.25
8.0.260.0030.00316.58
8.0.250.0070.00016.84
8.0.240.0030.00316.84
8.0.230.0030.00316.84
8.0.220.0040.00416.75
8.0.210.0030.00316.79
8.0.200.0030.00516.71
8.0.190.0040.00416.71
8.0.180.0000.00816.77
8.0.170.0000.00716.59
8.0.160.0000.00716.82
8.0.150.0040.00416.68
8.0.140.0000.00716.70
8.0.130.0030.00313.44
8.0.120.0030.00616.68
8.0.110.0030.00516.86
8.0.100.0040.00416.76
8.0.90.0070.00016.73
8.0.80.0120.00316.70
8.0.70.0040.00416.55
8.0.60.0000.00716.63
8.0.50.0040.00416.74
8.0.30.0070.01016.95
8.0.20.0080.01217.40
8.0.10.0040.00416.67
8.0.00.0080.00816.65
7.4.330.0000.00615.55
7.4.320.0040.00416.44
7.4.300.0000.00616.46
7.4.290.0000.01016.23
7.4.280.0050.00216.45
7.4.270.0030.00316.51
7.4.260.0000.00513.14
7.4.250.0000.00716.42
7.4.240.0000.00816.38
7.4.230.0000.00716.19
7.4.220.0060.01216.31
7.4.210.0110.00316.41
7.4.200.0000.00716.48
7.4.160.0090.00816.37
7.4.150.0060.01217.40
7.4.140.0090.00717.86
7.4.130.0070.01016.55
7.4.120.0130.00716.38
7.4.110.0100.01016.51
7.4.100.0030.01416.43
7.4.90.0030.01316.57
7.4.80.0110.00719.39
7.4.70.0160.00616.27
7.4.60.0120.00616.42
7.4.50.0060.00916.26
7.4.40.0130.00616.26
7.4.30.0060.01016.23
7.3.330.0060.00013.11
7.3.320.0020.00213.24
7.3.310.0080.00016.21
7.3.300.0040.00416.11
7.3.290.0090.00616.12
7.3.280.0060.01116.14
7.3.270.0100.00717.40
7.3.260.0180.01616.29
7.3.250.0090.00916.24
7.3.240.0080.00816.26
7.3.230.0120.00616.11
7.3.210.0070.01116.02
7.3.200.0120.01116.35
7.3.190.0130.00316.16
7.3.180.0120.00816.39
7.3.170.0120.00316.18
7.3.160.0060.01016.08
7.2.330.0200.00416.48
7.2.320.0070.01016.47
7.2.310.0060.01616.42
7.2.300.0090.01316.53
7.2.290.0230.00216.28
7.1.70.0080.00416.86
7.1.60.0160.01335.13
7.1.50.0180.01134.59
7.1.40.0230.00634.25
7.1.30.0200.00934.56
7.1.20.0160.01234.60
7.1.10.0090.00316.42
7.1.00.0070.00716.32
7.0.200.0030.01016.70
7.0.190.0060.00616.32
7.0.180.0030.00916.29
7.0.170.0030.01216.21
7.0.160.0070.00716.11
7.0.150.0030.01016.02
7.0.140.0060.00616.27
7.0.130.0080.00516.37
7.0.120.0060.00616.08
7.0.110.0050.00916.29
7.0.100.0080.00716.16
7.0.90.0080.00516.02
7.0.80.0030.01016.07
7.0.70.0040.00916.27
7.0.60.0070.00716.05
7.0.50.0090.00416.25
7.0.40.0060.00616.37
7.0.30.0080.00516.48
7.0.20.0050.00816.18
7.0.10.0030.01116.17
7.0.00.0100.00316.17

preferences:
35.35 ms | 400 KiB | 5 Q