3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Middleware { /** * @param object $command * @param callable $next * * @return mixed */ public function execute($command, callable $next); } final class RegisterProcessedMessages implements Middleware { /** * {@inheritDoc} */ public function execute(object $command, callable $next): void { } }

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.00018.43
8.3.50.0080.00818.12
8.3.40.0070.01118.58
8.3.30.0110.00318.59
8.3.20.0040.00421.76
8.3.10.0040.00423.39
8.3.00.0030.00522.39
8.2.180.0150.00618.16
8.2.170.0030.01022.96
8.2.160.0080.00820.39
8.2.150.0070.00024.18
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0120.00319.36
8.2.110.0060.00320.98
8.2.100.0040.00717.78
8.2.90.0050.00317.91
8.2.80.0040.00417.97
8.2.70.0040.00817.79
8.2.60.0070.00018.03
8.2.50.0050.00318.10
8.2.40.0030.00621.07
8.2.30.0050.00319.13
8.2.20.0000.00717.87
8.2.10.0040.00418.79
8.2.00.0070.00019.18
8.1.280.0120.00625.92
8.1.270.0000.00822.39
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0090.00320.29
8.1.230.0090.00322.66
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0000.00917.35
8.1.190.0030.00517.22
8.1.180.0030.00618.10
8.1.170.0000.00820.84
8.1.160.0000.00818.94
8.1.150.0040.00418.81
8.1.140.0040.00418.81
8.1.130.0030.00320.17
8.1.120.0030.00517.31
8.1.110.0040.00417.44
8.1.100.0030.00517.35
8.1.90.0030.00317.27
8.1.80.0040.00417.35
8.1.70.0050.00317.27
8.1.60.0030.00517.52
8.1.50.0030.00717.38
8.1.40.0040.00417.33
8.1.30.0040.00417.67
8.1.20.0050.00317.48
8.1.10.0000.00817.42
8.1.00.0060.00317.36
8.0.300.0070.00019.60
8.0.290.0000.00816.63
8.0.280.0030.00318.38
8.0.270.0000.00716.81
8.0.260.0030.00319.87
8.0.250.0070.00016.90
8.0.240.0000.00616.97
8.0.230.0030.00316.89
8.0.220.0060.00016.86
8.0.210.0020.00516.75
8.0.200.0040.00416.94
8.0.190.0000.00816.82
8.0.180.0000.00816.95
8.0.170.0000.00816.79
8.0.160.0070.00016.90
8.0.150.0000.00716.69
8.0.140.0030.00516.80
8.0.130.0000.00613.29
8.0.120.0040.00416.75
8.0.110.0040.00416.95
8.0.100.0000.00716.68
8.0.90.0040.00416.77
8.0.80.0090.00616.95
8.0.70.0000.00816.84
8.0.60.0070.00016.69
8.0.50.0040.00416.67
8.0.30.0100.00717.08
8.0.20.0110.00817.18
8.0.10.0000.00817.00
8.0.00.0070.01516.60
7.4.330.0000.00415.55
7.4.320.0000.00616.52
7.4.300.0000.00616.38
7.4.290.0030.00316.52
7.4.280.0110.00016.41
7.4.270.0030.00316.54
7.4.260.0000.00513.20
7.4.250.0030.00516.39
7.4.240.0000.00716.38
7.4.230.0070.00016.60
7.4.220.0030.00316.35
7.4.210.0080.01016.55
7.4.200.0000.00716.34
7.4.130.0080.01116.64
7.4.120.0060.01016.40
7.4.110.0120.00616.53
7.4.100.0140.01116.36
7.4.90.0090.00916.44
7.4.80.0150.00919.39
7.4.70.0100.00616.40
7.4.60.0140.00416.60
7.4.50.0030.01516.43
7.4.40.0030.01316.34
7.4.10.0100.01016.28
7.4.00.0060.01015.67
7.3.330.0070.00016.08
7.3.320.0000.00613.07
7.3.310.0040.00416.28
7.3.300.0060.00316.10
7.3.290.0050.00216.29
7.3.280.0150.00316.23
7.3.260.0090.00816.33
7.3.240.0100.00816.38
7.3.230.0150.00316.39
7.3.210.0030.01316.55
7.3.200.0100.00616.44
7.3.190.0130.00916.31
7.3.180.0080.00816.45
7.3.170.0130.00316.43
7.3.160.0070.01016.43
7.3.130.0070.00715.91
7.3.120.0040.01116.36
7.3.110.0050.00915.31
7.3.100.0090.00615.17
7.3.90.0060.00815.36
7.3.80.0040.00915.25
7.3.70.0070.00815.18
7.3.60.0070.00615.17
7.3.50.0090.00515.29
7.3.40.0040.00915.17
7.3.30.0060.00715.27
7.3.20.0080.00615.79
7.3.10.0070.00815.92
7.3.00.0100.00415.94
7.2.330.0130.00416.25
7.2.320.0100.01016.38
7.2.310.0070.01016.54
7.2.300.0030.01316.68
7.2.290.0040.01216.29
7.2.260.0030.01216.25
7.2.250.0110.00716.15
7.2.240.0100.00915.41
7.2.230.0080.00715.33
7.2.220.0060.00715.31
7.2.210.0090.00515.28
7.2.200.0070.00715.40
7.2.190.0060.00915.42
7.2.180.0070.00715.34
7.2.170.0070.00915.22
7.2.160.0050.00915.35
7.2.150.0050.01016.04
7.2.140.0070.00816.07
7.2.130.0060.00715.96
7.2.120.0070.01016.03
7.2.110.0080.00715.90
7.2.100.0050.01116.09
7.2.90.0070.01115.89
7.2.80.0100.00715.94
7.2.70.0100.00515.98
7.2.60.0070.00816.09
7.2.50.0080.00716.02
7.2.40.0100.00616.10
7.2.30.0060.00916.20
7.2.20.0130.00616.07
7.2.10.0030.01216.00
7.2.00.0070.00916.07
7.1.330.0060.00914.83
7.1.320.0040.00715.00
7.1.310.0070.00515.06
7.1.300.0070.00515.00
7.1.290.0080.00614.99
7.1.280.0050.00615.01
7.1.270.0060.00714.79
7.1.260.0060.00914.88
7.1.250.0110.00414.88
7.1.240.0060.00617.20
7.1.230.0040.01117.12
7.1.220.0120.00317.27
7.1.210.0070.00717.25
7.1.200.0040.00817.05
7.1.190.0000.01117.15
7.1.180.0030.00917.38
7.1.170.0070.00717.30
7.1.160.0040.01117.11
7.1.150.0080.00417.17
7.1.140.0040.00817.07
7.1.130.0100.00617.29
7.1.120.0040.00417.24
7.1.110.0060.00917.17
7.1.100.0080.00817.23
7.1.90.0070.00717.02
7.1.80.0030.00617.29
7.1.70.0030.00717.10
7.1.60.0030.00717.07
7.1.50.0030.00617.14
7.1.40.0040.00817.06
7.1.30.0030.00917.23
7.1.20.0120.00317.35
7.1.10.0060.01017.29
7.1.00.0000.01417.18

preferences:
63.41 ms | 401 KiB | 5 Q