3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Foo { const a = 1; } interface Bar extends Foo { const b = 1; } echo Bar::a;

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.00616.63
8.3.50.0130.00821.92
8.3.40.0070.01418.48
8.3.30.0030.01019.10
8.3.20.0040.00420.20
8.3.10.0000.00821.73
8.3.00.0090.00019.38
8.2.180.0090.00618.29
8.2.170.0070.00722.96
8.2.160.0100.00320.52
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0030.00526.16
8.2.120.0000.00721.00
8.2.110.0040.00419.45
8.2.100.0070.00417.63
8.2.90.0050.00219.09
8.2.80.0030.00617.97
8.2.70.0040.00417.50
8.2.60.0090.00017.80
8.2.50.0050.00318.07
8.2.40.0070.00018.02
8.2.30.0000.00718.05
8.2.20.0040.00417.61
8.2.10.0040.00417.92
8.2.00.0000.00717.48
8.1.280.0100.00725.92
8.1.270.0000.00818.82
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0090.00023.95
8.1.230.0000.01117.42
8.1.220.0040.00417.74
8.1.210.0030.00518.77
8.1.200.0060.00317.23
8.1.190.0000.00817.11
8.1.180.0000.00718.10
8.1.170.0000.00818.78
8.1.160.0070.00021.96
8.1.150.0040.00418.73
8.1.140.0040.00417.38
8.1.130.0030.00317.69
8.1.120.0020.00517.29
8.1.110.0080.00017.35
8.1.100.0050.00217.37
8.1.90.0040.00417.39
8.1.80.0000.00817.43
8.1.70.0000.00717.36
8.1.60.0080.00017.40
8.1.50.0040.00417.38
8.1.40.0070.00017.33
8.1.30.0060.00317.46
8.1.20.0020.00517.63
8.1.10.0000.00817.47
8.1.00.0040.00417.35
8.0.300.0000.00718.77
8.0.290.0040.00416.58
8.0.280.0040.00418.28
8.0.270.0000.00717.25
8.0.260.0060.00318.28
8.0.250.0030.00316.78
8.0.240.0000.00716.93
8.0.230.0000.00716.87
8.0.220.0000.00716.72
8.0.210.0040.00416.81
8.0.200.0030.00316.79
8.0.190.0000.00816.90
8.0.180.0070.00016.81
8.0.170.0030.00516.83
8.0.160.0070.00016.90
8.0.150.0000.00716.82
8.0.140.0040.00416.80
8.0.130.0030.00313.29
8.0.120.0000.00716.82
8.0.110.0030.00516.90
8.0.100.0040.00416.86
8.0.90.0040.00416.71
8.0.80.0030.01216.79
8.0.70.0050.00316.73
8.0.60.0000.00716.94
8.0.50.0040.00416.64
8.0.30.0140.00817.11
8.0.20.0140.00617.40
8.0.10.0000.00716.89
8.0.00.0100.01116.63
7.4.330.0050.00015.03
7.4.320.0000.00616.53
7.4.300.0000.00616.43
7.4.290.0030.00316.36
7.4.280.0050.00316.34
7.4.270.0070.00016.57
7.4.260.0050.00316.55
7.4.250.0050.00216.40
7.4.240.0000.00716.46
7.4.230.0070.00016.55
7.4.220.0110.00716.45
7.4.210.0000.01616.52
7.4.200.0040.00416.61
7.4.160.0070.01016.53
7.4.150.0140.00317.40
7.4.140.0050.01417.86
7.4.130.0130.00816.48
7.4.120.0060.01116.36
7.4.110.0040.01416.56
7.4.100.0110.00616.46
7.4.90.0090.00916.34
7.4.80.0090.00819.39
7.4.70.0060.01116.41
7.4.60.0090.00916.48
7.4.50.0000.00816.29
7.4.40.0050.01616.35
7.4.30.0090.01116.31
7.4.00.0060.01114.89
7.3.330.0030.00313.25
7.3.320.0120.00013.09
7.3.310.0070.00016.12
7.3.300.0030.00316.08
7.3.290.0070.00716.22
7.3.280.0070.00816.20
7.3.270.0090.00917.40
7.3.260.0070.01116.40
7.3.250.0110.00716.26
7.3.240.0130.01016.29
7.3.230.0110.01116.39
7.3.210.0060.01116.44
7.3.200.0030.01519.39
7.3.190.0100.00716.14
7.3.180.0130.00316.36
7.3.170.0100.00616.27
7.3.160.0120.00316.36
7.3.120.0140.00414.66
7.3.110.0030.01414.36
7.3.100.0080.00514.50
7.3.90.0040.00714.50
7.3.80.0040.01114.70
7.3.70.0070.00714.66
7.3.60.0060.00914.82
7.3.50.0030.01314.73
7.3.40.0000.01314.69
7.3.30.0070.00414.65
7.3.20.0030.01016.59
7.3.10.0110.00816.35
7.3.00.0060.00916.39
7.2.330.0060.01116.77
7.2.320.0090.01216.63
7.2.310.0030.01416.73
7.2.300.0130.00316.65
7.2.290.0070.01016.60
7.2.250.0090.00915.15
7.2.240.0030.01314.92
7.2.230.0120.00615.17
7.2.220.0060.00915.15
7.2.210.0090.00614.94
7.2.200.0100.00315.04
7.2.190.0070.00714.78
7.2.180.0110.00314.98
7.2.170.0100.00314.75
7.2.130.0120.00816.59
7.2.120.0110.01416.88
7.2.110.0120.01216.54
7.2.100.0100.01016.25
7.2.90.0180.00616.78
7.2.80.0140.00716.50
7.2.70.0180.00516.61
7.2.60.0130.01316.77
7.2.50.0070.01616.59
7.2.40.0150.00716.55
7.2.30.0140.01416.55
7.2.20.0170.00916.59
7.2.10.0130.00616.30
7.2.00.0110.00817.72
7.1.330.0030.01015.63
7.1.320.0070.00415.52
7.1.310.0030.00615.54
7.1.300.0000.01015.56
7.1.290.0030.01015.61
7.1.280.0000.01015.68
7.1.270.0000.01415.68
7.1.260.0060.00915.73
7.1.250.0050.00815.64
7.1.100.0040.01118.13
7.1.70.0040.00417.04
7.1.60.0060.01619.50
7.1.50.0100.01316.86
7.1.00.0070.07322.48
7.0.200.0160.00616.52
7.0.140.0070.04322.10
7.0.60.0100.07719.84
7.0.50.0070.07017.90
7.0.40.0130.08020.24
7.0.30.0230.05020.23
7.0.20.0170.09020.10
7.0.10.0270.05320.16
7.0.00.0030.06320.23
5.6.280.0030.07321.04
5.6.210.0100.07320.52
5.6.200.0100.07718.12
5.6.190.0100.04320.55
5.6.180.0230.07720.61
5.6.170.0170.06720.56
5.6.160.0100.05720.51
5.6.150.0070.04718.18
5.6.140.0000.08718.23
5.6.130.0030.04018.20
5.6.120.0070.08021.00
5.6.110.0070.08021.04
5.6.100.0130.07721.00
5.6.90.0170.04720.87
5.6.80.0030.08020.40
5.6.70.0130.03720.29
5.5.350.0230.08320.33
5.5.340.0100.08018.08
5.5.330.0100.07020.57
5.5.320.0000.09020.36
5.5.310.0270.07320.34
5.5.300.0100.07317.98
5.5.290.0100.03317.97
5.5.280.0100.08020.76
5.5.270.0170.07320.86
5.5.260.0230.07020.64
5.5.250.0100.06020.69
5.5.240.0070.07320.25
5.4.450.0270.04719.31
5.4.440.0830.07319.19
5.4.430.0800.04719.55
5.4.420.0100.06719.48
5.4.410.1030.06319.45
5.4.400.1030.06018.79
5.4.390.0930.06018.78
5.4.380.0930.06018.80
5.4.370.0870.06718.74
5.4.360.0930.05318.84
5.4.350.1000.06018.59
5.4.340.0900.06018.80
5.4.320.1030.05318.80
5.4.310.1000.05318.46
5.4.300.0900.05318.53
5.4.290.0970.05718.59
5.4.280.0730.07018.54
5.4.270.1130.04718.80
5.4.260.0770.06018.79
5.4.250.0930.05318.86
5.4.240.0830.06318.62
5.4.230.0870.04718.68
5.4.220.0930.05718.83
5.4.210.0900.04718.45
5.4.200.0930.04016.66
5.4.190.0900.04318.70
5.4.180.0970.07018.69
5.4.170.0870.06018.77
5.4.160.0900.05318.48
5.4.150.0830.05318.66
5.4.140.0900.06016.38
5.4.130.0930.04316.32
5.4.120.0830.04716.17
5.4.110.0970.05016.28
5.4.100.1030.05316.29
5.4.90.1070.05316.27
5.4.80.1100.05316.30
5.4.70.1170.05016.25
5.4.60.1100.05316.40
5.4.50.0900.06016.29
5.4.40.1070.05716.26
5.4.30.0970.05716.38
5.4.20.0970.06716.39
5.4.10.0800.04716.19
5.4.00.1100.04315.68
5.3.290.1070.05014.68
5.3.280.0900.04714.69
5.3.270.0870.06014.64
5.3.260.0800.05714.63
5.3.250.0830.05314.59
5.3.240.0800.05714.65
5.3.230.0900.04714.61
5.3.220.1070.06314.55
5.3.210.1000.05014.70
5.3.200.1000.05714.79
5.3.190.0970.05314.55
5.3.180.1000.06014.59
5.3.170.1230.07014.57
5.3.160.0930.07314.57
5.3.150.1000.05714.67
5.3.140.1170.06014.70
5.3.130.0800.06014.67
5.3.120.0830.06014.56
5.3.110.1000.05714.66
5.3.100.0830.06314.05
5.3.90.1000.07314.18
5.3.80.0130.07014.03
5.3.70.0370.04314.09
5.3.60.0370.04014.10
5.3.50.0300.06314.01
5.3.40.0300.05313.97
5.3.30.0170.06014.02
5.3.20.0300.04713.78
5.3.10.0130.06713.67
5.3.00.0200.06013.70
5.2.170.0200.05711.36
5.2.160.0200.05311.14
5.2.150.0230.05011.21
5.2.140.0330.04711.35
5.2.130.0170.06011.11
5.2.120.0230.04011.14
5.2.110.0070.05311.15
5.2.100.0200.04011.14
5.2.90.0230.03711.11
5.2.80.0170.05711.12
5.2.70.0300.04311.32
5.2.60.0270.04711.16
5.2.50.0230.05011.07
5.2.40.0170.04311.02
5.2.30.0130.04011.00
5.2.20.0170.04311.06
5.2.10.0230.04011.06
5.2.00.0200.05310.72
5.1.60.0130.03310.16
5.1.50.0130.0379.98
5.1.40.0230.04010.16
5.1.30.0170.04310.42
5.1.20.0070.04310.40
5.1.10.0200.02710.13
5.1.00.0100.04010.06
5.0.50.0100.0378.75
5.0.40.0030.0408.44
5.0.30.0070.0438.20
5.0.20.0100.0238.19
5.0.10.0070.0308.29
5.0.00.0000.0538.23
4.4.90.0070.0235.84
4.4.80.0100.0175.84
4.4.70.0100.0205.85
4.4.60.0070.0235.89
4.4.50.0030.0235.95
4.4.40.0100.0435.89
4.4.30.0100.0275.87
4.4.20.0030.0375.95
4.4.10.0070.0305.98
4.4.00.0070.0375.86
4.3.110.0100.0275.83
4.3.100.0100.0305.83
4.3.90.0100.0175.89
4.3.80.0070.0335.79
4.3.70.0070.0235.80
4.3.60.0130.0205.85
4.3.50.0100.0305.91
4.3.40.0100.0335.88
4.3.30.0000.0274.64
4.3.20.0000.0274.52
4.3.10.0070.0204.55
4.3.00.0030.0236.66

preferences:
44.62 ms | 401 KiB | 5 Q