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) { // error was suppressed with the @-operator if (!(error_reporting() & $errno)) { 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.60.0180.00416.63
8.3.50.0170.00017.95
8.3.40.0070.01320.34
8.3.30.0110.00718.54
8.3.20.0000.00724.18
8.3.10.0000.00824.66
8.3.00.0070.00026.16
8.2.180.0130.00725.92
8.2.170.0110.00319.13
8.2.160.0070.00722.96
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0000.00826.16
8.2.120.0000.00719.89
8.2.110.0090.00020.46
8.2.100.0080.00419.57
8.2.90.0080.00417.50
8.2.80.0030.00620.47
8.2.70.0000.00917.50
8.2.60.0040.00417.48
8.2.50.0000.00818.05
8.2.40.0000.00818.28
8.2.30.0060.00318.20
8.2.20.0040.00417.96
8.2.10.0000.00819.27
8.2.00.0080.00019.14
8.1.280.0070.00725.92
8.1.270.0060.00323.99
8.1.260.0000.00826.35
8.1.250.0080.00028.09
8.1.240.0000.00822.65
8.1.230.0080.00317.64
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0060.00317.48
8.1.190.0040.00417.22
8.1.180.0070.00318.10
8.1.170.0040.00417.62
8.1.160.0050.00320.61
8.1.150.0030.00618.80
8.1.140.0020.00518.85
8.1.130.0050.00320.15
8.1.120.0000.00817.46
8.1.110.0000.00817.50
8.1.100.0040.00417.38
8.1.90.0030.00517.53
8.1.80.0080.00017.49
8.1.70.0070.00017.47
8.1.60.0060.00317.38
8.1.50.0030.00517.48
8.1.40.0040.00417.48
8.1.30.0040.00417.61
8.1.20.0040.00417.48
8.1.10.0040.00417.46
8.1.00.0040.00417.41
8.0.300.0000.01018.77
8.0.290.0100.00016.63
8.0.280.0000.00718.45
8.0.270.0000.00718.00
8.0.260.0000.00818.41
8.0.250.0070.00016.87
8.0.240.0060.00017.01
8.0.230.0030.00316.98
8.0.220.0030.00316.94
8.0.210.0000.00716.84
8.0.200.0000.00716.94
8.0.190.0030.00516.97
8.0.180.0040.00416.95
8.0.170.0060.00316.84
8.0.160.0000.00716.88
8.0.150.0050.00316.86
8.0.140.0080.00316.81
8.0.130.0000.00613.35
8.0.120.0040.00416.78
8.0.110.0000.00716.79
8.0.100.0030.00316.85
8.0.90.0050.00216.94
8.0.80.0080.01116.88
8.0.70.0030.00616.79
8.0.60.0040.00416.82
8.0.50.0000.00716.93
8.0.30.0160.00016.86
8.0.20.0050.01417.22
8.0.10.0050.00317.20
8.0.00.0070.01716.45
7.4.330.0060.00015.55
7.4.320.0060.00016.60
7.4.300.0040.00416.48
7.4.290.0040.00416.45
7.4.280.0020.00516.39
7.4.270.0080.00016.41
7.4.260.0030.00313.25
7.4.250.0070.00016.53
7.4.240.0040.00316.54
7.4.230.0030.00316.35
7.4.220.0020.00516.35
7.4.210.0060.00816.57
7.4.200.0040.00416.37
7.4.130.0140.00516.54
7.4.120.0120.00616.47
7.4.110.0060.01116.57
7.4.100.0060.01116.47
7.4.90.0100.01316.50
7.4.80.0150.00316.41
7.4.70.0030.01316.29
7.4.60.0160.00316.67
7.4.50.0110.00716.43
7.4.40.0120.00616.32
7.4.30.0090.00916.42
7.4.20.0100.00716.40
7.4.10.0130.00316.14
7.4.00.0090.00616.55
7.3.330.0080.00016.26
7.3.320.0030.00313.16
7.3.310.0050.00216.20
7.3.300.0040.00416.39
7.3.290.0110.00616.40
7.3.280.0060.00916.34
7.3.260.0060.01216.41
7.3.230.0160.00316.33
7.3.220.0060.01216.52
7.3.210.0060.01116.50
7.3.200.0150.00316.44
7.3.190.0040.01316.59
7.3.180.0070.01116.46
7.3.170.0130.00416.30
7.3.160.0130.00316.39
7.3.150.0100.00716.36
7.3.140.0100.00616.40
7.3.130.0180.00016.52
7.3.120.0070.01316.39
7.3.110.0060.01016.34
7.3.100.0080.00816.44
7.3.90.0070.01016.36
7.3.80.0080.01216.53
7.3.70.0060.01016.23
7.3.60.0150.00316.38
7.3.50.0170.00016.36
7.3.40.0070.01116.34
7.3.30.0150.00716.47
7.3.20.0090.00816.31
7.3.10.0100.00616.35
7.3.00.0070.01016.32
7.2.330.0150.00716.52
7.2.320.0060.01216.48
7.2.310.0150.00316.70
7.2.300.0000.01716.48
7.2.290.0100.00616.43
7.2.280.0180.00016.47
7.2.270.0100.00716.68
7.2.260.0130.00316.73
7.2.250.0140.00316.51
7.2.240.0060.01016.64
7.2.230.0100.00716.38
7.2.220.0130.00416.75
7.2.210.0110.00616.59
7.2.200.0100.00716.50
7.2.190.0080.00816.68
7.2.180.0080.00816.50
7.2.170.0060.01116.60
7.2.160.0170.00616.43
7.2.150.0140.00516.65
7.2.140.0180.00016.56
7.2.130.0030.01316.55
7.2.120.0110.00716.54
7.2.110.0120.00616.61
7.2.100.0090.00816.45
7.2.90.0120.00616.51
7.2.80.0030.01416.55
7.2.70.0090.00916.69
7.2.60.0130.00916.80
7.2.50.0090.01316.62
7.2.40.0130.00916.72
7.2.30.0090.01316.53
7.2.20.0130.00916.46
7.2.10.0280.00916.75
7.2.00.0090.00916.67

preferences:
63.23 ms | 401 KiB | 5 Q