3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Command {} interface ITest { public function handle($command); } class CTest implements ITest { public function handle(Command $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.0100.01018.30
8.3.50.0080.01121.90
8.3.40.0140.00318.75
8.3.30.0120.00318.54
8.3.20.0050.00220.29
8.3.10.0090.00020.38
8.3.00.0080.00023.54
8.2.180.0110.00716.63
8.2.170.0080.00622.96
8.2.160.0110.00422.20
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0000.00820.61
8.2.120.0000.00926.35
8.2.110.0060.00320.89
8.2.100.0040.00717.59
8.2.90.0000.00817.84
8.2.80.0050.00318.09
8.2.70.0000.00917.59
8.2.60.0040.00418.04
8.2.50.0000.00818.09
8.2.40.0000.00720.55
8.2.30.0040.00419.25
8.2.20.0040.00417.52
8.2.10.0000.00718.12
8.2.00.0040.00417.96
8.1.280.0170.00325.92
8.1.270.0000.00822.14
8.1.260.0050.00328.09
8.1.250.0030.00528.09
8.1.240.0060.00323.97
8.1.230.0070.00320.88
8.1.220.0040.00417.74
8.1.210.0040.00418.90
8.1.200.0060.00317.23
8.1.190.0000.00917.10
8.1.180.0030.00618.10
8.1.170.0050.00318.50
8.1.160.0030.00520.60
8.1.150.0080.00018.89
8.1.140.0080.00019.52
8.1.130.0030.00317.64
8.1.120.0000.00717.41
8.1.110.0040.00417.28
8.1.100.0070.00017.39
8.1.90.0000.00817.44
8.1.80.0000.00717.41
8.1.70.0070.00017.44
8.1.60.0040.00417.55
8.1.50.0030.00617.48
8.1.40.0000.00717.36
8.1.30.0080.00017.50
8.1.20.0040.00417.29
8.1.10.0040.00417.25
8.1.00.0050.00217.24
8.0.300.0000.00719.57
8.0.290.0050.00316.63
8.0.280.0070.00018.36
8.0.270.0070.00017.19
8.0.260.0070.00017.09
8.0.250.0030.00316.98
8.0.240.0000.00616.84
8.0.230.0040.00416.93
8.0.220.0040.00416.88
8.0.210.0000.00816.90
8.0.200.0000.00616.96
8.0.190.0090.00016.92
8.0.180.0040.00416.91
8.0.170.0000.00716.82
8.0.160.0000.00716.95
8.0.150.0070.00016.84
8.0.140.0070.00016.83
8.0.130.0000.00513.27
8.0.120.0040.00416.85
8.0.110.0040.00416.77
8.0.100.0040.00416.68
8.0.90.0000.00716.75
8.0.80.0060.00916.95
8.0.70.0000.00716.70
8.0.60.0070.00016.73
8.0.50.0050.00216.92
8.0.30.0130.00817.01
8.0.20.0110.00717.40
8.0.10.0040.00417.00
8.0.00.0100.00716.63
7.4.330.0050.00016.71
7.4.320.0000.00816.34
7.4.300.0000.00616.43
7.4.290.0070.00016.53
7.4.280.0000.00716.42
7.4.270.0000.00716.33
7.4.260.0050.00316.51
7.4.250.0060.00316.50
7.4.240.0000.00716.44
7.4.230.0030.00316.43
7.4.220.0070.01116.43
7.4.210.0090.00616.49
7.4.200.0070.00016.55
7.4.160.0090.00616.11
7.4.150.0060.01617.40
7.4.140.0100.00717.86
7.4.130.0130.00816.36
7.4.120.0110.00516.38
7.4.110.0130.01016.46
7.4.100.0170.01216.62
7.4.90.0030.01716.52
7.4.80.0160.00619.39
7.4.70.0130.00316.40
7.4.60.0110.00716.59
7.4.50.0080.00516.57
7.4.40.0120.00616.33
7.4.30.0060.00916.49
7.4.00.0010.01014.59
7.3.330.0020.00213.10
7.3.320.0050.00013.09
7.3.310.0070.00016.10
7.3.300.0030.00316.15
7.3.290.0000.00716.20
7.3.280.0070.01116.23
7.3.270.0030.01317.40
7.3.260.0180.00016.30
7.3.250.0100.00916.31
7.3.240.0080.00916.41
7.3.230.0120.00616.39
7.3.210.0030.01416.39
7.3.200.0040.01816.36
7.3.190.0140.00316.23
7.3.180.0110.00716.39
7.3.170.0080.00816.30
7.3.160.0120.00916.21
7.3.120.0060.00814.82
7.3.110.0110.00714.58
7.3.100.0040.01114.72
7.3.90.0030.00714.38
7.3.80.0040.00714.88
7.3.70.0070.01014.74
7.3.60.0100.00714.85
7.3.50.0060.01214.64
7.3.40.0030.01314.77
7.3.30.0040.00714.50
7.3.20.0080.00616.46
7.3.10.0040.01116.62
7.3.00.0060.00916.66
7.2.330.0110.00716.43
7.2.320.0110.00716.56
7.2.310.0130.00616.32
7.2.300.0120.00616.35
7.2.290.0080.00816.41
7.2.250.0120.00415.10
7.2.240.0100.00715.08
7.2.230.0060.00915.09
7.2.220.0030.00714.87
7.2.210.0030.01314.72
7.2.200.0120.00614.82
7.2.190.0030.01314.92
7.2.180.0060.01214.84
7.2.170.0060.01314.85
7.2.60.0060.00616.66
7.2.00.0040.01119.36
7.1.330.0000.01415.54
7.1.320.0100.00315.60
7.1.310.0040.01115.43
7.1.300.0070.00715.74
7.1.290.0110.00715.34
7.1.280.0030.01315.68
7.1.270.0060.00615.73
7.1.260.0040.01115.77
7.1.200.0080.00515.30
7.1.100.0030.00918.13
7.1.70.0000.00816.97
7.1.60.0110.01419.40
7.1.50.0120.00916.89
7.1.00.0100.06722.32
7.0.200.0150.00714.43
7.0.60.0300.07321.84
7.0.50.0100.07017.83
7.0.40.0100.05320.11
7.0.30.0270.07020.13
7.0.20.0270.07020.12
7.0.10.0100.03720.08
7.0.00.0000.04720.33
5.6.280.0030.06720.86
5.6.210.0100.08020.71
5.6.200.0030.04018.23
5.6.190.0030.07020.55
5.6.180.0200.08720.48
5.6.170.0170.04720.51
5.6.160.0130.06320.44
5.6.150.0030.04318.28
5.6.140.0100.05318.18
5.6.130.0030.08318.28
5.6.120.0100.08721.00
5.6.110.0100.08321.04
5.6.100.0200.07721.01
5.6.90.0030.07020.98
5.6.80.0070.08320.54
5.5.350.4300.04020.44
5.5.340.0170.07317.97
5.5.330.0130.04320.13
5.5.320.0600.07020.25
5.5.310.0270.08020.21
5.5.300.0070.04317.98
5.5.290.0000.07317.99
5.5.280.0030.08720.66
5.5.270.0100.07320.77
5.5.260.0130.04020.89
5.5.250.0000.05720.68
5.5.240.0330.06720.16

preferences:
62.22 ms | 401 KiB | 5 Q