3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface BarInterface { public function bar(); } interface BarStaticInterface { public static function bar(); } class Foo implements BarInterface, BarStaticInterface { public function bar() { } }

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.0150.00418.55
8.3.50.0090.01122.11
8.3.40.0090.00618.55
8.3.30.0100.00319.01
8.3.20.0060.00320.30
8.3.10.0050.00323.61
8.3.00.0060.00318.99
8.2.180.0110.00716.32
8.2.170.0100.01022.96
8.2.160.0030.01022.16
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0090.00026.16
8.2.120.0040.00420.96
8.2.110.0030.00720.35
8.2.100.0080.00417.72
8.2.90.0040.00417.75
8.2.80.0000.00818.78
8.2.70.0040.00417.93
8.2.60.0070.00317.97
8.2.50.0030.00618.10
8.2.40.0060.00320.93
8.2.30.0000.00719.12
8.2.20.0000.00817.66
8.2.10.0000.00718.04
8.2.00.0040.00417.59
8.1.280.0040.01125.92
8.1.270.0030.00618.87
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0080.00022.05
8.1.230.0070.00417.82
8.1.220.0030.00617.74
8.1.210.0000.00918.77
8.1.200.0060.00317.13
8.1.190.0040.00417.41
8.1.180.0040.00418.10
8.1.170.0080.00018.64
8.1.160.0040.00418.73
8.1.150.0000.00718.81
8.1.140.0000.00819.28
8.1.130.0030.00317.75
8.1.120.0030.00317.34
8.1.110.0110.00017.38
8.1.100.0040.00417.40
8.1.90.0000.00717.29
8.1.80.0060.00317.40
8.1.70.0000.00717.28
8.1.60.0040.00417.53
8.1.50.0000.00817.43
8.1.40.0040.00417.48
8.1.30.0050.00317.60
8.1.20.0030.00617.54
8.1.10.0000.00717.28
8.1.00.0000.00817.32
8.0.300.0000.00719.87
8.0.290.0000.00816.73
8.0.280.0020.00718.38
8.0.270.0030.00417.04
8.0.260.0000.00817.18
8.0.250.0070.00016.85
8.0.240.0050.00316.85
8.0.230.0030.00316.93
8.0.220.0030.00316.82
8.0.210.0040.00416.77
8.0.200.0050.00516.89
8.0.190.0050.00316.94
8.0.180.0000.00716.79
8.0.170.0080.00016.81
8.0.160.0030.00317.01
8.0.150.0070.00016.80
8.0.140.0070.00016.84
8.0.130.0000.00613.30
8.0.120.0030.00516.80
8.0.110.0070.00016.79
8.0.100.0070.00016.96
8.0.90.0000.00716.91
8.0.80.0060.01016.92
8.0.70.0030.00316.82
8.0.60.0040.00416.88
8.0.50.0070.00016.89
8.0.30.0150.00717.09
8.0.20.0140.01117.40
8.0.10.0030.00316.85
8.0.00.0150.00716.50
7.4.330.0040.00015.03
7.4.320.0030.00316.42
7.4.300.0000.00616.37
7.4.290.0030.00316.52
7.4.280.0040.00416.30
7.4.270.0030.00316.45
7.4.260.0000.00716.44
7.4.250.0000.00716.39
7.4.240.0000.00716.49
7.4.230.0000.00716.34
7.4.220.0100.00616.57
7.4.210.0040.01116.56
7.4.200.0030.00316.34
7.4.160.0070.01016.44
7.4.150.0090.00917.40
7.4.140.0100.01017.86
7.4.130.0090.00916.33
7.4.120.0150.00516.54
7.4.110.0090.01516.33
7.4.100.0120.00616.54
7.4.90.0100.00716.45
7.4.80.0100.01419.39
7.4.70.0100.01016.45
7.4.60.0030.01316.41
7.4.50.0000.00416.39
7.4.40.0030.01316.41
7.4.30.0160.00916.35
7.4.00.0080.00814.83
7.3.330.0000.00513.02
7.3.320.0030.00313.24
7.3.310.0050.00216.27
7.3.300.0040.00416.11
7.3.290.0050.01016.18
7.3.280.0100.00716.24
7.3.270.0180.00617.40
7.3.260.0140.00316.32
7.3.250.0140.00416.28
7.3.240.0120.00316.34
7.3.230.0120.00916.39
7.3.210.0090.00916.52
7.3.200.0100.01319.39
7.3.190.0060.01016.44
7.3.180.0090.00916.37
7.3.170.0110.00916.27
7.3.160.0090.00616.37
7.3.120.0060.01214.94
7.3.110.0000.01814.62
7.3.100.0040.00714.57
7.3.90.0070.01014.96
7.3.80.0090.00314.89
7.3.70.0110.00314.76
7.3.60.0000.01214.65
7.3.50.0080.00714.80
7.3.40.0030.00614.60
7.3.30.0000.01514.52
7.3.20.0110.00416.73
7.3.10.0070.00716.42
7.3.00.0020.01216.49
7.2.330.0070.01016.52
7.2.320.0110.01016.46
7.2.310.0160.00016.64
7.2.300.0000.01516.61
7.2.290.0030.01416.43
7.2.250.0070.01014.48
7.2.240.0130.00715.02
7.2.230.0070.00715.07
7.2.220.0060.00314.80
7.2.210.0100.00314.98
7.2.200.0150.00314.73
7.2.190.0070.00414.74
7.2.180.0030.01314.65
7.2.170.0070.00714.82
7.2.130.0060.01116.54
7.2.120.0030.01316.71
7.2.110.0060.00616.57
7.2.100.0050.00716.40
7.2.90.0050.00916.69
7.2.80.0040.01016.60
7.2.70.0050.01116.50
7.2.60.0130.00716.69
7.2.50.0070.00816.85
7.2.40.0090.00816.90
7.2.30.0070.01116.67
7.2.20.0070.00516.83
7.2.10.0050.00716.70
7.2.00.0140.00717.30
7.1.330.0070.00715.69
7.1.320.0040.01115.81
7.1.310.0030.00915.68
7.1.300.0100.00615.63
7.1.290.0030.00615.44
7.1.280.0030.00915.46
7.1.270.0040.00415.72
7.1.260.0070.00715.57
7.1.250.0030.01115.53
7.1.200.0030.00915.58
7.1.70.0000.00716.88
7.1.60.0000.01117.24
7.1.50.0000.01516.88
7.1.00.0070.08722.54
7.0.200.0120.00616.46
7.0.140.0030.03722.00
7.0.60.0030.04019.91
7.0.50.0030.04017.85
7.0.40.0030.07319.97
7.0.30.0300.04720.13
7.0.20.0230.08320.10
7.0.10.0270.06320.08
7.0.00.0130.08020.06
5.6.280.0070.07021.07
5.6.210.0100.04720.55
5.6.200.0030.04018.19
5.6.190.0070.04020.48
5.6.180.4200.04020.48
5.6.170.0170.04320.54
5.6.160.0100.07020.46
5.6.150.0070.05318.12
5.6.140.0100.05318.29
5.6.130.0100.03718.15
5.6.120.0070.07720.99
5.6.110.0070.08020.98
5.6.100.0130.07720.97
5.6.90.0030.04021.02
5.6.80.0030.06320.54
5.6.70.0270.07020.35
5.5.350.0330.07020.38
5.5.340.0030.04718.09
5.5.330.0070.06720.45
5.5.320.0370.04320.32
5.5.310.0370.05320.27
5.5.300.0100.08017.99
5.5.290.0130.07318.04
5.5.280.0100.07720.96
5.5.270.0070.08320.73
5.5.260.0130.07720.84
5.5.250.0070.05020.66
5.5.240.4000.03720.10
5.4.450.0400.06319.45
5.4.440.0200.05319.21
5.4.430.0070.06319.54
5.4.420.0170.05319.43
5.4.410.0100.05719.32
5.4.400.0200.04719.17
5.4.390.0370.06318.80
5.4.380.0300.07318.70
5.4.370.0400.06018.50
5.4.360.0230.07718.78
5.4.350.0270.07018.61
5.4.340.0300.07318.47
5.4.320.0200.06018.78
5.4.310.0230.05718.56
5.4.300.0300.05718.78
5.4.290.0400.06018.63
5.4.280.0400.07018.78
5.4.270.0330.06718.69
5.4.260.0230.05318.68
5.4.250.0270.05318.73
5.4.240.0370.05018.61
5.4.230.0230.06318.59
5.4.220.0200.07018.71
5.4.210.0270.07018.46
5.4.200.0370.06016.64
5.4.190.0230.06718.68
5.4.180.0270.07018.55
5.4.170.0230.07318.77
5.4.160.0270.07018.71
5.4.150.0300.08318.48
5.4.140.0370.06316.30
5.4.130.0130.06716.27
5.4.120.0130.06016.28
5.4.110.0200.06716.32
5.4.100.0230.07016.45
5.4.90.0270.04716.26
5.4.80.0200.04716.36
5.4.70.0170.05316.31
5.4.60.0300.04016.27
5.4.50.0130.06316.28
5.4.40.0230.06716.25
5.4.30.0270.04316.20
5.4.20.0200.05716.40
5.4.10.0270.04716.22
5.4.00.0230.05715.77
5.3.290.0170.06314.70
5.3.280.0300.05014.70
5.3.270.0230.05314.64
5.3.260.0200.05714.81
5.3.250.0300.05714.74
5.3.240.0200.07714.65
5.3.230.0330.06714.64
5.3.220.0330.06714.75
5.3.210.0230.06014.70
5.3.200.0270.05314.67
5.3.190.0270.06314.74
5.3.180.0300.06014.60
5.3.170.0270.05714.77
5.3.160.0270.07314.66
5.3.150.0330.08314.67
5.3.140.0270.04714.74
5.3.130.0270.07314.75
5.3.120.0300.06314.77
5.3.110.0430.07314.58
5.3.100.0370.06714.06
5.3.90.0300.04714.13
5.3.80.0270.05314.05
5.3.70.0230.05014.06
5.3.60.0130.05714.00
5.3.50.0170.06013.98
5.3.40.0230.06014.13
5.3.30.0230.05013.93
5.3.20.0270.04313.75
5.3.10.0330.04013.76
5.3.00.0270.04713.67
5.2.170.0100.04711.14
5.2.160.0170.04011.25
5.2.150.0200.04011.14
5.2.140.0230.03711.24
5.2.130.0130.06011.31
5.2.120.0270.03711.18
5.2.110.0170.04711.15
5.2.100.0130.04311.16
5.2.90.0230.03711.13
5.2.80.0100.05011.21
5.2.70.0230.03311.12
5.2.60.0170.04711.04
5.2.50.0200.04011.04
5.2.40.0300.02311.21
5.2.30.0200.04011.07
5.2.20.0170.04311.14
5.2.10.0200.03710.86
5.2.00.0100.04710.76
5.1.60.0100.03710.18
5.1.50.0200.02710.02
5.1.40.0000.0479.96
5.1.30.0100.03710.37
5.1.20.0100.04310.46
5.1.10.0070.04010.21
5.1.00.0100.04010.13
5.0.50.0030.0338.59
5.0.40.0030.0308.40
5.0.30.0100.0478.25
5.0.20.0100.0278.24
5.0.10.0030.0338.18
5.0.00.0070.0438.30
4.4.90.0000.0305.88
4.4.80.0070.0305.87
4.4.70.0170.0135.86
4.4.60.0100.0275.88
4.4.50.0100.0205.90
4.4.40.0100.0335.92
4.4.30.0070.0305.87
4.4.20.0070.0305.93
4.4.10.0130.0206.00
4.4.00.0030.0375.95
4.3.110.0100.0275.75
4.3.100.0170.0135.84
4.3.90.0170.0205.83
4.3.80.0130.0305.79
4.3.70.0070.0275.82
4.3.60.0070.0305.79
4.3.50.0100.0235.77
4.3.40.0070.0405.83
4.3.30.0000.0274.58
4.3.20.0000.0274.52
4.3.10.0000.0274.56
4.3.00.0000.0237.10

preferences:
63.69 ms | 401 KiB | 5 Q