3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface ContractA { public function doSomething(); } interface ContractB { public function doSomething(); } class Implementor implements ContractA, ContractB { public function doSomething() { echo "foo\n"; } } $implementor = new Implementor(); $implementor->soSomething();

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.0070.01418.31
8.3.50.0070.00921.01
8.3.40.0120.00918.98
8.3.30.0060.01519.09
8.3.20.0050.00220.16
8.3.10.0110.00423.29
8.3.00.0040.00423.54
8.2.180.0110.00716.75
8.2.170.0100.00722.96
8.2.160.0140.00022.16
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0070.00026.16
8.2.120.0000.00817.63
8.2.110.0060.00621.13
8.2.100.0070.00317.75
8.2.90.0080.00019.30
8.2.80.0030.00517.97
8.2.70.0060.00317.50
8.2.60.0000.00817.93
8.2.50.0030.00618.07
8.2.40.0000.00820.84
8.2.30.0040.00419.78
8.2.20.0000.00817.74
8.2.10.0000.00717.97
8.2.00.0000.00817.93
8.1.280.0030.01425.92
8.1.270.0000.00920.20
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0040.00422.11
8.1.230.0040.00817.53
8.1.220.0000.00817.74
8.1.210.0000.00918.77
8.1.200.0030.00617.11
8.1.190.0040.00417.35
8.1.180.0070.00018.10
8.1.170.0040.00418.46
8.1.160.0040.00421.93
8.1.150.0040.00418.80
8.1.140.0080.00017.46
8.1.130.0070.00017.74
8.1.120.0040.00417.36
8.1.110.0040.00417.42
8.1.100.0050.00217.46
8.1.90.0000.00717.52
8.1.80.0070.00017.45
8.1.70.0040.00417.39
8.1.60.0030.00517.57
8.1.50.0050.00217.44
8.1.40.0040.00417.38
8.1.30.0030.00517.56
8.1.20.0030.00617.66
8.1.10.0000.00717.48
8.1.00.0000.00717.39
8.0.300.0040.00418.77
8.0.290.0000.00716.75
8.0.280.0030.00318.50
8.0.270.0030.00717.17
8.0.260.0000.00817.25
8.0.250.0000.00317.11
8.0.240.0070.00017.07
8.0.230.0000.00717.06
8.0.220.0000.00616.92
8.0.210.0030.00316.89
8.0.200.0070.00017.01
8.0.190.0000.00917.02
8.0.180.0000.00717.05
8.0.170.0000.00816.88
8.0.160.0000.00717.02
8.0.150.0000.00716.89
8.0.140.0000.00816.90
8.0.130.0000.00613.45
8.0.120.0030.00516.79
8.0.110.0050.00216.91
8.0.100.0030.00317.02
8.0.90.0000.00716.99
8.0.80.0090.00617.03
8.0.70.0030.00516.82
8.0.60.0070.00017.02
8.0.50.0050.00316.97
8.0.30.0140.00517.00
8.0.20.0100.00817.40
8.0.10.0000.00817.05
8.0.00.0120.00716.85
7.4.330.0000.00515.08
7.4.320.0030.00316.50
7.4.300.0060.00016.63
7.4.290.0000.00716.57
7.4.280.0000.00716.64
7.4.270.0000.00716.62
7.4.260.0040.00416.35
7.4.250.0040.00416.48
7.4.240.0040.00416.54
7.4.230.0030.00316.72
7.4.220.0120.01516.63
7.4.210.0040.01116.60
7.4.200.0000.00716.61
7.4.160.0210.00316.70
7.4.150.0030.01417.40
7.4.140.0120.00717.86
7.4.130.0030.01316.48
7.4.120.0160.00316.56
7.4.110.0070.01016.38
7.4.100.0070.01016.37
7.4.90.0090.00916.27
7.4.80.0030.01419.39
7.4.70.0030.02016.40
7.4.60.0080.00716.37
7.4.50.0060.00316.57
7.4.40.0040.01416.41
7.4.30.0130.01016.58
7.4.00.0030.01014.98
7.3.330.0050.00013.22
7.3.320.0030.00313.29
7.3.310.0060.00016.22
7.3.300.0040.00416.16
7.3.290.0060.00916.26
7.3.280.0100.00816.31
7.3.270.0100.01417.40
7.3.260.0140.00716.54
7.3.250.0050.01216.43
7.3.240.0100.00716.36
7.3.230.0090.01216.48
7.3.210.0100.00616.53
7.3.200.0030.01916.39
7.3.190.0080.00716.38
7.3.180.0120.00616.45
7.3.170.0130.00316.27
7.3.160.0090.01216.50
7.2.330.0140.00516.70
7.2.320.0120.00616.70
7.2.310.0070.01116.68
7.2.300.0060.00916.71
7.2.290.0060.00916.41
7.2.60.0120.00417.00
7.2.00.0090.00919.54
7.1.200.0100.00015.80
7.1.100.0030.00618.13
7.1.70.0000.01116.98
7.1.60.0160.00919.42
7.1.50.0120.01216.84
7.1.00.0070.07022.30
7.0.200.0040.01116.43
7.0.60.0100.06319.99
7.0.50.0070.08317.84
7.0.40.0100.07719.96
7.0.30.0200.04020.45
7.0.20.0330.06720.16
7.0.10.0070.04020.26
7.0.00.0030.06720.07
5.6.280.0000.04720.89
5.6.210.0200.07320.71
5.6.200.0030.04318.12
5.6.190.0130.06720.35
5.6.180.0470.07720.61
5.6.170.0300.06320.62
5.6.160.0030.04020.55
5.6.150.0100.07018.16
5.6.140.0130.07318.19
5.6.130.0070.03718.14
5.6.120.0070.08321.14
5.6.110.0100.06721.13
5.6.100.0030.04321.11
5.6.90.0100.08321.10
5.6.80.0100.03720.38
5.5.350.0230.07320.41
5.5.340.0000.07018.07
5.5.330.0070.08720.25
5.5.320.0330.04020.51
5.5.310.0330.06020.20
5.5.300.0170.04018.06
5.5.290.0000.04317.98
5.5.280.0070.08720.89
5.5.270.0100.07720.88
5.5.260.0130.06020.76
5.5.250.0100.05720.58
5.5.240.0030.04020.18
5.4.450.0230.06319.31
5.4.440.0700.05019.47
5.4.430.0600.05719.60
5.4.420.0630.04719.59
5.4.410.0530.06319.17
5.4.400.0830.04319.02
5.4.390.0670.05019.01
5.4.380.0730.04319.27
5.4.370.0630.05319.27
5.4.360.0600.05719.13
5.4.350.0670.05019.15
5.4.340.0670.05319.16
5.4.320.0530.06318.87
5.4.310.0600.05718.98
5.4.300.0770.04018.84
5.4.290.0570.05719.22
5.4.280.0570.06018.84
5.4.270.0570.05019.05
5.4.260.0570.04319.16
5.4.250.0500.05318.88
5.4.240.0470.05319.27
5.4.230.0570.04319.28
5.4.220.0470.05319.13
5.4.210.0830.04319.07
5.4.200.0670.04316.94
5.4.190.0600.05719.34
5.4.180.0500.05719.11
5.4.170.0700.04719.17
5.4.160.0430.05019.07
5.4.150.0130.05318.98
5.4.140.0570.04016.45
5.4.130.0130.05016.55
5.4.120.0170.04316.58
5.4.110.0530.04316.59
5.4.100.0530.05016.43
5.4.90.0370.05716.59
5.4.80.0470.05016.34
5.4.70.0500.04716.33
5.4.60.0600.03716.29
5.4.50.0530.04716.54
5.4.40.0500.05016.37
5.4.30.0430.05316.35
5.4.20.0600.05316.52
5.4.10.0100.05316.47
5.4.00.0170.04316.17
5.3.290.0570.04714.58
5.3.280.0630.05014.49
5.3.270.0330.05714.52
5.3.260.0170.05714.62
5.3.250.0170.06314.59
5.3.240.0600.06014.66
5.3.230.0830.05014.82
5.3.220.0330.04714.57
5.3.210.0230.04714.56
5.3.200.0470.05314.56
5.3.190.0900.06314.59
5.3.180.0570.05314.46
5.3.170.0130.05014.60
5.3.160.0270.04714.58
5.3.150.0400.05714.64
5.3.140.0500.05714.56
5.3.130.0600.05714.60
5.3.120.0870.04714.60
5.3.110.0530.06314.56
5.3.100.0800.04713.95
5.3.90.0800.05014.25
5.3.80.0670.05013.95
5.3.70.0600.05314.17
5.3.60.0730.04314.04
5.3.50.0600.04713.96
5.3.40.0670.04014.18
5.3.30.0500.06013.92
5.3.20.0430.05713.77
5.3.10.0700.04713.71
5.3.00.0600.04313.56
5.2.170.0600.04311.21
5.2.160.0570.04011.21
5.2.150.0530.03710.99
5.2.140.0400.04011.16
5.2.130.0600.03011.34
5.2.120.0430.04011.20
5.2.110.0670.04011.03
5.2.100.0430.04011.11
5.2.90.0570.03711.19
5.2.80.0530.04311.10
5.2.70.0570.04311.18
5.2.60.0430.05010.97
5.2.50.0500.03710.93
5.2.40.0370.04010.93
5.2.30.0430.03310.98
5.2.20.0430.03710.88
5.2.10.0430.03710.78
5.2.00.0470.04010.66
5.1.60.0470.0339.98
5.1.50.0530.0309.93
5.1.40.0370.0409.90
5.1.30.0600.03010.25
5.1.20.0430.03710.25
5.1.10.0470.04710.00
5.1.00.0270.0409.96
5.0.50.0270.0278.45
5.0.40.0170.0278.34
5.0.30.0400.0408.29
5.0.20.0230.0208.18
5.0.10.0170.0308.23
5.0.00.0170.0438.14
4.4.90.0170.0205.84
4.4.80.0130.0235.82
4.4.70.0170.0205.83
4.4.60.0170.0235.83
4.4.50.0170.0175.84
4.4.40.0200.0305.77
4.4.30.0170.0205.75
4.4.20.0130.0235.82
4.4.10.0130.0275.89
4.4.00.0270.0305.88
4.3.110.0200.0205.76
4.3.100.0230.0205.79
4.3.90.0170.0205.76
4.3.80.0200.0335.70
4.3.70.0170.0205.64
4.3.60.0130.0235.67
4.3.50.0200.0275.66
4.3.40.0270.0275.71
4.3.30.0130.0304.49
4.3.20.0170.0234.48
4.3.10.0130.0204.44
4.3.00.0070.01710.29

preferences:
47.1 ms | 401 KiB | 5 Q