3v4l.org

run code in 300+ PHP versions simultaneously
<?php class WarningException extends ErrorException { } set_error_handler(function ($errno , $errstr, $errfile, $errline) { throw new WarningException($errstr, 0, $errno, $errfile, $errline); }, E_WARNING); try { $destination = 'http://badurl/'; $params = array(); $url = $destination . '?' . http_build_query($params); $response = file_get_contents($url); } catch (WarningException $e) { echo "Warning: ", $e->getMessage(); }

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.0090.00618.40
8.3.60.0130.00319.05
8.3.50.0070.00718.18
8.3.40.0090.00618.87
8.3.30.0120.00319.09
8.3.20.0080.00019.35
8.3.10.0080.00022.10
8.3.00.0000.00823.94
8.2.190.0060.01017.13
8.2.180.0110.00418.50
8.2.170.0140.00422.96
8.2.160.0160.00019.40
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0080.00020.98
8.2.110.0050.00520.64
8.2.100.0070.00718.03
8.2.90.0080.00017.88
8.2.80.0080.00019.16
8.2.70.0060.00317.75
8.2.60.0080.00018.05
8.2.50.0030.00618.07
8.2.40.0060.00318.47
8.2.30.0040.00418.26
8.2.20.0040.00418.34
8.2.10.0000.00718.24
8.2.00.0000.00719.71
8.1.280.0090.01225.92
8.1.270.0060.00322.20
8.1.260.0030.00526.35
8.1.250.0080.00028.09
8.1.240.0030.00619.24
8.1.230.0040.00717.95
8.1.220.0050.00318.02
8.1.210.0080.00018.77
8.1.200.0070.00317.60
8.1.190.0000.00817.48
8.1.180.0080.00018.10
8.1.170.0060.00318.98
8.1.160.0000.00718.99
8.1.150.0000.00719.14
8.1.140.0040.00419.22
8.1.130.0000.00919.21
8.1.120.0050.00217.71
8.1.110.0020.00517.64
8.1.100.0070.00017.57
8.1.90.0040.00417.57
8.1.80.0040.00417.66
8.1.70.0000.00717.61
8.1.60.0030.00617.61
8.1.50.0080.00017.78
8.1.40.0000.00817.56
8.1.30.0050.00317.69
8.1.20.0000.00817.86
8.1.10.0040.00417.70
8.1.00.0000.00817.62
8.0.300.0060.00318.77
8.0.290.0050.00317.00
8.0.280.0000.00718.61
8.0.270.0060.00319.00
8.0.260.0030.00317.46
8.0.250.0080.00017.18
8.0.240.0000.00717.15
8.0.230.0040.00417.17
8.0.220.0020.00517.22
8.0.210.0000.00717.11
8.0.200.0030.00617.27
8.0.190.0040.00417.20
8.0.180.0000.00817.07
8.0.170.0000.00817.12
8.0.160.0040.00417.25
8.0.150.0020.00517.02
8.0.140.0040.00417.07
8.0.130.0000.00613.70
8.0.120.0080.00017.23
8.0.110.0050.00317.29
8.0.100.0080.00017.16
8.0.90.0080.00017.15
8.0.80.0080.01117.25
8.0.70.0000.00817.37
8.0.60.0040.00417.12
8.0.50.0000.00817.30
8.0.30.0130.00617.51
8.0.20.0100.01017.40
8.0.10.0000.00817.14
8.0.00.0150.00317.12
7.4.330.0000.00515.55
7.4.320.0040.00416.69
7.4.300.0000.00716.64
7.4.290.0040.00416.80
7.4.280.0120.00016.80
7.4.270.0000.00816.61
7.4.260.0030.00616.73
7.4.250.0030.00616.83
7.4.240.0030.00516.77
7.4.230.0050.00316.91
7.4.220.0050.00316.56
7.4.210.0100.00816.91
7.4.200.0050.00216.94
7.4.160.0110.00816.80
7.4.140.0130.00617.86
7.4.130.0080.01116.82
7.4.120.0100.01116.86
7.4.110.0060.01216.73
7.4.100.0060.01216.82
7.4.90.0110.00716.86
7.4.80.0120.00619.39
7.4.70.0070.01116.74
7.4.60.0110.00716.81
7.4.50.0090.00616.84
7.4.40.0000.01916.73
7.4.00.0100.00715.06
7.3.330.0020.00213.63
7.3.320.0030.00313.53
7.3.310.0000.00816.66
7.3.300.0040.00416.72
7.3.290.0030.00316.64
7.3.280.0060.01216.68
7.3.260.0120.00916.67
7.3.240.0110.01116.73
7.3.230.0150.00616.77
7.3.210.0060.01216.75
7.3.200.0100.00716.80
7.3.190.0060.01216.68
7.3.180.0100.00716.69
7.3.170.0090.00916.63
7.3.160.0110.00716.73
7.3.10.0000.01416.63
7.3.00.0030.00916.42
7.2.330.0070.01416.90
7.2.320.0090.01216.63
7.2.310.0100.01016.68
7.2.300.0170.00716.81
7.2.290.0090.00916.68
7.2.130.0080.00416.59
7.2.120.0130.00016.79
7.2.110.0100.00716.92
7.2.100.0000.01417.16
7.2.90.0070.01017.14
7.2.80.0600.00315.73
7.2.70.0580.00815.88
7.2.60.0520.00716.17
7.2.50.0570.00815.91
7.2.40.0550.01215.98
7.2.30.0590.01215.97
7.2.20.0570.00716.16
7.2.10.0600.00716.07
7.2.00.0560.00915.87
7.1.250.0000.00915.75
7.1.200.0070.00716.10
7.1.190.1000.01314.02
7.1.180.1050.00613.72
7.1.170.1130.00313.75
7.1.160.1100.00713.97
7.1.150.1110.00314.12
7.1.140.1120.00314.05
7.1.130.1020.01014.04
7.1.120.1360.00614.27
7.1.110.1050.00613.79
7.1.100.1090.00614.07
7.1.90.1650.00613.96
7.1.80.1460.01313.86
7.1.70.1390.01313.74
7.1.60.1520.01031.78
7.1.50.2080.02332.18
7.1.40.2000.00731.98
7.1.30.1960.01332.04
7.1.20.1850.00932.00
7.1.10.1200.01013.48
7.1.00.1460.00713.79

preferences:
28.88 ms | 401 KiB | 5 Q