3v4l.org

run code in 300+ PHP versions simultaneously
<?php $result='Content-Type: text/html Content-Length: 6400 Connection: close Server: Server Date: Fri, 20 Apr 2018 19:36:29 GMT Vary: Content-Type,Host,Cookie,Accept-Encoding,User-Agent X-Cache: Miss from cloudfront Via: 1.1 e96a3d9585744d8d148862e08e86b476.cloudfront.net (CloudFront) X-Amz-Cf-Id: ooKmjKB4yHQCf_TcCQ0aWkEwHbh7ITSubfc2suPj8g0qpokRTu_qXA==' . "\r\n\r\n" . '<!DOCTYPE html> <!--[if lt IE 7]> <html lang="en-us" class="a-no-js a-lt-ie9 a-lt-ie8 a-lt-ie7"> <![endif]--> <!--[if IE 7]> <html lang="en-us" class="a-no-js a-lt-ie9 a-lt-ie8"> <![endif]--> <!--[if IE 8]> <html lang="en-us" class="a-no-js a-lt-ie9"> <![endif]--> <!--[if gt IE 8]><!--> <html class="a-no-js" lang="en-us"><!--<![endif]--><head> <meta http-equiv="content-type" content="text/html; charset=UTF-8">'; $pos = strpos($result, "=="); echo bin2hex(substr($result, $pos + 2, 4)); exit(0); $rr=explode("\r\n\r\n", $result); echo @$rr[1]; ?>

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.0070.01118.18
8.3.50.0040.01117.89
8.3.40.0120.00418.54
8.3.30.0110.00418.67
8.3.20.0040.00421.54
8.3.10.0080.00021.90
8.3.00.0070.00719.56
8.2.180.0110.00717.93
8.2.170.0140.00322.96
8.2.160.0070.00721.18
8.2.150.0070.00024.18
8.2.140.0070.00024.66
8.2.130.0050.00319.26
8.2.120.0040.00426.35
8.2.110.0030.00619.45
8.2.100.0120.00017.91
8.2.90.0000.00817.97
8.2.80.0040.00418.22
8.2.70.0090.00018.03
8.2.60.0040.00418.05
8.2.50.0000.00718.10
8.2.40.0000.00820.64
8.2.30.0040.00419.15
8.2.20.0040.00418.06
8.2.10.0060.00318.06
8.2.00.0040.00418.11
8.1.280.0070.00725.92
8.1.270.0080.00023.99
8.1.260.0040.00426.35
8.1.250.0100.00028.09
8.1.240.0030.00622.46
8.1.230.0070.00422.63
8.1.220.0060.00317.91
8.1.210.0040.00418.98
8.1.200.0030.00617.22
8.1.190.0040.00417.22
8.1.180.0040.00418.10
8.1.170.0030.00618.37
8.1.160.0070.00018.72
8.1.150.0040.00419.04
8.1.140.0000.00717.59
8.1.130.0000.00718.91
8.1.120.0070.00017.43
8.1.110.0040.00417.34
8.1.100.0040.00417.41
8.1.90.0060.00317.45
8.1.80.0030.00417.31
8.1.70.0000.01017.42
8.1.60.0030.00617.52
8.1.50.0070.00317.56
8.1.40.0000.00717.56
8.1.30.0000.00817.61
8.1.20.0000.00717.56
8.1.10.0040.00417.47
8.1.00.0040.00417.37
8.0.300.0020.00520.06
8.0.290.0040.00416.75
8.0.280.0000.00718.47
8.0.270.0030.00317.27
8.0.260.0060.00017.27
8.0.250.0000.00716.93
8.0.240.0040.00416.94
8.0.230.0030.00317.01
8.0.220.0000.00716.78
8.0.210.0030.00316.82
8.0.200.0040.00417.03
8.0.190.0000.00816.88
8.0.180.0000.00716.99
8.0.170.0000.01016.96
8.0.160.0000.00716.99
8.0.150.0050.00316.88
8.0.140.0000.00816.88
8.0.130.0000.00713.42
8.0.120.0040.00416.78
8.0.110.0000.00716.96
8.0.100.0030.00516.85
8.0.90.0060.00316.96
8.0.80.0060.00816.88
8.0.70.0040.00416.89
8.0.60.0050.00316.93
8.0.50.0000.00716.81
8.0.30.0110.00717.12
8.0.20.0130.00717.40
8.0.10.0040.00416.99
8.0.00.0120.00816.79
7.4.330.0060.00016.72
7.4.320.0060.00016.59
7.4.300.0070.00016.57
7.4.290.0000.00716.45
7.4.280.0060.00316.50
7.4.270.0040.00416.41
7.4.260.0030.00316.44
7.4.250.0000.00716.46
7.4.240.0070.00016.57
7.4.230.0030.00316.64
7.4.220.0040.00416.26
7.4.210.0060.00916.44
7.4.200.0030.00316.25
7.4.160.0120.00416.42
7.4.140.0100.00917.86
7.4.130.0090.00916.53
7.4.120.0100.00816.50
7.4.110.0120.00616.34
7.4.100.0100.00616.55
7.4.90.0150.00316.38
7.4.80.0060.01919.39
7.4.70.0070.01016.60
7.4.60.0090.00616.40
7.4.50.0060.01216.39
7.4.40.0110.00416.50
7.4.00.0070.00714.69
7.3.330.0000.00513.18
7.3.320.0050.00213.15
7.3.310.0030.00416.22
7.3.300.0030.00316.26
7.3.290.0030.00316.27
7.3.280.0070.01016.30
7.3.260.0100.00816.41
7.3.240.0090.01016.32
7.3.230.0140.01416.52
7.3.210.0130.00316.45
7.3.200.0140.00716.44
7.3.190.0150.00616.25
7.3.180.0100.00716.29
7.3.170.0060.01016.44
7.3.160.0050.01116.62
7.2.330.0030.01416.68
7.2.320.0130.01016.53
7.2.310.0100.01316.46
7.2.300.0070.01016.68
7.2.290.0120.00616.71
7.2.60.0030.01316.82
7.2.40.2950.01317.72
7.2.30.3690.01117.93
7.2.20.3060.01317.97
7.2.10.3660.01417.95
7.2.00.3840.01518.09
7.1.200.0060.00615.81
7.1.160.3410.01116.65
7.1.150.2860.01216.52
7.1.140.3010.01516.89
7.1.130.3730.01716.58
7.1.120.4720.01716.43
7.1.110.4370.01316.21
7.1.100.4400.01216.26
7.1.90.7200.01016.14
7.1.80.6170.01215.77
7.1.70.4790.00815.38
7.1.60.3920.01533.28
7.1.50.6570.01932.86
7.1.40.6740.01532.58
7.1.30.0370.01932.52
7.1.20.0370.01532.60
7.1.10.0120.00914.67
7.1.00.0130.01214.84

preferences:
34.96 ms | 400 KiB | 5 Q