3v4l.org

run code in 300+ PHP versions simultaneously
<?hh // decl namespace { class Z_TRAIT_IMPL implements Z { } } namespace { interface Z {} }

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.0130.00716.23
8.3.50.0070.00716.22
8.3.40.0070.01018.54
8.3.30.0060.00918.60
8.3.20.0040.00420.04
8.3.10.0080.00021.78
8.3.00.0050.00519.41
8.2.180.0130.00618.16
8.2.170.0150.00022.96
8.2.160.0120.00620.52
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0080.00021.07
8.2.120.0080.00026.35
8.2.110.0060.00320.53
8.2.100.0040.00718.03
8.2.90.0040.00419.22
8.2.80.0040.00417.97
8.2.70.0120.00017.50
8.2.60.0070.00017.80
8.2.50.0040.00418.10
8.2.40.0040.00420.42
8.2.30.0000.00720.77
8.2.20.0030.00517.84
8.2.10.0070.00017.90
8.2.00.0000.00717.98
8.1.280.0040.01125.92
8.1.270.0100.00322.06
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0060.00323.85
8.1.230.0110.00017.42
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0060.00317.22
8.1.190.0110.00017.11
8.1.180.0040.00418.10
8.1.170.0060.00318.37
8.1.160.0040.00418.99
8.1.150.0040.00420.59
8.1.140.0000.00819.35
8.1.130.0030.00318.73
8.1.120.0040.00417.34
8.1.110.0000.00717.38
8.1.100.0000.00717.30
8.1.90.0050.00317.34
8.1.80.0070.00017.34
8.1.70.0000.00717.30
8.1.60.0000.00817.47
8.1.50.0040.00417.43
8.1.40.0030.00617.29
8.1.30.0040.00417.34
8.1.20.0040.00417.48
8.1.10.0080.00017.46
8.1.00.0030.00617.33
8.0.300.0040.00418.77
8.0.290.0000.00816.63
8.0.280.0000.00718.28
8.0.270.0070.00017.08
8.0.260.0060.00016.75
8.0.250.0080.00016.79
8.0.240.0000.00716.83
8.0.230.0000.00716.70
8.0.220.0040.00416.66
8.0.210.0070.00016.65
8.0.200.0060.00016.77
8.0.190.0040.00416.85
8.0.180.0000.00716.83
8.0.170.0030.00316.79
8.0.160.0070.00016.75
8.0.150.0000.00716.71
8.0.140.0000.00816.62
8.0.130.0030.00313.43
8.0.120.0040.00416.63
8.0.110.0000.00816.80
8.0.100.0040.00416.53
8.0.90.0070.00016.62
8.0.80.0040.01116.70
8.0.70.0080.00016.74
8.0.60.0000.00716.59
8.0.50.0020.00516.66
8.0.30.0100.00816.80
8.0.20.0150.01017.40
8.0.10.0040.00416.69
8.0.00.0160.00716.52
7.4.330.0060.00015.55
7.4.320.0000.00716.41
7.4.300.0030.00316.41
7.4.290.0000.00916.45
7.4.280.0080.00016.36
7.4.270.0030.00316.34
7.4.260.0000.00513.30
7.4.250.0050.00316.32
7.4.240.0070.00016.52
7.4.230.0000.00716.26
7.4.220.0070.01116.30
7.4.210.0030.01016.40
7.4.200.0030.00316.53
7.4.160.0120.00316.32
7.4.150.0030.01417.40
7.4.140.0080.00917.86
7.4.130.0160.00716.46
7.4.120.0120.00516.22
7.4.110.0000.01716.42
7.4.100.0100.00716.44
7.4.90.0120.00316.43
7.4.80.0080.01219.39
7.4.70.0040.01216.41
7.4.60.0120.00316.35
7.4.50.0100.00316.62
7.4.40.0100.00716.41
7.4.30.0170.00016.39
7.3.330.0030.00313.28
7.3.320.0030.00313.22
7.3.310.0040.00416.09
7.3.300.0050.00216.18
7.3.290.0110.00316.11
7.3.280.0050.01116.11
7.3.270.0080.00817.40
7.3.260.0040.01316.11
7.3.250.0070.01016.33
7.3.240.0150.00116.38
7.3.230.0090.01316.23
7.3.210.0030.01316.07
7.3.200.0110.00216.32
7.3.190.0140.00316.48
7.3.180.0120.00816.48
7.3.170.0130.00316.24
7.3.160.0120.00616.32
7.2.330.0060.01216.57
7.2.320.0090.00916.34
7.2.310.0070.01016.54
7.2.300.0060.01216.31
7.2.290.0120.01116.56
7.1.70.0060.00616.66
7.1.60.0150.01235.04
7.1.50.0150.01534.61
7.1.40.0140.01434.35
7.1.30.0170.01034.48
7.1.20.0160.01034.60
7.1.10.0090.00616.29
7.1.00.0000.01216.46
7.0.200.0120.00416.45
7.0.190.0060.00616.65
7.0.180.0090.00415.95
7.0.170.0060.00616.13
7.0.160.0090.00316.00
7.0.150.0100.00316.01
7.0.140.0060.00616.21
7.0.130.0060.00616.08
7.0.120.0060.00616.28
7.0.110.0030.00916.09
7.0.100.0060.00616.03
7.0.90.0060.00615.86
7.0.80.0100.00316.06
7.0.70.0060.00616.33
7.0.60.0030.01015.86
7.0.50.0040.00816.24
7.0.40.0000.01216.25
7.0.30.0040.00816.39
7.0.20.0030.01116.20
7.0.10.0030.00916.31
7.0.00.0100.00316.23

preferences:
47.27 ms | 401 KiB | 5 Q