3v4l.org

run code in 300+ PHP versions simultaneously
<?hh // decl interface Z2 {} class Z_TRAIT_IMPL implements Z1, Z2 {} 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.0100.01016.38
8.3.50.0070.00716.22
8.3.40.0040.01118.54
8.3.30.0110.00418.50
8.3.20.0070.00020.30
8.3.10.0040.00421.65
8.3.00.0080.00017.47
8.2.180.0120.00918.29
8.2.170.0120.00322.96
8.2.160.0000.01420.46
8.2.150.0070.00024.18
8.2.140.0080.00024.66
8.2.130.0080.00019.33
8.2.120.0040.00426.35
8.2.110.0060.00320.26
8.2.100.0040.00817.78
8.2.90.0040.00419.03
8.2.80.0040.00417.97
8.2.70.0050.00417.63
8.2.60.0050.00317.80
8.2.50.0030.00618.10
8.2.40.0040.00420.45
8.2.30.0080.00020.97
8.2.20.0050.00317.81
8.2.10.0000.00718.02
8.2.00.0000.00717.91
8.1.280.0080.00625.92
8.1.270.0070.00022.14
8.1.260.0080.00026.35
8.1.250.0000.00828.09
8.1.240.0100.00022.13
8.1.230.0040.00820.89
8.1.220.0090.00017.74
8.1.210.0060.00318.77
8.1.200.0000.00817.23
8.1.190.0060.00317.11
8.1.180.0000.00818.10
8.1.170.0030.00618.62
8.1.160.0040.00418.81
8.1.150.0000.00720.42
8.1.140.0000.00819.50
8.1.130.0000.00718.86
8.1.120.0030.00517.29
8.1.110.0030.00517.27
8.1.100.0040.00417.30
8.1.90.0070.00317.27
8.1.80.0000.00717.35
8.1.70.0070.00017.32
8.1.60.0050.00317.46
8.1.50.0040.00417.43
8.1.40.0070.00017.37
8.1.30.0020.00517.58
8.1.20.0080.00017.52
8.1.10.0030.00617.46
8.1.00.0030.00517.27
8.0.300.0070.00018.77
8.0.290.0070.00016.63
8.0.280.0030.00318.31
8.0.270.0080.00017.04
8.0.260.0060.00016.68
8.0.250.0040.00416.79
8.0.240.0030.00316.82
8.0.230.0000.00716.86
8.0.220.0030.00516.78
8.0.210.0000.00716.66
8.0.200.0000.00616.68
8.0.190.0000.00916.71
8.0.180.0000.00816.74
8.0.170.0030.00316.70
8.0.160.0000.00716.68
8.0.150.0000.00816.61
8.0.140.0000.00716.61
8.0.130.0030.00313.49
8.0.120.0000.00716.71
8.0.110.0050.00216.66
8.0.100.0000.00716.69
8.0.90.0000.00716.73
8.0.80.0030.01316.66
8.0.70.0000.00716.63
8.0.60.0000.00716.63
8.0.50.0040.00416.75
8.0.30.0140.00416.95
8.0.20.0100.00917.40
8.0.10.0000.00716.70
8.0.00.0110.01116.71
7.4.330.0000.00515.55
7.4.320.0030.00316.38
7.4.300.0060.00016.46
7.4.290.0050.00516.38
7.4.280.0050.00316.48
7.4.270.0030.00316.28
7.4.260.0030.00313.20
7.4.250.0030.00316.40
7.4.240.0040.00416.49
7.4.230.0000.00816.53
7.4.220.0030.01416.35
7.4.210.0040.01116.58
7.4.200.0030.00316.53
7.4.160.0070.00816.36
7.4.150.0070.01017.40
7.4.140.0090.01217.86
7.4.130.0100.01016.39
7.4.120.0110.00816.39
7.4.110.0060.01016.25
7.4.100.0090.00916.40
7.4.90.0070.01016.32
7.4.80.0120.00319.39
7.4.70.0070.01016.38
7.4.60.0080.00816.52
7.4.50.0060.00916.11
7.4.40.0200.00316.58
7.4.30.0070.01016.26
7.3.330.0000.00613.01
7.3.320.0050.00013.18
7.3.310.0050.00215.97
7.3.300.0070.00016.19
7.3.290.0080.00616.09
7.3.280.0080.01016.13
7.3.270.0100.00717.40
7.3.260.0090.01316.26
7.3.250.0100.00816.34
7.3.240.0100.00816.13
7.3.230.0090.00916.11
7.3.210.0130.00316.25
7.3.200.0080.01216.20
7.3.190.0060.00916.50
7.3.180.0030.01816.24
7.3.170.0100.01016.53
7.3.160.0030.01316.29
7.2.330.0170.00016.31
7.2.320.0100.00716.42
7.2.310.0110.00616.51
7.2.300.0090.01216.37
7.2.290.0150.00816.63
7.1.70.0070.01317.07
7.1.60.0200.00734.71
7.1.50.0150.01234.61
7.1.40.0210.00734.21
7.1.30.0140.01434.27
7.1.20.0250.00334.39
7.1.10.0000.01516.24
7.1.00.0070.00716.30
7.0.200.0060.00816.52
7.0.190.0000.01316.43
7.0.180.0050.00816.11
7.0.170.0000.01715.99
7.0.160.0040.01116.11
7.0.150.0050.01016.13
7.0.140.0070.00716.18
7.0.130.0060.00616.48
7.0.120.0030.01016.35
7.0.110.0060.00616.02
7.0.100.0030.01016.25
7.0.90.0030.01016.01
7.0.80.0070.00716.21
7.0.70.0080.00516.15
7.0.60.0030.01015.81
7.0.50.0070.00716.13
7.0.40.0030.01416.38
7.0.30.0070.00716.49
7.0.20.0060.00616.19
7.0.10.0060.00616.32
7.0.00.0030.01016.23

preferences:
66.02 ms | 401 KiB | 5 Q