3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface test2 { function foo2(); } interface test3 { function foo3(); } interface test extends test2, test3 { } class foo implements test { function foo3() { } function foo2() { } }

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.40.0060.00918.59
8.3.30.0110.00418.83
8.3.20.0070.00020.18
8.3.10.0040.00423.66
8.3.00.0060.00319.13
8.2.170.0140.00722.96
8.2.160.0110.01120.38
8.2.150.0050.00224.18
8.2.140.0070.00024.66
8.2.130.0110.00726.16
8.2.120.0030.00722.11
8.2.110.0040.00422.29
8.2.100.0080.00417.78
8.2.90.0000.00719.28
8.2.80.0000.00817.97
8.2.70.0030.00517.38
8.2.60.0000.00817.80
8.2.50.0000.00818.07
8.2.40.0030.00519.82
8.2.30.0050.00218.02
8.2.20.0040.00417.48
8.2.10.0040.00419.81
8.2.00.0040.00817.51
8.1.270.0120.00824.02
8.1.260.0000.00826.35
8.1.250.0070.00028.09
8.1.240.0030.00623.89
8.1.230.0070.00419.08
8.1.220.0050.00317.74
8.1.210.0000.00818.77
8.1.200.0030.00617.36
8.1.190.0080.00017.27
8.1.180.0030.00618.10
8.1.170.0060.00318.49
8.1.160.0070.00022.01
8.1.150.0070.00018.61
8.1.140.0040.00417.34
8.1.130.0070.00017.75
8.1.120.0050.00317.41
8.1.110.0040.00417.28
8.1.100.0060.00317.29
8.1.90.0030.00317.39
8.1.80.0040.00417.34
8.1.70.0000.00717.40
8.1.60.0000.00817.45
8.1.50.0000.00817.32
8.1.40.0070.00017.35
8.1.30.0000.00917.52
8.1.20.0070.00317.55
8.1.10.0040.00417.38
8.1.00.0040.00417.29
8.0.300.0040.00418.77
8.0.290.0050.00317.16
8.0.280.0000.00718.28
8.0.270.0030.00317.14
8.0.260.0030.00317.09
8.0.250.0030.00316.92
8.0.240.0000.00716.75
8.0.230.0000.00716.72
8.0.220.0050.00216.69
8.0.210.0040.00416.70
8.0.200.0030.00316.76
8.0.190.0000.00816.77
8.0.180.0040.00416.85
8.0.170.0000.00716.88
8.0.160.0000.00816.84
8.0.150.0030.00316.64
8.0.140.0070.00016.72
8.0.130.0030.00313.23
8.0.120.0040.00416.64
8.0.110.0000.00716.77
8.0.100.0030.00616.80
8.0.90.0000.00716.70
8.0.80.0080.01216.86
8.0.70.0040.00416.79
8.0.60.0070.00016.80
8.0.50.0000.00716.80
8.0.30.0100.01017.04
8.0.20.0170.00317.40
8.0.10.0040.00416.92
8.0.00.0120.00616.79
7.4.330.0030.00315.00
7.4.320.0030.00316.42
7.4.300.0000.00716.43
7.4.290.0060.00316.52
7.4.280.0050.00516.41
7.4.270.0050.00316.54
7.4.260.0070.00016.53
7.4.250.0040.00416.35
7.4.240.0060.00116.40
7.4.230.0030.00316.60
7.4.220.0100.00716.34
7.4.210.0070.00916.44
7.4.200.0000.00716.61
7.4.190.0000.00816.61
7.4.160.0060.00916.57
7.4.150.0080.00817.40
7.4.140.0120.00917.86
7.4.130.0070.01216.45
7.4.120.0090.00816.41
7.4.110.0070.01016.22
7.4.100.0180.00016.47
7.4.90.0080.00816.45
7.4.80.0080.00819.39
7.4.70.0080.00816.44
7.4.60.0060.01216.24
7.4.50.0030.00316.16
7.4.40.0080.00722.77
7.4.30.0100.01016.39
7.4.10.0070.01114.73
7.4.00.0080.00914.77
7.3.330.0050.00013.14
7.3.320.0040.00413.09
7.3.310.0000.00816.14
7.3.300.0030.00316.13
7.3.290.0100.01016.06
7.3.280.0100.00716.09
7.3.270.0110.00717.40
7.3.260.0150.00616.40
7.3.250.0090.01316.31
7.3.240.0060.01616.42
7.3.230.0130.00316.39
7.3.210.0060.01016.38
7.3.200.0210.00319.39
7.3.190.0060.01016.13
7.3.180.0080.00816.34
7.3.170.0110.00516.43
7.3.160.0090.00616.45
7.3.130.0060.01314.86
7.3.120.0050.01014.69
7.3.110.0090.00914.73
7.3.100.0030.01014.41
7.3.90.0100.00714.66
7.3.80.0040.00714.86
7.3.70.0100.00314.69
7.3.60.0030.00914.72
7.3.50.0000.00914.44
7.3.40.0030.00814.50
7.3.30.0030.01014.48
7.3.20.0040.00716.54
7.3.10.0060.00516.68
7.3.00.0070.00716.49
7.2.330.0060.01316.62
7.2.320.0080.00816.21
7.2.310.0100.00716.23
7.2.300.0190.00016.27
7.2.290.0030.01716.45
7.2.260.0090.00914.81
7.2.250.0070.01014.45
7.2.240.0070.01014.69
7.2.230.0090.00615.07
7.2.220.0060.01014.78
7.2.210.0070.00715.08
7.2.200.0000.00914.70
7.2.190.0060.00614.82
7.2.180.0030.00614.81
7.2.170.0000.01314.84
7.2.160.0060.00914.66
7.2.150.0090.00316.82
7.2.140.0080.00816.54
7.2.130.0050.00816.75
7.2.120.0030.00916.81
7.2.110.0050.00716.73
7.2.100.0020.01116.76
7.2.90.0090.00416.80
7.2.80.0070.00816.88
7.2.70.0100.00116.82
7.2.60.0050.00716.82
7.2.50.0060.00816.81
7.2.40.0040.00916.78
7.2.30.0080.00616.62
7.2.20.0030.01016.62
7.2.10.0060.00616.75
7.2.00.0030.01017.57
7.1.330.0030.01015.73
7.1.320.0100.00715.71
7.1.310.0100.00315.43
7.1.300.0100.00315.38
7.1.290.0000.00915.67
7.1.280.0060.00615.49
7.1.270.0040.00715.57
7.1.260.0000.01415.47
7.1.250.0040.00615.54
7.1.240.0000.01215.62
7.1.230.0040.01115.64
7.1.220.0000.00815.61
7.1.210.0120.00015.52
7.1.200.0040.00615.61
7.1.190.0030.01015.68
7.1.180.0040.01415.59
7.1.170.0070.00715.55
7.1.160.0060.00615.52
7.1.150.0030.01015.54
7.1.140.0110.00015.70
7.1.130.0030.00915.59
7.1.120.0040.01115.64
7.1.110.0060.00315.75
7.1.100.0050.00516.75
7.1.90.0030.00815.56
7.1.80.0070.00715.84
7.1.70.0070.00716.23
7.1.60.0080.00717.40
7.1.50.0100.01325.08
7.1.40.0040.01115.72
7.1.30.0110.00415.52
7.1.20.0030.01015.71
7.1.10.0030.01015.70
7.1.00.0050.04319.03
7.0.330.0040.00815.29
7.0.320.0070.00715.08
7.0.310.0030.01015.24
7.0.300.0110.00315.36
7.0.290.0030.00615.17
7.0.280.0080.00015.34
7.0.270.0040.00415.10
7.0.260.0000.00915.05
7.0.250.0040.00715.38
7.0.240.0060.00615.16
7.0.230.0070.00015.09
7.0.220.0070.00715.21
7.0.210.0110.00315.25
7.0.200.0110.00715.04
7.0.190.0060.00915.06
7.0.180.0030.01015.20
7.0.170.0080.00015.36
7.0.160.0100.00615.31
7.0.150.0060.00315.26
7.0.140.0100.03518.58
7.0.130.0040.01115.05
7.0.120.0070.00315.25
7.0.110.0060.00615.43
7.0.100.0100.00615.36
7.0.90.0000.01015.31
7.0.80.0000.00815.32
7.0.70.0060.00615.19
7.0.60.0100.04117.67
7.0.50.0020.02516.56
7.0.40.0050.03216.73
7.0.30.0200.04016.75
7.0.20.0160.04316.75
7.0.10.0080.02016.81
7.0.00.0020.02616.85
5.6.400.0000.01313.96
5.6.390.0000.01113.88
5.6.380.0090.00614.22
5.6.370.0000.01114.46
5.6.360.0080.00414.42
5.6.350.0090.00614.25
5.6.340.0000.01014.15
5.6.330.0040.01114.31
5.6.320.0030.00914.30
5.6.310.0090.00914.27
5.6.300.0000.01414.47
5.6.290.0040.01114.34
5.6.280.0030.04017.61
5.6.270.0000.01014.03
5.6.260.0060.00914.43
5.6.250.0060.00614.30
5.6.240.0040.00814.25
5.6.230.0100.00314.07
5.6.220.0060.00614.42
5.6.210.0070.04517.46
5.6.200.0070.02316.18
5.6.190.0030.03117.26
5.6.180.0150.03717.24
5.6.170.0150.03617.20
5.6.160.0090.04417.21
5.6.150.0120.02816.15
5.6.140.0080.03516.13
5.6.130.0030.02316.06
5.6.120.0070.02217.62
5.6.110.0150.03817.53
5.6.100.0030.03017.41
5.6.90.0050.03717.58
5.6.80.0080.03717.35
5.6.70.2050.02117.16
5.6.60.0030.00914.09
5.6.50.0000.01314.15
5.6.40.0000.01714.13
5.6.30.0100.00614.08
5.6.20.0040.00414.11
5.6.10.0060.00914.17
5.6.00.0040.00813.73
5.5.380.0030.01013.89
5.5.370.0000.01014.27
5.5.360.0100.00313.78
5.5.350.0070.04317.25
5.5.340.0070.04516.04
5.5.330.0080.03217.31
5.5.320.0130.04317.24
5.5.310.0200.02217.15
5.5.300.0090.02816.15
5.5.290.0080.03315.98
5.5.280.0020.02917.58
5.5.270.0120.03917.55
5.5.260.0060.02317.40
5.5.250.0110.04017.21
5.5.240.0120.02216.97
5.5.230.0030.00613.78
5.5.220.0030.00514.14
5.5.210.0030.01013.86
5.5.200.0070.01014.13
5.5.190.0060.00613.75
5.5.180.0040.00813.84
5.5.170.0070.01013.88
5.5.160.0000.01313.87
5.5.150.0070.00714.19
5.5.140.0080.00414.05
5.5.130.0030.01014.09
5.5.120.0060.00913.83
5.5.110.0070.00714.05
5.5.100.0080.00414.15
5.5.90.0030.00713.85
5.5.80.0060.00313.85
5.5.70.0100.00314.05
5.5.60.0040.00813.80
5.5.50.0080.00614.04
5.5.40.0040.00713.48
5.5.30.0060.00614.07
5.5.20.0050.00813.80
5.5.10.0040.00414.23
5.5.00.0120.00013.65
5.4.450.0200.03115.32
5.4.440.0100.04015.23
5.4.430.0110.03415.05
5.4.420.0320.00515.15
5.4.410.0080.02814.86
5.4.400.0170.02514.88
5.4.390.0080.03014.76
5.4.380.0100.03214.82
5.4.370.0020.03314.64
5.4.360.0140.02514.75
5.4.350.0060.01911.54
5.4.340.0040.02411.54
5.4.330.0060.00610.75
5.4.320.0040.02511.51
5.4.310.0060.02211.54
5.4.300.0040.02011.64
5.4.290.0090.04011.62
5.4.280.0080.04211.43
5.4.270.0080.03511.49
5.4.260.0080.03511.53
5.4.250.0060.03511.50
5.4.240.0060.03411.55
5.4.230.0040.02911.63
5.4.220.0090.02111.55
5.4.210.0050.02111.62
5.4.200.0060.02511.70
5.4.190.0050.03411.68
5.4.180.0160.04711.71
5.4.170.0170.04311.59
5.4.160.0100.04911.52
5.4.150.0060.02911.59
5.4.140.0070.02611.53
5.4.130.0080.03211.47
5.4.120.0070.02411.26
5.4.110.0090.02711.27
5.4.100.0070.02211.43
5.4.90.0060.02411.33
5.4.80.0080.02511.46
5.4.70.0050.02711.38
5.4.60.0060.02211.49
5.4.50.0090.02511.43
5.4.40.0080.02411.43
5.4.30.0030.03911.51
5.4.20.0170.03511.44
5.4.10.0090.02111.48
5.4.00.0050.02311.02
5.3.290.0040.02611.50
5.3.280.0060.02311.53
5.3.270.0090.01811.46
5.3.260.0070.02611.58
5.3.250.0060.02211.59
5.3.240.0050.03411.53
5.3.230.0080.02511.54
5.3.220.0040.02911.48
5.3.210.0050.02411.53
5.3.200.0040.02511.43
5.3.190.0050.02711.51
5.3.180.0060.02511.44
5.3.170.0040.02911.55
5.3.160.0100.02611.55
5.3.150.0070.02111.52
5.3.140.0050.02411.51
5.3.130.0080.02511.53
5.3.120.0040.02711.51
5.3.110.0060.02711.57
5.3.100.0060.02411.23
5.3.90.0060.02911.23
5.3.80.0050.02211.14
5.3.70.0050.02311.08
5.3.60.0050.03211.22
5.3.50.0020.02511.11
5.3.40.0050.02411.01
5.3.30.0060.02111.15
5.3.20.0050.02510.98
5.3.10.0040.02110.87
5.3.00.0060.01910.90
5.2.170.0080.0299.22
5.2.160.0070.0309.23
5.2.150.0080.0309.22
5.2.140.0050.0329.22
5.2.130.0080.0339.18
5.2.120.0060.0299.18
5.2.110.0070.0309.19
5.2.100.0050.0439.18
5.2.90.0070.0289.18
5.2.80.0040.0329.18
5.2.70.0060.0319.17
5.2.60.0040.0339.13
5.2.50.0060.0309.10
5.2.40.0040.0349.08
5.2.30.0060.0299.04
5.2.20.0060.0299.04
5.2.10.0080.0268.94
5.2.00.0060.0348.80
5.1.60.0080.0278.09
5.1.50.0090.0248.09
5.1.40.0070.0348.06
5.1.30.0030.0308.41
5.1.20.0070.0288.44
5.1.10.0230.0628.17
5.1.00.0030.0478.17
5.0.50.0060.0236.64
5.0.40.0070.0266.50
5.0.30.0080.0326.31
5.0.20.0040.0236.28
5.0.10.0040.0216.26
5.0.00.0060.0316.25
4.4.90.0030.0154.78
4.4.80.0030.0154.75
4.4.70.0030.0154.76
4.4.60.0060.0264.75
4.4.50.0150.0344.77
4.4.40.0050.0354.71
4.4.30.0020.0194.76
4.4.20.0020.0184.84
4.4.10.0040.0174.85
4.4.00.0070.0344.76
4.3.110.0060.0164.67
4.3.100.0040.0184.66
4.3.90.0030.0184.64
4.3.80.0030.0284.58
4.3.70.0090.0184.63
4.3.60.0030.0304.63
4.3.50.0060.0244.62
4.3.40.0050.0294.53
4.3.30.0060.0253.29
4.3.20.0020.0203.26
4.3.10.0040.0243.22
4.3.00.0070.0206.91

preferences:
48.03 ms | 400 KiB | 5 Q