3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Auth { public static function check() { return null; } } class AuthenticationRequiredException extends RuntimeException {} Auth::check() ?? throw new AuthenticationRequiredException("Вам необходимо сначала авторизоваться");

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.0110.00418.43
8.3.50.0100.01016.41
8.3.40.0100.00618.87
8.3.30.0000.01418.85
8.3.20.0040.00424.18
8.3.10.0040.00724.66
8.3.00.0060.00326.16
8.2.180.0100.01025.92
8.2.170.0130.00718.91
8.2.160.0120.00422.96
8.2.150.0080.00025.66
8.2.140.0000.00824.66
8.2.130.0050.00226.16
8.2.120.0080.00020.80
8.2.110.0040.00720.58
8.2.100.0040.00420.47
8.1.280.0140.00425.92
8.1.270.0080.00023.99
8.1.260.0000.00926.35
8.1.250.0000.00728.09
8.1.240.0040.00718.41
8.1.230.0030.00618.45
8.0.30.0110.00716.93
8.0.20.0040.01116.89
8.0.10.0160.00516.96
8.0.00.0120.00417.05
7.4.160.0090.01216.55
7.4.150.0060.00816.41
7.4.140.0120.00616.42
7.4.130.0090.00916.32
7.4.120.0140.00016.22
7.4.110.0030.01016.27
7.4.100.0080.00516.24
7.4.90.0080.00816.29
7.4.80.0110.00316.27
7.4.70.0030.01016.25
7.4.60.0030.01016.29
7.4.50.0110.00516.27
7.4.40.0030.01016.13
7.4.30.0110.00916.21
7.4.20.0030.01116.28
7.4.10.0110.00316.27
7.4.00.0100.00316.38
7.3.270.0060.01216.19
7.3.260.0070.00716.14
7.3.250.0110.00416.11
7.3.240.0030.01016.22
7.3.230.0030.01016.19
7.3.220.0100.00316.08
7.3.210.0050.00816.21
7.3.200.0060.00916.08
7.3.190.0000.01516.07
7.3.180.0120.00316.21
7.3.170.0070.00716.13
7.3.160.0060.01316.15
7.3.150.0100.00616.16
7.3.140.0110.00316.05
7.3.130.0100.00316.08
7.3.120.0000.01316.05
7.3.110.0100.00316.02
7.3.100.0030.01015.99
7.3.90.0070.00716.36
7.3.80.0110.00316.07
7.3.70.0120.00316.09
7.3.60.0110.00316.16
7.3.50.0070.00716.21
7.3.40.0030.01016.18
7.3.30.0100.00516.16
7.3.20.0030.01216.20
7.3.10.0060.00916.25
7.3.00.0130.00316.11

preferences:
49.95 ms | 401 KiB | 5 Q