3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types=1); function login(string $login, #[SensitiveParameter]string $pass): bool { return true; } login("test", 123456);

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.0140.00320.22
8.3.30.0110.01118.53
8.3.20.0040.00424.18
8.3.10.0070.00024.66
8.3.00.0070.00726.16
8.2.170.0070.00718.77
8.2.160.0140.00322.96
8.2.150.0070.00025.66
8.2.140.0040.00424.66
8.2.130.0050.00326.16
8.2.120.0000.00719.76
8.2.110.0110.00020.52
8.2.100.0040.00817.91
8.2.90.0040.00417.77
8.2.80.0000.00917.97
8.2.70.0110.00463.97
8.2.60.0100.00563.99
8.2.50.0110.00563.99
8.2.40.0100.00463.93
8.2.30.0060.00464.26
8.2.20.0090.00548.97
8.2.10.0100.00441.33
8.2.00.0100.00548.73
8.1.270.0000.00724.01
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0000.00920.91
8.1.230.0110.00020.97
8.1.220.0080.00017.74
8.1.210.0000.00918.82
8.1.200.0110.00563.78
8.1.190.0070.00763.80
8.1.180.0100.00564.02
8.1.170.0090.00663.90
8.1.160.0090.00564.23
8.1.150.0110.00348.50
8.1.140.0100.00548.28
8.1.130.0100.00348.77
8.1.120.0100.00448.34
8.1.110.0110.00448.37
8.1.100.0090.00648.34
8.1.90.0080.00648.33
8.1.80.0110.00448.32
8.1.70.0120.00348.32
8.1.60.0130.00448.43
8.1.50.0080.00848.41
8.1.40.0110.00548.44
8.1.30.0140.00248.43
8.1.20.0090.00948.41
8.1.10.0130.00348.38
8.1.00.0130.00448.34
8.0.300.0030.00319.86
8.0.290.0090.00563.68
8.0.280.0110.00364.09
8.0.270.0100.00348.02
8.0.260.0090.00448.31
8.0.250.0110.00348.05
8.0.240.0100.00548.04
8.0.230.0090.00648.09
8.0.220.0120.00448.04
8.0.210.0130.00348.04
8.0.200.0110.00548.08
8.0.190.0110.00448.07
8.0.180.0110.00548.10
8.0.170.0100.00548.07
8.0.160.0120.00348.06
8.0.150.0100.00548.00
8.0.140.0130.00248.07
8.0.130.0120.00348.07
8.0.120.0110.00448.05
8.0.110.0090.00548.01
8.0.100.0090.00648.05
8.0.90.0110.00348.08
8.0.80.0100.00448.07
8.0.70.0100.00448.05
8.0.60.0090.00448.05
8.0.50.0070.00748.02
8.0.30.0100.00448.03
8.0.20.0090.00448.09
8.0.10.0110.00348.08
7.4.330.0090.00147.52
7.4.320.0110.00647.86
7.4.300.0110.00547.87
7.4.290.0090.00647.81
7.4.280.0100.00647.85
7.4.270.0120.00447.86
7.4.260.0140.00247.86
7.4.250.0100.00647.86
7.4.240.0120.00347.84
7.4.230.0110.00447.78
7.4.220.0080.00647.84
7.4.210.0100.00447.85
7.4.200.0100.00447.87
7.4.190.0100.00447.85
7.4.180.0120.00347.86
7.4.160.0100.00447.86
7.4.150.0100.00547.87
7.4.140.0100.00447.83
7.4.130.0100.00447.78
7.4.120.0080.00647.84
7.4.110.0100.00447.82
7.4.100.0080.00547.86
7.4.90.0080.00547.78
7.4.80.0100.00447.84
7.4.70.0090.00447.83
7.4.60.0090.00547.84
7.4.50.0080.00547.77
7.4.40.0100.00447.80
7.4.30.0080.00547.78
7.4.20.0090.00547.84
7.4.10.0100.00447.83
7.4.00.0080.00547.83

preferences:
45.99 ms | 400 KiB | 5 Q