3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = gmdate('D, d M Y H:i:s \G\M\T'); $account_name = "inorbitalstorage"; $containername = ""; $account_key = "Z/jyC7ZLkc1j2nm7AeNRgkgjcpG7SCPOO8Cv52ImfHCyRCfyPmlvEmNNpBOyLje5QXuwVDsf3RKre7Kws3u2aA=="; $canonicalizedHeaders = "x-ms-date:$date\nx-ms-version:2014-02-14"; $canonicalizedResource = "/$account_name/"; $arraysign = array(); $arraysign[] = 'GET'; /*HTTP Verb*/ $arraysign[] = ''; /*Content-Encoding*/ $arraysign[] = ''; /*Content-Language*/ $arraysign[] = ''; /*Content-Length (include value when zero)*/ $arraysign[] = ''; /*Content-MD5*/ $arraysign[] = ''; /*Content-Type*/ $arraysign[] = ''; /*Date*/ $arraysign[] = ''; /*If-Modified-Since */ $arraysign[] = ''; /*If-Match*/ $arraysign[] = ''; /*If-None-Match*/ $arraysign[] = ''; /*If-Unmodified-Since*/ $arraysign[] = ''; /*Range*/ $arraysign[] = $canonicalizedHeaders; /*CanonicalizedHeaders*/ $arraysign[] = $canonicalizedResource; /*CanonicalizedResource*/ $stringtosign = implode("\n", $arraysign); $signature = 'SharedKey'.' '.$account_name.':'.base64_encode(hash_hmac('sha256', $stringtosign, base64_decode($account_key), true)); $endpoint = 'https://'.$account_name.'.blob.core.windows.net'; $url = $endpoint.'/'.$containername.'?restype=container&comp=list'; $headers = [ "x-ms-date:{$date}", 'x-ms-version:2014-02-14', 'Accept:application/json;odata=nometadata', "Authorization:{$signature}" ]; echo $signature;

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.01517.00
8.3.50.0070.00716.43
8.3.40.0090.00918.96
8.3.30.0110.00418.59
8.3.20.0000.00820.13
8.3.10.0060.00321.89
8.3.00.0040.00422.09
8.2.180.0150.00616.50
8.2.170.0140.00022.96
8.2.160.0090.01218.97
8.2.150.0000.00824.18
8.2.140.0000.00824.66
8.2.130.0070.00021.00
8.2.120.0080.00026.35
8.2.110.0030.00722.13
8.2.100.0090.00317.84
8.2.90.0040.00417.91
8.2.80.0040.00417.97
8.2.70.0000.00917.63
8.2.60.0050.00317.93
8.2.50.0030.00518.10
8.2.40.0040.00420.55
8.2.30.0000.00921.10
8.2.20.0060.00318.20
8.2.10.0050.00218.23
8.2.00.0000.00718.15
8.1.280.0120.00625.92
8.1.270.0070.00022.11
8.1.260.0060.00626.35
8.1.250.0000.00828.09
8.1.240.0060.00323.83
8.1.230.0000.01119.08
8.1.220.0040.00417.80
8.1.210.0030.00518.90
8.1.200.0090.00017.38
8.1.190.0040.00417.11
8.1.180.0000.00718.10
8.1.170.0040.00418.88
8.1.160.0000.00819.11
8.1.150.0040.00420.73
8.1.140.0000.00819.60
8.1.130.0030.00318.97
8.1.120.0060.00317.55
8.1.110.0050.00217.45
8.1.100.0050.00217.59
8.1.90.0000.00717.46
8.1.80.0040.00417.49
8.1.70.0030.00617.56
8.1.60.0070.00317.55
8.1.50.0040.00417.52
8.1.40.0040.00417.54
8.1.30.0090.00017.67
8.1.20.0040.00417.54
8.1.10.0040.00417.46
8.1.00.0030.00517.50
8.0.300.0000.00719.92
8.0.290.0080.00016.75
8.0.280.0040.00418.43
8.0.270.0040.00417.35
8.0.260.0060.00016.91
8.0.250.0000.00716.96
8.0.240.0060.00316.96
8.0.230.0070.00017.09
8.0.220.0040.00416.90
8.0.210.0020.00516.89
8.0.200.0000.00717.06
8.0.190.0000.00917.10
8.0.180.0000.00717.02
8.0.170.0070.00016.90
8.0.160.0000.00716.96
8.0.150.0040.00416.96
8.0.140.0000.00716.95
8.0.130.0000.00513.47
8.0.120.0000.00716.86
8.0.110.0070.00016.90
8.0.100.0030.00517.02
8.0.90.0040.00416.91
8.0.80.0110.00716.97
8.0.70.0040.00416.82
8.0.60.0040.00416.88
8.0.50.0040.00417.09
8.0.30.0080.01117.14
8.0.20.0130.00717.40
8.0.10.0040.00416.99
8.0.00.0000.01816.89
7.4.330.0000.00615.55
7.4.320.0030.00316.50
7.4.300.0030.00316.62
7.4.290.0040.00416.54
7.4.280.0060.00316.55
7.4.270.0030.00316.40
7.4.260.0030.00316.63
7.4.250.0040.00416.61
7.4.240.0070.00016.65
7.4.230.0030.00316.67
7.4.220.0140.00416.55
7.4.210.0070.01016.44
7.4.200.0030.00316.46
7.4.160.0060.01016.63
7.4.150.0090.00917.40
7.4.140.0080.00917.86
7.4.130.0100.00716.70
7.4.120.0080.01216.72
7.4.110.0130.01016.41
7.4.100.0070.01316.58
7.4.90.0130.00516.47
7.4.80.0100.01319.39
7.4.70.0080.01216.53
7.4.60.0110.00816.43
7.4.50.0070.01016.61
7.4.40.0090.00916.70
7.4.30.0030.01316.66
7.4.00.0150.00015.05
7.3.330.0000.00513.15
7.3.320.0000.00513.10
7.3.310.0040.00416.42
7.3.300.0000.00616.34
7.3.290.0080.00716.36
7.3.280.0070.01016.36
7.3.270.0050.01117.40
7.3.260.0070.01216.40
7.3.250.0110.01116.47
7.3.240.0130.00516.61
7.3.230.0030.01516.61
7.3.210.0110.00416.59
7.3.200.0140.00316.79
7.3.190.0100.00716.60
7.3.180.0100.00716.30
7.3.170.0080.00816.32
7.3.160.0140.00516.57
7.2.330.0260.00316.73
7.2.320.0110.01216.63
7.2.310.0130.00916.31
7.2.300.0240.00016.46
7.2.290.0060.01016.63
7.2.60.0070.00716.97
7.2.00.0000.01219.51
7.1.200.0040.00815.71
7.1.100.0060.00618.46
7.1.70.0060.01017.25
7.1.60.0370.01035.11
7.1.50.0320.00435.01
7.1.40.0320.01634.57
7.1.30.0350.01334.77
7.1.20.0250.00734.50
7.1.10.0070.00916.61
7.1.00.0070.01316.68
7.0.200.0060.01516.95
7.0.190.0070.01116.71
7.0.180.0110.01116.24
7.0.170.0130.00316.24
7.0.160.0000.01616.06
7.0.150.0030.01316.23
7.0.140.0030.01516.25
7.0.130.0080.00816.53
7.0.120.0030.01316.43
7.0.110.0120.00316.11
7.0.100.0050.01016.06
7.0.90.0140.00716.46
7.0.80.0150.00616.44
7.0.70.0100.00616.29
7.0.60.0030.01516.04
7.0.50.0090.01216.26
7.0.40.0030.01616.53
7.0.30.0100.01016.52
7.0.20.0080.01616.30
7.0.10.0080.01316.18
7.0.00.0080.01316.32

preferences:
59.17 ms | 400 KiB | 5 Q