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 = "abc"; $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.01117.13
8.3.50.0110.00416.41
8.3.40.0040.01118.96
8.3.30.0090.00618.82
8.3.20.0080.00020.34
8.3.10.0000.01021.64
8.3.00.0070.00022.09
8.2.180.0120.00918.38
8.2.170.0060.01222.96
8.2.160.0000.01519.29
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0070.00021.18
8.2.120.0040.00426.35
8.2.110.0030.00821.00
8.2.100.0070.00318.34
8.2.90.0050.00319.17
8.2.80.0030.00617.97
8.2.70.0000.00817.63
8.2.60.0080.00017.93
8.2.50.0000.00818.10
8.2.40.0040.00420.44
8.2.30.0050.00321.08
8.2.20.0030.00618.23
8.2.10.0000.00718.22
8.2.00.0000.00718.14
8.1.280.0070.00725.92
8.1.270.0040.00422.00
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0030.00622.37
8.1.230.0110.00317.64
8.1.220.0060.00317.74
8.1.210.0000.00818.77
8.1.200.0030.00617.35
8.1.190.0050.00317.23
8.1.180.0040.00418.10
8.1.170.0000.00719.00
8.1.160.0040.00419.05
8.1.150.0070.00020.67
8.1.140.0020.00519.54
8.1.130.0070.00018.92
8.1.120.0030.00317.55
8.1.110.0040.00417.53
8.1.100.0000.00817.54
8.1.90.0040.00417.46
8.1.80.0040.00417.50
8.1.70.0030.00317.59
8.1.60.0000.01017.52
8.1.50.0090.00017.57
8.1.40.0000.00817.47
8.1.30.0080.00017.74
8.1.20.0000.00717.71
8.1.10.0040.00417.52
8.1.00.0000.00817.50
8.0.300.0000.00718.77
8.0.290.0100.00017.00
8.0.280.0000.00718.53
8.0.270.0000.00717.20
8.0.260.0030.00316.99
8.0.250.0000.00717.10
8.0.240.0040.00417.06
8.0.230.0040.00417.00
8.0.220.0040.00416.94
8.0.210.0040.00417.06
8.0.200.0050.00217.03
8.0.190.0030.00517.09
8.0.180.0070.00016.98
8.0.170.0030.00616.99
8.0.160.0000.00717.00
8.0.150.0040.00417.05
8.0.140.0000.00716.98
8.0.130.0000.00813.58
8.0.120.0040.00416.96
8.0.110.0040.00417.08
8.0.100.0040.00416.93
8.0.90.0000.00717.09
8.0.80.0060.00917.05
8.0.70.0070.00016.89
8.0.60.0000.00816.97
8.0.50.0040.00417.16
8.0.30.0090.00917.19
8.0.20.0130.00717.40
8.0.10.0040.00417.16
8.0.00.0100.00716.86
7.4.330.0020.00215.55
7.4.320.0050.00316.48
7.4.300.0030.00316.54
7.4.290.0000.00716.55
7.4.280.0000.00816.39
7.4.270.0030.00316.40
7.4.260.0070.00016.64
7.4.250.0000.00716.45
7.4.240.0040.00416.62
7.4.230.0000.00716.45
7.4.220.0090.00916.67
7.4.210.0110.00316.65
7.4.200.0000.00716.55
7.4.160.0060.00916.54
7.4.150.0170.00017.40
7.4.140.0120.00817.86
7.4.130.0120.01216.62
7.4.120.0110.01216.66
7.4.110.0110.00716.68
7.4.100.0070.01016.60
7.4.90.0050.01016.70
7.4.80.0110.00719.39
7.4.70.0090.00616.71
7.4.60.0090.00616.70
7.4.50.0090.00616.51
7.4.40.0140.00316.63
7.4.30.0100.00716.54
7.4.00.0030.01215.02
7.3.330.0030.00313.35
7.3.320.0030.00313.35
7.3.310.0000.00616.35
7.3.300.0000.00616.45
7.3.290.0110.00416.43
7.3.280.0070.01116.40
7.3.270.0070.01017.40
7.3.260.0130.01016.43
7.3.250.0120.00816.52
7.3.240.0080.00916.53
7.3.230.0090.00916.75
7.3.210.0170.00016.64
7.3.200.0120.00616.31
7.3.190.0090.01116.45
7.3.180.0130.00316.37
7.3.170.0080.01116.48
7.3.160.0100.01016.53
7.2.330.0070.01016.72
7.2.320.0120.00616.91
7.2.310.0030.01316.86
7.2.300.0060.01616.95
7.2.290.0110.00616.49
7.2.80.0130.00016.75
7.2.60.0000.01217.02
7.2.00.0040.00919.57
7.1.200.0080.00615.75
7.1.100.0030.00917.88
7.1.70.0040.00417.34
7.1.60.0040.00717.43
7.1.50.0180.00416.90
7.1.40.0070.00716.66
7.1.30.0030.00916.59
7.1.20.0030.00816.93
7.1.10.0040.00416.73
7.1.00.0070.00716.59
7.0.200.0000.01116.76
7.0.190.0000.00716.57
7.0.180.0000.01016.48
7.0.170.0000.00816.26
7.0.160.0040.00416.57
7.0.150.0070.00016.23
7.0.140.0030.00916.32
7.0.130.0050.00216.56
7.0.120.0040.00416.77
7.0.110.0000.00816.48
7.0.100.0040.00416.43
7.0.90.0040.00416.30
7.0.80.0000.01116.51
7.0.70.0060.00316.47
7.0.60.0000.00916.36
7.0.50.0000.00716.41
7.0.40.0000.00714.79
7.0.30.0030.00614.79
7.0.20.0050.00214.79
7.0.10.0000.00714.79
7.0.00.0000.01214.79

preferences:
42.87 ms | 401 KiB | 5 Q