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.40.0070.00718.54
8.3.30.0090.00618.72
8.3.20.0060.00320.07
8.3.10.0020.00521.58
8.3.00.0000.00817.62
8.2.170.0150.00022.96
8.2.160.0110.00420.27
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00419.24
8.2.120.0070.00026.35
8.2.110.0100.00022.07
8.2.100.0080.00417.91
8.2.90.0040.00419.05
8.2.80.0040.00417.97
8.2.70.0040.00817.38
8.2.60.0050.00317.80
8.2.50.0000.00818.10
8.2.40.0040.00420.72
8.2.30.0030.00520.89
8.2.20.0070.00017.90
8.2.10.0050.00317.91
8.2.00.0040.00417.83
8.1.270.0080.00822.19
8.1.260.0050.00226.35
8.1.250.0030.00528.09
8.1.240.0090.00023.97
8.1.230.0050.00517.64
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0060.00317.23
8.1.190.0080.00017.11
8.1.180.0000.00718.10
8.1.170.0050.00318.57
8.1.160.0040.00418.85
8.1.150.0070.00020.57
8.1.140.0000.00719.52
8.1.130.0030.00318.66
8.1.120.0030.00317.29
8.1.110.0000.00717.23
8.1.100.0050.00217.33
8.1.90.0100.00017.32
8.1.80.0000.00717.19
8.1.70.0000.00717.21
8.1.60.0040.00417.41
8.1.50.0030.00617.44
8.1.40.0040.00417.41
8.1.30.0080.00017.39
8.1.20.0040.00417.55
8.1.10.0000.00717.48
8.1.00.0040.00417.32
8.0.300.0060.00318.77
8.0.290.0040.00416.63
8.0.280.0030.00318.27
8.0.270.0070.00017.10
8.0.260.0080.00016.64
8.0.250.0040.00416.85
8.0.240.0030.00516.83
8.0.230.0000.00616.72
8.0.220.0030.00316.71
8.0.210.0000.00716.61
8.0.200.0000.00716.76
8.0.190.0060.00316.82
8.0.180.0000.00816.80
8.0.170.0000.00716.77
8.0.160.0030.00516.75
8.0.150.0000.00816.68
8.0.140.0030.00316.66
8.0.130.0000.00513.31
8.0.120.0070.00016.64
8.0.110.0000.00716.54
8.0.100.0000.00716.73
8.0.90.0000.00716.64
8.0.80.0070.00716.74
8.0.70.0070.00016.70
8.0.60.0040.00416.68
8.0.50.0050.00316.70
8.0.30.0130.00317.00
8.0.20.0080.01117.40
8.0.10.0000.00716.94
8.0.00.0110.00616.66
7.4.330.0050.00015.55
7.4.320.0060.00016.48
7.4.300.0040.00416.27
7.4.290.0040.00816.43
7.4.280.0060.00316.35
7.4.270.0030.00316.44
7.4.260.0000.00513.17
7.4.250.0030.00316.18
7.4.240.0040.00416.45
7.4.230.0000.00716.55
7.4.220.0070.01116.33
7.4.210.0070.00716.42
7.4.200.0030.00316.35
7.4.160.0070.01116.27
7.4.150.0070.01117.40
7.4.140.0100.00817.86
7.4.130.0140.00416.46
7.4.120.0110.00816.42
7.4.110.0110.01116.27
7.4.100.0070.01016.29
7.4.90.0120.00616.32
7.4.80.0100.00619.39
7.4.70.0100.00716.27
7.4.60.0120.00316.56
7.4.50.0100.00316.28
7.4.40.0030.01216.17
7.4.30.0100.00716.47
7.3.330.0000.00712.98
7.3.320.0030.00313.07
7.3.310.0040.00416.02
7.3.300.0000.00616.01
7.3.290.0090.00516.14
7.3.280.0100.00716.11
7.3.270.0080.00817.40
7.3.260.0070.01016.51
7.3.250.0130.00516.32
7.3.240.0070.01016.25
7.3.230.0080.01116.39
7.3.210.0130.00316.30
7.3.200.0130.00716.20
7.3.190.0090.00616.36
7.3.180.0130.00316.39
7.3.170.0160.00016.34
7.3.160.0130.00316.31
7.2.330.0100.00716.35
7.2.320.0130.00716.21
7.2.310.0070.01416.43
7.2.300.0040.01516.61
7.2.290.0090.01316.54
7.1.70.0000.01816.66
7.1.60.0120.01535.08
7.1.50.0170.01034.64
7.1.40.0100.01734.29
7.1.30.0160.01034.42
7.1.20.0170.01034.37
7.1.10.0090.00316.29
7.1.00.0090.01216.32
7.0.200.0060.00616.61
7.0.190.0060.00616.65
7.0.180.0060.00616.02
7.0.170.0160.00015.98
7.0.160.0100.00315.96
7.0.150.0080.00515.97
7.0.140.0110.00316.08
7.0.130.0050.00816.08
7.0.120.0030.01016.28
7.0.110.0030.01416.00
7.0.100.0090.00416.34
7.0.90.0070.00715.98
7.0.80.0030.01016.29
7.0.70.0090.00616.16
7.0.60.0100.00316.08
7.0.50.0040.01116.37
7.0.40.0030.01016.41
7.0.30.0050.00816.35
7.0.20.0100.01016.48
7.0.10.0060.01216.39
7.0.00.0060.01316.15

preferences:
43.26 ms | 400 KiB | 5 Q