3v4l.org

run code in 300+ PHP versions simultaneously
<?php $username = "robert.shaw21@reddotnetwork.com"; $secretKey = sha1("LetMeIn2014"); $verb = "GET"; $body = json_encode("{\"Request\":{\"satn\":\"181102\"},\"emailAddress\":\"" . $username . "\"}"); $contentmd5 = base64_encode(md5($body, true)); $contentType = "application/json"; $dateNow = gmdate("c"); $authCode = base64_encode(hash_hmac("sha1", $verb . "\n" . $contentmd5 . "\n" . $contentType . "\n" . $dateNow, $secretKey)); $header = "Content-Type: application/json" . "\n" . "Content-Length: " . strlen($body) . "\n" . "Content-MD5: " . $contentmd5 . "\n" . "Date: " . $dateNow . "\n" . "Authorization: RDN " . $username . ":" . $authCode; print("\n\n" . $header . "\n\n");

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.0160.00318.43
8.3.50.0130.00921.98
8.3.40.0110.00419.02
8.3.30.0110.00819.06
8.3.20.0080.00020.29
8.3.10.0030.00522.11
8.3.00.0030.00522.52
8.2.180.0070.00718.18
8.2.170.0070.01422.96
8.2.160.0100.00320.69
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0080.00017.63
8.2.110.0090.00022.14
8.2.100.0110.00017.91
8.2.90.0050.00319.20
8.2.80.0000.00718.04
8.2.70.0000.00817.50
8.2.60.0090.00017.93
8.2.50.0000.00818.07
8.2.40.0030.00618.22
8.2.30.0050.00318.10
8.2.20.0040.00417.58
8.2.10.0030.00617.76
8.2.00.0050.00317.86
8.1.280.0090.00925.92
8.1.270.0060.00623.83
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0100.00023.84
8.1.230.0080.00819.15
8.1.220.0000.00817.74
8.1.210.0080.00018.77
8.1.200.0000.00917.35
8.1.190.0040.00417.65
8.1.180.0030.00518.10
8.1.170.0030.00518.46
8.1.160.0000.00722.08
8.1.150.0070.00018.67
8.1.140.0040.00417.39
8.1.130.0020.00517.75
8.1.120.0020.00517.52
8.1.110.0040.00417.54
8.1.100.0040.00417.38
8.1.90.0000.00717.41
8.1.80.0030.00417.45
8.1.70.0050.00217.45
8.1.60.0080.00017.60
8.1.50.0000.00917.58
8.1.40.0040.00417.46
8.1.30.0000.00817.70
8.1.20.0040.00417.70
8.1.10.0030.00517.56
8.1.00.0000.00717.46
8.0.300.0070.00018.77
8.0.290.0000.00717.04
8.0.280.0050.00318.45
8.0.270.0030.00317.14
8.0.260.0060.00016.98
8.0.250.0040.00416.96
8.0.240.0040.00417.05
8.0.230.0030.00417.05
8.0.220.0070.00017.01
8.0.210.0080.00016.99
8.0.200.0030.00316.92
8.0.190.0050.00217.00
8.0.180.0000.00716.93
8.0.170.0000.00816.93
8.0.160.0040.00417.03
8.0.150.0040.00416.81
8.0.140.0040.00316.88
8.0.130.0030.00313.36
8.0.120.0040.00416.82
8.0.110.0070.00016.75
8.0.100.0040.00417.00
8.0.90.0040.00416.84
8.0.80.0150.00016.96
8.0.70.0040.00416.82
8.0.60.0070.00016.84
8.0.50.0020.00516.96
8.0.30.0120.00616.94
8.0.20.0170.00717.40
8.0.10.0080.00016.83
8.0.00.0060.01416.82
7.4.330.0060.00015.00
7.4.320.0040.00416.52
7.4.300.0030.00316.47
7.4.290.0070.00016.60
7.4.280.0000.00616.60
7.4.270.0040.00416.52
7.4.260.0000.00716.64
7.4.250.0070.00016.49
7.4.240.0020.00516.61
7.4.230.0030.00316.36
7.4.220.0060.01116.48
7.4.210.0080.00616.46
7.4.200.0080.00016.34
7.4.190.0030.00316.43
7.4.160.0090.00616.43
7.4.150.0060.01217.40
7.4.140.0080.01217.86
7.4.130.0130.00316.43
7.4.120.0130.00716.46
7.4.110.0110.00616.42
7.4.100.0130.00316.39
7.4.90.0130.01016.42
7.4.80.0120.00619.39
7.4.70.0050.01516.36
7.4.60.0030.01316.34
7.4.50.0000.00516.73
7.4.40.0070.00722.77
7.4.30.0060.01016.63
7.4.00.0070.01014.96
7.3.330.0000.00513.27
7.3.320.0000.00713.19
7.3.310.0000.00716.40
7.3.300.0070.00016.37
7.3.290.0090.00616.35
7.3.280.0080.00816.36
7.3.270.0030.01317.40
7.3.260.0060.01216.38
7.3.250.0120.00716.47
7.3.240.0140.00316.39
7.3.230.0090.00816.39
7.3.210.0120.00616.38
7.3.200.0120.00619.39
7.3.190.0070.01016.22
7.3.180.0100.01016.35
7.3.170.0150.00216.45
7.3.160.0150.00616.37
7.3.120.0090.00714.86
7.3.110.0070.01214.98
7.3.100.0040.00915.02
7.3.90.0050.00914.74
7.3.80.0040.00914.86
7.3.70.0040.01014.82
7.3.60.0050.00714.86
7.3.50.0070.00814.89
7.3.40.0030.00914.71
7.3.30.0100.00214.68
7.3.20.0020.01116.74
7.3.10.0060.00716.66
7.3.00.0070.00516.76
7.2.330.0130.00416.63
7.2.320.0120.00916.85
7.2.310.0070.01016.84
7.2.300.0100.00616.82
7.2.290.0090.00616.75
7.2.250.0070.01114.98
7.2.240.0030.01415.05
7.2.230.0070.00915.12
7.2.220.0090.00815.01
7.2.210.0070.00615.10
7.2.200.0050.01014.97
7.2.190.0080.00515.02
7.2.180.0030.01014.88
7.2.170.0080.00715.08
7.2.160.0070.00715.07
7.2.150.0060.00616.96
7.2.140.0070.01016.85
7.2.130.0050.01017.04
7.2.120.0080.00716.95
7.2.110.0100.00617.03
7.2.100.0050.01016.89
7.2.90.0060.00616.98
7.2.80.0100.00316.75
7.2.70.0060.00416.98
7.2.60.0070.00816.76
7.2.50.0090.00916.95
7.2.40.0080.00716.83
7.2.30.0040.01016.94
7.2.20.0070.00617.00
7.2.10.0050.00916.99
7.2.00.0070.00717.79
7.1.330.0080.00515.82
7.1.320.0070.00515.81
7.1.310.0050.00915.83
7.1.300.0070.00515.74
7.1.290.0050.00815.70
7.1.280.0010.01115.81
7.1.270.0050.00715.72
7.1.260.0070.00715.89
7.1.250.0050.00815.93
7.1.200.0070.00715.59
7.1.100.0070.00418.18
7.1.70.0040.00417.20
7.1.60.0090.01519.82
7.1.50.0090.01317.00
7.1.00.0000.08022.30
7.0.200.0070.00716.88
7.0.140.0070.07021.92
7.0.90.0100.03719.93
7.0.80.0100.02719.87
7.0.70.0000.04319.96
7.0.60.0000.08719.77
7.0.50.0130.03720.23
7.0.40.0070.07320.15
7.0.30.0000.05720.17
7.0.20.0030.04320.04
7.0.10.0030.04020.04
7.0.00.0030.04320.14
5.6.280.0030.07321.14
5.6.240.0000.04320.68
5.6.230.0030.04020.48
5.6.220.0030.04320.74
5.6.210.0000.04020.75
5.6.200.0030.04021.08
5.6.190.0000.07021.04
5.6.180.0030.06721.11
5.6.170.0100.06321.10
5.6.160.0100.03021.16
5.6.150.0070.04721.00
5.6.140.0070.04021.05
5.6.130.0000.04720.96
5.6.120.0070.03721.09
5.6.110.0100.08020.96
5.6.100.0200.07321.15
5.6.90.0000.04321.14
5.6.80.0070.04320.50
5.6.70.0070.07720.33
5.6.60.0000.08320.47
5.6.50.0030.03720.42
5.6.40.0100.08020.30
5.6.30.0230.01720.26
5.6.20.0030.05020.36
5.6.10.0130.04720.46
5.6.00.0100.05320.42
5.5.380.0100.05020.51
5.5.370.0070.03720.54
5.5.360.0030.04320.34
5.5.350.0100.05020.45
5.5.340.0070.04320.85
5.5.330.0000.04320.83
5.5.320.0030.08020.90
5.5.310.0000.04320.63
5.5.300.0030.03720.86
5.5.290.0100.03720.88
5.5.280.0030.04320.82
5.5.270.0000.08720.63
5.5.260.0170.07020.63
5.5.250.0100.05020.70
5.5.240.0170.06320.27
5.5.230.0100.07020.24
5.5.220.0000.05020.25
5.5.210.0130.06720.30
5.5.200.0030.03320.13
5.5.190.0030.06719.99
5.5.180.0070.07320.13
5.5.160.0030.04020.15
5.5.150.0070.04020.27
5.5.140.0070.07720.23
5.5.130.0070.04020.12
5.5.120.0130.05719.99
5.5.110.0070.05020.16
5.5.100.0030.08320.10
5.5.90.0100.03320.08
5.5.80.0030.08320.06
5.5.70.0100.07020.06
5.5.60.0030.05020.10
5.5.50.0070.04020.11
5.5.40.0070.04720.03
5.5.30.0100.07319.99
5.5.20.0130.07020.05
5.5.10.0070.04320.00
5.5.00.0070.07720.12
5.4.450.0000.04319.45
5.4.440.0030.03719.46
5.4.430.0030.03719.43
5.4.420.0100.07319.43
5.4.410.0070.06019.24
5.4.400.0130.06319.06
5.4.390.0000.05019.14
5.4.380.0100.03318.78
5.4.370.0000.03719.24
5.4.360.0000.03719.02
5.4.350.0000.03719.06
5.4.340.0070.04019.03
5.4.320.0000.07019.04
5.4.310.0130.06719.05
5.4.300.0070.07019.09
5.4.290.0100.03719.14
5.4.280.0100.08019.12
5.4.270.0130.07018.77
5.4.260.0130.06319.12
5.4.250.0030.04319.06
5.4.240.0100.06718.97
5.4.230.0070.03719.04
5.4.220.0130.06319.04
5.4.210.0130.07018.94
5.4.200.0070.07319.02
5.4.190.0070.06019.04
5.4.180.0030.08719.13
5.4.170.0070.08319.09
5.4.160.0170.06319.00
5.4.150.0070.06719.09
5.4.140.0100.06316.23
5.4.130.0100.07316.07
5.4.120.0070.05016.32
5.4.110.0100.06016.27
5.4.100.0000.04316.45
5.4.90.0030.07316.21
5.4.80.0100.05316.19
5.4.70.0130.06016.43
5.4.60.0130.07016.30
5.4.50.0100.07016.29
5.4.40.0130.06316.38
5.4.30.0070.04316.40
5.4.20.0270.05716.31
5.4.10.0100.06316.13
5.4.00.0070.07015.54
5.3.290.0130.02714.52
5.3.280.0030.08314.56
5.3.270.0170.07014.58
5.3.260.0070.06714.46
5.3.250.0030.04014.60
5.3.240.0030.08014.52
5.3.230.0130.05714.46
5.3.220.0100.07314.53
5.3.210.0070.07714.52
5.3.200.0100.05714.50
5.3.190.0100.06714.48
5.3.180.0170.06714.42
5.3.170.0070.07714.43
5.3.160.0230.04714.44
5.3.150.0130.07014.54
5.3.140.0200.05714.50
5.3.130.0070.08014.46
5.3.120.0030.07714.54
5.3.110.0100.05714.40
5.3.100.0070.06714.00
5.3.90.0030.07014.02
5.3.80.0030.04313.87
5.3.70.0070.03713.99
5.3.60.0030.08314.00
5.3.50.0070.06313.92
5.3.40.0100.06713.80
5.3.30.0070.04013.88
5.3.20.0030.07313.68
5.3.10.0200.05713.67
5.3.00.0170.03013.57
5.2.170.0070.05011.21
5.2.160.0030.03711.14
5.2.150.0030.04711.14
5.2.140.0070.06311.10
5.2.130.0030.06010.92
5.2.120.0000.07011.09
5.2.110.0130.05311.10
5.2.100.0000.06011.08
5.2.90.0030.03011.06
5.2.80.0000.06311.08
5.2.70.0030.04011.06
5.2.60.0070.06311.08
5.2.50.0030.04310.84
5.2.40.0030.06010.86
5.2.30.0030.05010.77
5.2.20.0070.05710.88
5.2.10.0130.05710.86
5.2.00.0070.05710.82
5.1.60.0000.0339.88
5.1.50.0070.0239.98
5.1.40.0000.0279.97
5.1.30.0030.05710.23
5.1.20.0030.03310.29
5.1.10.0070.05710.05
5.1.00.0030.04710.13
5.0.50.0130.0108.61
5.0.40.0000.0408.42
5.0.30.0000.0278.22
5.0.20.0000.0438.31
5.0.10.0030.0278.21
5.0.00.0030.0638.23
4.4.90.0030.0177.60
4.4.80.0030.0237.60
4.4.70.0070.0307.60
4.4.60.0070.0177.60
4.4.50.0000.0377.60
4.4.40.0000.0507.60
4.4.30.0030.0377.60
4.4.20.0000.0307.60
4.4.10.0000.0337.60
4.4.00.0000.0437.60
4.3.110.0030.0137.60
4.3.100.0030.0337.60
4.3.90.0000.0137.60
4.3.80.0000.0207.60
4.3.70.0000.0377.60
4.3.60.0100.0277.60
4.3.50.0070.0237.60
4.3.40.0030.0477.60
4.3.30.0000.0337.60
4.3.20.0030.0337.60
4.3.10.0030.0337.60
4.3.00.0000.0377.60

preferences:
45.78 ms | 401 KiB | 5 Q