3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ERROR | E_WARNING | E_PARSE | E_NOTICE); ini_set('display_errors', 1); date_default_timezone_set('UTC'); set_time_limit(0); set_error_handler(function ($errno, $errstr, $errfile, $errline, array $errcontext) { // error was suppressed with the @-operator if (error_reporting() === 0) { return false; } throw new \ErrorException($errstr, 0, $errno, $errfile, $errline); }); ini_set('error_reporting', E_ALL & ~E_USER_DEPRECATED); ini_set('display_errors', 0); ini_set('date.timezone', 'Europe/Berlin'); @trigger_error('Test', E_USER_DEPRECATED);

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.70.0100.01316.75
8.3.60.0180.00316.75
8.3.50.0100.01017.93
8.3.40.0100.01020.30
8.3.30.0070.00718.83
8.3.20.0080.00024.18
8.3.10.0000.00824.66
8.3.00.0050.00226.16
8.2.180.0210.00325.92
8.2.170.0110.00718.74
8.2.160.0110.00422.96
8.2.150.0050.00325.66
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0100.00017.91
8.2.110.0090.00020.99
8.2.100.0080.00317.97
8.2.90.0000.00818.03
8.2.80.0030.00617.97
8.2.70.0030.00517.63
8.2.60.0000.00817.63
8.2.50.0080.00018.05
8.2.40.0040.00418.28
8.2.30.0040.00417.92
8.2.20.0040.00417.97
8.2.10.0030.00619.34
8.2.00.0000.00719.27
8.1.280.0090.00625.92
8.1.270.0080.00023.99
8.1.260.0040.00426.35
8.1.250.0140.00328.09
8.1.240.0000.00923.92
8.1.230.0000.01122.77
8.1.220.0030.00617.74
8.1.210.0040.00418.86
8.1.200.0040.00417.48
8.1.190.0070.00417.10
8.1.180.0030.00618.10
8.1.170.0000.00717.62
8.1.160.0000.00820.66
8.1.150.0050.00218.89
8.1.140.0040.00418.77
8.1.130.0070.00020.09
8.1.120.0000.00717.51
8.1.110.0050.00317.48
8.1.100.0000.00817.54
8.1.90.0040.00417.57
8.1.80.0000.00817.37
8.1.70.0000.00717.52
8.1.60.0080.00017.57
8.1.50.0000.00717.40
8.1.40.0000.00917.52
8.1.30.0050.00317.52
8.1.20.0050.00517.58
8.1.10.0000.00817.53
8.1.00.0070.00017.45
8.0.300.0000.00719.89
8.0.290.0050.00316.88
8.0.280.0070.00018.47
8.0.270.0080.00017.95
8.0.260.0080.00018.46
8.0.250.0000.00716.96
8.0.240.0030.00317.11
8.0.230.0030.00316.95
8.0.220.0030.00317.04
8.0.210.0030.00317.06
8.0.200.0070.00017.04
8.0.190.0000.00716.93
8.0.180.0000.00717.02
8.0.170.0030.00616.88
8.0.160.0050.00217.07
8.0.150.0040.00416.75
8.0.140.0000.01116.91
8.0.130.0000.00613.40
8.0.120.0040.00416.86
8.0.110.0000.00716.88
8.0.100.0040.00416.89
8.0.90.0030.00517.04
8.0.80.0080.00816.96
8.0.70.0050.00316.81
8.0.60.0000.00816.96
8.0.50.0000.00817.02
8.0.30.0060.01217.00
8.0.20.0100.01017.11
8.0.10.0040.00417.09
8.0.00.0220.00616.73
7.4.330.0000.00515.55
7.4.320.0000.00716.61
7.4.300.0030.00316.40
7.4.290.0030.00416.45
7.4.280.0080.00016.36
7.4.270.0040.00416.46
7.4.260.0000.00513.25
7.4.250.0030.00516.41
7.4.240.0040.00416.51
7.4.230.0000.00716.53
7.4.220.0030.00316.52
7.4.210.0090.00716.54
7.4.200.0000.00716.44
7.4.130.0110.00816.54
7.4.120.0130.01016.56
7.4.110.0090.00916.55
7.4.100.0100.00716.45
7.4.90.0020.01516.38
7.4.80.0120.00416.48
7.4.70.0040.01616.39
7.4.60.0110.00616.30
7.4.50.0110.00916.29
7.4.40.0060.01116.33
7.4.30.0070.01016.28
7.4.20.0100.00816.27
7.4.10.0070.01016.43
7.4.00.0050.01216.61
7.3.330.0070.00016.32
7.3.320.0040.00413.34
7.3.310.0000.00716.33
7.3.300.0030.00316.15
7.3.290.0060.01016.31
7.3.280.0100.00616.25
7.3.260.0070.01016.19
7.3.230.0090.00916.21
7.3.220.0030.01416.35
7.3.210.0130.00316.19
7.3.200.0080.00816.38
7.3.190.0110.00816.37
7.3.180.0110.00516.27
7.3.170.0040.01316.34
7.3.160.0090.00716.34
7.3.150.0100.00616.29
7.3.140.0070.01016.41
7.3.130.0110.00516.40
7.3.120.0090.00816.36
7.3.110.0070.01316.38
7.3.100.0110.00816.48
7.3.90.0070.00916.30
7.3.80.0120.00516.27
7.3.70.0080.00916.19
7.3.60.0080.00916.29
7.3.50.0040.01416.43
7.3.40.0080.00816.23
7.3.30.0060.01116.45
7.3.20.0130.00516.33
7.3.10.0080.00916.43
7.3.00.0070.01216.38
7.2.330.0120.00516.57
7.2.320.0050.01316.45
7.2.310.0080.01016.55
7.2.300.0090.00816.62
7.2.290.0100.00716.57
7.2.280.0080.00916.66
7.2.270.0100.00916.48
7.2.260.0050.01216.76
7.2.250.0130.00516.40
7.2.240.0060.01216.68
7.2.230.0050.01516.66
7.2.220.0120.00816.40
7.2.210.0090.00816.45
7.2.200.0060.01116.52
7.2.190.0110.00916.45
7.2.180.0040.01516.66
7.2.170.0060.01316.54
7.2.160.0110.01116.50
7.2.150.0100.00816.50
7.2.140.0140.00516.57
7.2.130.0090.01016.50
7.2.120.0080.00816.51
7.2.110.0070.01016.51
7.2.100.0130.00816.44
7.2.90.0130.00816.53
7.2.80.0360.00516.48
7.2.70.0200.00316.47
7.2.60.0130.00916.19
7.2.50.0120.00616.40
7.2.40.0080.01416.54
7.2.30.0100.00716.38
7.2.20.0110.00916.16
7.2.10.0120.00916.27
7.2.00.0040.01616.49

preferences:
76.31 ms | 401 KiB | 5 Q