3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface foo { function f(); } interface bar { function f(); } class baz implements foo, bar { function f() {} } new baz;

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.0140.00016.50
8.3.50.0090.00817.45
8.3.40.0080.00818.59
8.3.30.0100.00318.55
8.3.20.0080.00018.62
8.3.10.0110.00418.70
8.3.00.0110.00419.13
8.2.180.0090.00616.38
8.2.170.0000.01522.96
8.2.160.0090.00618.72
8.2.150.0050.00524.18
8.2.140.0050.00324.66
8.2.130.0080.00026.16
8.2.120.0120.00321.11
8.2.110.0040.00419.39
8.2.100.0040.00819.66
8.2.90.0050.00319.27
8.2.80.0000.00817.97
8.2.70.0080.00017.50
8.2.60.0000.00817.91
8.2.50.0030.00518.10
8.2.40.0000.01018.03
8.2.30.0000.00917.54
8.2.20.0040.00717.49
8.2.10.0000.00717.50
8.2.00.0050.00217.70
8.1.280.0060.01325.92
8.1.270.0050.00323.99
8.1.260.0030.00526.35
8.1.250.0030.00528.09
8.1.240.0040.00422.04
8.1.230.0040.00719.48
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0030.00617.00
8.1.190.0040.00417.23
8.1.180.0000.00718.10
8.1.170.0000.00718.51
8.1.160.0000.00818.98
8.1.150.0040.00418.46
8.1.140.0040.00417.39
8.1.130.0070.00017.29
8.1.120.0000.00717.42
8.1.110.0080.00017.33
8.1.100.0030.00317.38
8.1.90.0030.00317.29
8.1.80.0000.00717.29
8.1.70.0000.00617.36
8.1.60.0030.00517.46
8.1.50.0000.00817.40
8.1.40.0030.00617.49
8.1.30.0060.00317.47
8.1.20.0050.00217.64
8.1.10.0070.00017.54
8.1.00.0000.00717.48
8.0.300.0070.00018.77
8.0.290.0030.00516.63
8.0.280.0030.00318.31
8.0.270.0070.00017.13
8.0.260.0000.00816.80
8.0.250.0000.00716.91
8.0.240.0080.00016.93
8.0.230.0040.00416.88
8.0.220.0030.00316.86
8.0.210.0050.00216.72
8.0.200.0030.00316.77
8.0.190.0000.00816.89
8.0.180.0110.00016.80
8.0.170.0040.00416.77
8.0.160.0000.00716.84
8.0.150.0000.00716.82
8.0.140.0000.00716.79
8.0.130.0030.00313.23
8.0.120.0000.00816.70
8.0.110.0040.00416.77
8.0.100.0040.00416.71
8.0.90.0000.00816.63
8.0.80.0100.00716.78
8.0.70.0030.00516.89
8.0.60.0090.00016.75
8.0.50.0040.00416.73
8.0.30.0150.00317.21
8.0.20.0110.00817.22
8.0.10.0040.00416.98
8.0.00.0070.01016.56
7.4.330.0020.00212.88
7.4.320.0030.00316.42
7.4.300.0000.00616.41
7.4.290.0090.00016.38
7.4.280.0000.00816.50
7.4.270.0030.00316.46
7.4.260.0000.00713.19
7.4.250.0000.00816.45
7.4.240.0030.00316.52
7.4.230.0000.00716.45
7.4.220.0030.01716.41
7.4.210.0100.00716.57
7.4.200.0030.00316.29
7.4.190.0050.00216.67
7.4.160.0070.00716.46
7.4.150.0030.01316.54
7.4.140.0100.01017.86
7.4.130.0170.00016.39
7.4.120.0100.00616.46
7.4.110.0140.00316.50
7.4.100.0100.00716.38
7.4.90.0070.01016.46
7.4.80.0040.01819.39
7.4.70.0090.01416.38
7.4.60.0130.00316.39
7.4.50.0000.00816.52
7.4.40.0000.01016.34
7.4.30.0100.00616.34
7.4.00.0070.00814.75
7.3.330.0050.00013.13
7.3.320.0020.00213.14
7.3.310.0040.00416.23
7.3.300.0040.00416.18
7.3.290.0050.00916.19
7.3.280.0040.01116.16
7.3.270.0070.01016.07
7.3.260.0040.01416.46
7.3.240.0170.00016.23
7.3.230.0130.01016.12
7.3.210.0100.00716.23
7.3.200.0070.00716.33
7.3.190.0030.01316.56
7.3.180.0040.01116.49
7.3.170.0120.00316.30
7.3.160.0190.00416.13
7.3.120.0060.01014.81
7.3.110.0100.00714.71
7.3.100.0070.00714.71
7.3.90.0070.00714.54
7.3.80.0070.00714.65
7.3.70.0060.00914.64
7.3.60.0120.00414.64
7.3.50.0070.00414.48
7.3.40.0070.01014.40
7.3.30.0120.00314.62
7.3.20.0140.00316.68
7.3.10.0030.00916.42
7.3.00.0020.00916.43
7.2.330.0120.00616.64
7.2.320.0100.00716.39
7.2.310.0150.00916.27
7.2.300.0090.01216.53
7.2.290.0130.00316.20
7.2.250.0070.01115.10
7.2.240.0150.00414.89
7.2.230.0140.00314.93
7.2.220.0120.00314.82
7.2.210.0070.01015.05
7.2.200.0070.01114.80
7.2.190.0060.00914.88
7.2.180.0060.00914.84
7.2.170.0030.01214.84
7.2.130.0100.00716.61
7.2.120.0070.00716.77
7.2.110.0070.00716.84
7.2.100.0120.00816.74
7.2.90.0070.01116.64
7.2.80.0030.01216.63
7.2.70.0070.00716.64
7.2.60.0050.00716.64
7.2.50.0030.01316.95
7.2.40.0070.00316.72
7.2.30.0000.00916.72
7.2.20.0100.00716.71
7.2.10.0030.01216.77
7.2.00.0030.01017.99
7.1.330.0100.00415.66
7.1.320.0030.01315.79
7.1.310.0070.00715.79
7.1.300.0070.00415.61
7.1.290.0030.01015.36
7.1.280.0040.00715.59
7.1.270.0090.00615.62
7.1.260.0060.00615.35
7.1.250.0060.00315.68
7.1.200.0080.00415.43
7.1.100.0030.00618.02
7.1.70.0030.00717.00
7.1.60.0130.01019.30
7.1.50.0100.01316.54
7.1.00.0000.03722.28
7.0.200.0030.00816.75
7.0.140.0100.06722.08
7.0.120.0030.07321.95
7.0.60.0030.04019.91
7.0.50.0000.04317.83
7.0.40.0130.08320.40
7.0.30.0600.07320.21
7.0.20.0100.04720.09
7.0.10.0200.07720.16
7.0.00.0230.07320.33
5.6.280.0000.07720.92
5.6.210.0100.07320.75
5.6.200.0070.08018.20
5.6.190.0070.05020.64
5.6.180.0270.06020.42
5.6.170.0400.07320.46
5.6.160.0100.05320.54
5.6.150.0100.03718.18
5.6.140.0070.05718.18
5.6.130.0070.05318.14
5.6.120.0000.04721.00
5.6.110.0070.09021.01
5.6.100.0100.08020.97
5.6.90.0030.09320.96
5.6.80.0070.08020.41
5.5.350.0070.05720.45
5.5.340.0000.04717.94
5.5.330.0070.04720.43
5.5.320.0430.06720.35
5.5.310.0330.08320.28
5.5.300.0130.06717.95
5.5.290.0070.03718.08
5.5.280.0030.08020.77
5.5.270.0130.07720.93
5.5.260.0170.07020.75
5.5.250.0130.07320.75
5.5.240.0330.06320.19
5.4.450.0300.04019.36
5.4.440.0530.04319.55
5.4.430.0530.04019.38
5.4.420.0800.04319.54
5.4.410.0170.04319.35
5.4.400.0370.04018.96
5.4.390.0400.04719.18
5.4.380.0730.03718.99
5.4.370.0730.04019.05
5.4.360.0570.04319.23
5.4.350.0170.03719.30
5.4.340.0730.04319.04
5.4.320.0830.03319.13
5.4.310.0670.03019.31
5.4.300.0930.02718.94
5.4.290.0730.03718.82
5.4.280.0330.04019.06
5.4.270.0400.04319.05
5.4.260.1030.03719.22
5.4.250.0600.04019.03
5.4.240.0730.04019.12
5.4.230.0730.04019.05
5.4.220.1130.02719.20
5.4.210.0800.03719.04
5.4.200.0330.04019.16
5.4.190.0500.04718.98
5.4.180.0370.03718.95
5.4.170.0900.02319.05
5.4.160.0500.03718.92
5.4.150.0430.04318.83
5.4.140.0330.04016.55
5.4.130.0470.03716.54
5.4.120.0470.03716.55
5.4.110.0470.03016.48
5.4.100.0370.02716.56
5.4.90.0630.02716.60
5.4.80.0500.03316.27
5.4.70.0530.04016.46
5.4.60.0370.02716.32
5.4.50.0430.03316.40
5.4.40.0430.03716.48
5.4.30.0570.03316.21
5.4.20.0400.04716.52
5.4.10.0470.04016.21
5.4.00.0230.04315.96
5.3.290.0100.03016.01
5.3.280.0300.04316.01
5.3.270.0670.04316.01
5.3.260.0270.05316.01
5.3.250.0370.04016.01
5.3.240.0470.03016.01
5.3.230.0530.03316.01
5.3.220.0230.04016.01
5.3.210.0200.04716.01
5.3.200.0500.04316.01
5.3.190.0700.04016.01
5.3.180.0800.04016.01
5.3.170.0600.03316.00
5.3.160.0630.03015.66
5.3.150.0630.03315.65
5.3.140.0570.03015.66
5.3.130.0430.03715.66
5.3.120.0530.04715.66
5.3.110.0730.04015.66
5.3.100.0630.03315.66
5.3.90.0270.03715.66
5.3.80.0570.03015.66
5.3.70.0530.04015.66
5.3.60.0430.03715.66
5.3.50.0300.03315.66
5.3.40.0530.04015.66
5.3.30.0430.03315.66
5.3.20.0370.04015.66
5.3.10.0300.03315.63
5.3.00.0070.04015.59
5.2.170.0370.02315.66
5.2.160.0430.04015.66
5.2.150.0530.05015.66
5.2.140.0370.05315.66
5.2.130.0500.02315.66
5.2.120.0230.02715.66
5.2.110.0070.03315.63
5.2.100.0100.03315.59
5.2.90.0100.02315.59
5.2.80.0030.03715.59
5.2.70.0100.03315.59
5.2.60.0130.02015.59
5.2.50.0170.02715.59
5.2.40.0070.03315.59
5.2.30.0030.03015.59
5.2.20.0030.03315.59
5.2.10.0070.03715.59
5.2.00.0100.02715.59
5.1.60.0100.02015.67
5.1.50.0030.02715.67
5.1.40.0070.02015.67
5.1.30.0400.02315.67
5.1.20.0300.02315.67
5.1.10.0270.02315.64
5.1.00.0400.03015.63
5.0.50.0070.02315.63
5.0.40.0200.02015.63
5.0.30.0100.03315.63
5.0.20.0030.02015.63
5.0.10.0030.02315.63
5.0.00.0170.03315.63
4.4.90.0000.02015.59
4.4.80.0030.01715.59
4.4.70.0030.01715.59
4.4.60.0000.02015.59
4.4.50.0000.01715.59
4.4.40.0000.02715.67
4.4.30.0070.01315.67
4.4.20.0130.01715.64
4.4.10.0100.01715.63
4.4.00.0200.02315.63
4.3.110.0030.01715.63
4.3.100.0170.01315.63
4.3.90.0130.01315.63
4.3.80.0200.02315.63
4.3.70.0100.01715.63
4.3.60.0200.02315.63
4.3.50.0070.01715.63
4.3.40.0230.02015.63
4.3.30.0030.02015.63
4.3.20.0170.01315.63
4.3.10.0200.01015.63
4.3.00.0130.01715.63

preferences:
69.67 ms | 401 KiB | 5 Q