3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Command {} class CCommand {} interface ITest { public function handle(Command $command); } class CTest implements ITest { public function handle(CCommand $command) { } }

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.00718.14
8.3.50.0130.00318.17
8.3.40.0120.00318.67
8.3.30.0140.00018.59
8.3.20.0040.00420.16
8.3.10.0040.00420.56
8.3.00.0070.00023.70
8.2.180.0070.00718.29
8.2.170.0070.00722.96
8.2.160.0100.00322.11
8.2.150.0120.00324.18
8.2.140.0000.00824.66
8.2.130.0000.00720.88
8.2.120.0000.00726.35
8.2.110.0030.00721.05
8.2.100.0040.00717.78
8.2.90.0040.00417.84
8.2.80.0040.00418.03
8.2.70.0060.00317.38
8.2.60.0090.00017.79
8.2.50.0030.00518.09
8.2.40.0000.00720.39
8.2.30.0000.00719.30
8.2.20.0000.00817.58
8.2.10.0040.00418.05
8.2.00.0020.00517.95
8.1.280.0030.01125.92
8.1.270.0080.00022.08
8.1.260.0040.00428.09
8.1.250.0080.00028.09
8.1.240.0090.00023.74
8.1.230.0070.00320.95
8.1.220.0080.00017.74
8.1.210.0000.00918.90
8.1.200.0090.00017.35
8.1.190.0030.00517.10
8.1.180.0040.00418.10
8.1.170.0050.00318.71
8.1.160.0040.00420.65
8.1.150.0020.00518.81
8.1.140.0000.00819.55
8.1.130.0000.00717.62
8.1.120.0080.00017.38
8.1.110.0000.00717.39
8.1.100.0000.00717.39
8.1.90.0040.00417.37
8.1.80.0070.00017.42
8.1.70.0070.00017.31
8.1.60.0000.00717.48
8.1.50.0040.00417.48
8.1.40.0000.00717.44
8.1.30.0030.00517.58
8.1.20.0000.00717.29
8.1.10.0000.00717.40
8.1.00.0050.00317.20
8.0.300.0040.00419.83
8.0.290.0000.00716.63
8.0.280.0000.00718.42
8.0.270.0000.00717.19
8.0.260.0040.00417.20
8.0.250.0000.00716.84
8.0.240.0040.00416.94
8.0.230.0040.00416.99
8.0.220.0000.00716.88
8.0.210.0060.00316.91
8.0.200.0030.00316.93
8.0.190.0040.00416.96
8.0.180.0040.00416.92
8.0.170.0030.00516.94
8.0.160.0080.00016.94
8.0.150.0040.00416.77
8.0.140.0050.00216.83
8.0.130.0000.00513.32
8.0.120.0050.00316.80
8.0.110.0080.00016.80
8.0.100.0040.00416.77
8.0.90.0070.00016.75
8.0.80.0110.00416.81
8.0.70.0000.00716.77
8.0.60.0070.00016.95
8.0.50.0050.00216.86
8.0.30.0100.00816.97
8.0.20.0120.00917.40
8.0.10.0040.00416.87
8.0.00.0100.00816.62
7.4.330.0000.00516.66
7.4.320.0030.00316.38
7.4.300.0000.00616.57
7.4.290.0070.00016.37
7.4.280.0030.00616.50
7.4.270.0070.00016.41
7.4.260.0080.00016.45
7.4.250.0030.00616.48
7.4.240.0000.00716.48
7.4.230.0000.00716.33
7.4.220.0130.01016.38
7.4.210.0050.00916.47
7.4.200.0000.00716.59
7.4.160.0110.00716.22
7.4.150.0070.01117.40
7.4.140.0110.00817.86
7.4.130.0100.00916.41
7.4.120.0070.01116.49
7.4.110.0050.01516.48
7.4.100.0160.01316.52
7.4.90.0100.00716.39
7.4.80.0040.01519.39
7.4.70.0030.01516.58
7.4.60.0180.00316.56
7.4.50.0040.01116.56
7.4.40.0030.01816.46
7.4.30.0120.00916.52
7.4.00.0030.01014.72
7.3.330.0000.00513.23
7.3.320.0050.00013.23
7.3.310.0000.00716.33
7.3.300.0030.00616.20
7.3.290.0030.00316.20
7.3.280.0050.01216.23
7.3.270.0100.00717.40
7.3.260.0150.00316.30
7.3.250.0060.01316.40
7.3.240.0080.01016.27
7.3.230.0090.01316.39
7.3.210.0100.00716.30
7.3.200.0110.01116.28
7.3.190.0090.00616.42
7.3.180.0060.01216.39
7.3.170.0090.00916.34
7.3.160.0090.01216.48
7.3.00.0070.00716.44
7.2.330.0100.01016.45
7.2.320.0040.01816.66
7.2.310.0000.01816.39
7.2.300.0040.01216.23
7.2.290.0110.00716.43
7.2.130.0110.00716.96
7.2.120.0090.00616.91
7.2.110.0030.00817.00
7.2.100.0040.00816.74
7.2.90.0030.01316.83
7.2.80.0030.01016.91
7.2.70.0060.00616.90
7.2.60.0100.00516.73
7.2.50.0030.01316.44
7.2.40.0030.01216.66
7.2.30.0030.00716.54
7.2.20.0090.00616.67
7.2.10.0060.00616.55
7.2.00.0020.01118.03
7.1.250.0140.00015.68
7.1.240.0000.00915.89
7.1.230.0030.01015.61
7.1.220.0030.00615.40
7.1.210.0110.00415.39
7.1.200.0070.00415.51
7.1.190.0070.00715.40
7.1.180.0110.00315.68
7.1.170.0040.00715.55
7.1.160.0000.01515.55
7.1.150.0040.01115.62
7.1.140.0090.00015.46
7.1.130.0030.00615.72
7.1.120.0030.00615.61
7.1.110.0030.01015.70
7.1.100.0090.00416.89
7.1.90.0040.00815.70
7.1.80.0030.00915.59
7.1.70.0050.00416.39
7.1.60.0080.00817.35
7.1.50.0050.01216.27
7.1.40.0030.00715.76
7.1.30.0040.00815.61
7.1.20.0000.01015.55
7.1.10.0050.00215.66
7.1.00.0030.04519.05
7.0.330.0030.01015.20
7.0.320.0080.00315.50
7.0.310.0000.01315.06
7.0.300.0040.01115.29
7.0.290.0000.01315.03
7.0.280.0040.01115.13
7.0.270.0040.00415.26
7.0.260.0000.01014.87
7.0.250.0070.00315.07
7.0.240.0100.00315.32
7.0.230.0000.01015.46
7.0.220.0090.00615.20
7.0.210.0060.00314.89
7.0.200.0060.00714.91
7.0.190.0000.00715.16
7.0.180.0060.00315.17
7.0.170.0030.00915.19
7.0.160.0030.00915.34
7.0.150.0000.00815.33
7.0.140.0030.00915.24
7.0.130.0060.00615.09
7.0.120.0040.00815.38
7.0.110.0000.01215.08
7.0.100.0030.00715.33
7.0.90.0060.00615.08
7.0.80.0080.00415.31
7.0.70.0040.00815.25
7.0.60.0130.04118.54
7.0.50.0030.02916.47
7.0.40.0080.04216.63
7.0.30.0170.04016.72
7.0.20.0150.03816.73
7.0.10.0030.04816.75
7.0.00.0000.02916.71
5.6.380.0110.00414.30
5.6.370.0030.00614.23
5.6.360.0030.00714.09
5.6.350.0030.00614.11
5.6.340.0030.01013.81
5.6.330.0040.01114.29
5.6.320.0000.00813.93
5.6.310.0030.00713.99
5.6.300.0030.01314.56
5.6.290.0000.00713.91
5.6.280.0050.03517.74
5.6.270.0040.00414.00
5.6.260.0060.00614.29
5.6.250.0070.00714.30
5.6.240.0040.00713.85
5.6.230.0040.00814.02
5.6.220.0070.00714.04
5.6.210.0030.03517.38
5.6.200.0070.02016.29
5.6.190.0050.02917.55
5.6.180.0130.03117.38
5.6.170.0170.04017.43
5.6.160.0030.02717.41
5.6.150.0140.01916.25
5.6.140.0060.04516.13
5.6.130.0070.03416.22
5.6.120.0080.04617.47
5.6.110.0130.03517.52
5.6.100.0070.04517.54
5.6.90.0050.04717.54
5.6.80.0070.03517.23
5.6.70.0100.00314.09
5.6.60.0110.00314.00
5.6.50.0100.00313.80
5.6.40.0000.01414.11
5.6.30.0080.00813.96
5.6.20.0000.01513.91
5.6.10.0100.00613.99
5.6.00.0060.00614.18
5.5.380.0080.00011.07
5.5.370.0000.00710.60
5.5.360.0030.00310.97
5.5.350.2130.02415.67
5.5.340.0040.04714.37
5.5.330.0030.04115.64
5.5.320.0300.02015.60
5.5.310.0120.04215.64
5.5.300.0080.03814.62
5.5.290.0090.02114.44
5.5.280.0100.03715.85
5.5.270.0040.04715.74
5.5.260.0000.03415.88
5.5.250.0030.02815.66
5.5.240.0180.03315.53
5.5.230.0070.00310.90
5.5.220.0030.00610.86
5.5.210.0030.01010.92
5.5.200.0000.01210.99
5.5.190.0110.00011.03
5.5.180.0030.00710.86
5.5.170.0000.00610.91
5.5.160.0090.00311.02
5.5.150.0060.00610.87
5.5.140.0000.00610.87
5.5.130.0030.00310.88
5.5.120.0000.01211.08
5.5.110.0020.00611.13
5.5.100.0060.00610.61
5.5.90.0070.00311.01
5.5.80.0050.00510.99
5.5.70.0000.00710.80
5.5.60.0090.00310.71
5.5.50.0060.00310.96
5.5.40.0030.00310.74
5.5.30.0030.00611.13
5.5.20.0030.00910.90
5.5.10.0050.00010.68
5.5.00.0060.00610.95

preferences:
47.2 ms | 400 KiB | 5 Q