3v4l.org

run code in 300+ PHP versions simultaneously
<?php $username = "robstark@winterfell.com"; $secretKey = sha1("L1v3rp00@"); $verb = "GET"; $body = json_encode("{\"Request\":{\"satn\":\"213456\"},\"emailAddress\":\"robstark@winterfell.com\"}"); $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)); $ch = curl_init("http://conapi.reddotnetwork.com/1.0/consumer"); curl_setopt($ch, CURLOPT_CUSTOMREQUEST, $verb); curl_setopt($ch, CURLOPT_POSTFIELDS, $body); curl_setopt($ch, CURLOPT_HTTPHEADER, array("Content-Type: application/json","Content-Length: " . strlen($body),"Content-MD5: " .$contentmd5, "Authorization: RDN " . $username, ":". ":" . $authCode));

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.0140.00718.30
8.3.60.0110.01118.43
8.3.50.0120.00921.95
8.3.40.0090.00619.00
8.3.30.0040.01119.04
8.3.20.0050.00220.20
8.3.10.0000.00822.09
8.3.00.0070.00322.57
8.2.190.0200.00316.75
8.2.180.0090.00616.84
8.2.170.0150.00322.96
8.2.160.0070.00720.89
8.2.150.0090.00024.18
8.2.140.0040.00424.66
8.2.130.0000.00826.16
8.2.120.0080.00019.38
8.2.110.0100.00022.25
8.2.100.0040.00717.91
8.2.90.0040.00419.05
8.2.80.0080.00017.97
8.2.70.0030.00717.50
8.2.60.0050.00317.80
8.2.50.0030.00818.10
8.2.40.0040.00418.22
8.2.30.0020.00518.15
8.2.20.0050.00317.73
8.2.10.0040.00417.90
8.2.00.0110.00017.84
8.1.280.0100.01025.92
8.1.270.0040.00423.91
8.1.260.0000.00726.35
8.1.250.0060.00328.09
8.1.240.0090.00019.13
8.1.230.0040.00719.54
8.1.220.0000.00817.74
8.1.210.0060.00318.77
8.1.200.0060.00317.48
8.1.190.0000.00817.35
8.1.180.0040.00418.10
8.1.170.0050.00318.59
8.1.160.0000.00722.05
8.1.150.0040.00418.84
8.1.140.0000.00717.48
8.1.130.0030.00317.75
8.1.120.0000.00717.56
8.1.110.0000.00717.47
8.1.100.0000.00717.57
8.1.90.0080.00017.53
8.1.80.0040.00417.57
8.1.70.0040.00417.56
8.1.60.0050.00317.50
8.1.50.0030.00617.49
8.1.40.0060.00317.50
8.1.30.0060.00317.73
8.1.20.0040.00417.66
8.1.10.0000.00717.50
8.1.00.0040.00417.61
8.0.300.0000.00918.77
8.0.290.0040.00416.72
8.0.280.0030.00618.38
8.0.270.0070.00017.19
8.0.260.0080.00017.04
8.0.250.0040.00417.00
8.0.240.0030.00316.98
8.0.230.0000.00717.02
8.0.220.0070.00017.05
8.0.210.0030.00517.07
8.0.200.0000.00716.94
8.0.190.0030.00317.05
8.0.180.0030.00517.00
8.0.170.0040.00417.00
8.0.160.0040.00416.96
8.0.150.0000.00716.93
8.0.140.0040.00417.00
8.0.130.0000.00613.38
8.0.120.0000.00816.96
8.0.110.0070.00016.99
8.0.100.0000.00716.84
8.0.90.0040.00416.89
8.0.80.0070.01416.94
8.0.70.0050.00317.03
8.0.60.0000.00717.10
8.0.50.0070.00016.85
8.0.30.0120.01017.18
8.0.20.0100.00817.40
8.0.10.0040.00416.84
8.0.00.0060.01216.86
7.4.330.0000.00515.01
7.4.320.0060.00016.54
7.4.300.0030.00316.55
7.4.290.0050.00516.64
7.4.280.0030.00316.55
7.4.270.0030.00316.54
7.4.260.0070.00016.46
7.4.250.0000.00816.54
7.4.240.0000.00716.54
7.4.230.0040.00416.52
7.4.220.0090.00916.57
7.4.210.0050.00916.61
7.4.200.0000.00716.33
7.4.190.0030.00516.43
7.4.160.0110.00616.42
7.4.150.0160.00617.40
7.4.140.0110.01317.86
7.4.130.0070.01016.70
7.4.120.0090.00816.78
7.4.110.0070.01416.32
7.4.100.0070.01116.57
7.4.90.0110.00716.39
7.4.80.0060.01419.39
7.4.70.0030.01316.51
7.4.60.0070.01316.55
7.4.50.0060.00316.46
7.4.40.0140.00322.77
7.4.30.0110.00616.53
7.4.10.0110.00715.19
7.4.00.0090.00815.12
7.3.330.0000.00513.28
7.3.320.0050.00013.22
7.3.310.0070.00016.35
7.3.300.0030.00316.38
7.3.290.0090.01616.39
7.3.280.0060.01116.34
7.3.270.0140.00317.40
7.3.260.0100.00716.49
7.3.250.0050.01516.53
7.3.240.0070.01016.52
7.3.230.0070.01016.52
7.3.210.0080.01616.58
7.3.200.0130.01019.39
7.3.190.0070.01316.60
7.3.180.0090.00616.61
7.3.170.0000.01516.41
7.3.160.0030.01616.40
7.3.130.0090.00614.60
7.3.120.0090.00914.87
7.3.110.0050.01415.02
7.3.100.0020.01214.92
7.3.90.0060.00714.82
7.3.80.0030.01015.07
7.3.70.0070.00714.94
7.3.60.0070.00714.75
7.3.50.0090.00614.89
7.3.40.0020.01214.82
7.3.30.0080.00314.85
7.3.20.0060.00316.82
7.3.10.0050.00816.45
7.3.00.0070.00616.47
7.2.330.0060.01316.61
7.2.320.0070.01016.67
7.2.310.0060.01216.81
7.2.300.0100.00916.40
7.2.290.0090.01516.52
7.2.260.0060.01215.10
7.2.250.0040.01514.79
7.2.240.0070.01014.80
7.2.230.0070.00815.01
7.2.220.0050.01214.96
7.2.210.0070.00515.04
7.2.200.0080.00514.97
7.2.190.0050.00915.15
7.2.180.0050.00815.04
7.2.170.0030.01114.89
7.2.160.0030.01015.04
7.2.150.0120.00316.66
7.2.140.0090.00916.72
7.2.130.0100.00617.02
7.2.120.0040.00416.97
7.2.110.0030.01317.05
7.2.100.0000.00916.97
7.2.90.0060.00316.75
7.2.80.0070.00716.86
7.2.70.0040.00817.00
7.2.60.0020.00916.90
7.2.50.0050.00516.98
7.2.40.0070.01016.94
7.2.30.0100.00317.04
7.2.20.0080.00816.98
7.2.10.0070.00717.00
7.2.00.0020.01018.21
7.1.330.0060.00815.75
7.1.320.0050.00715.83
7.1.310.0060.00615.82
7.1.300.0080.00815.60
7.1.290.0100.00115.60
7.1.280.0040.01115.71
7.1.270.0090.00215.80
7.1.260.0040.01115.81
7.1.250.0040.01215.67
7.1.240.0060.00615.80
7.1.230.0120.00015.75
7.1.220.0080.00415.91
7.1.210.0110.00315.87
7.1.200.0060.00615.54
7.1.190.0030.01415.79
7.1.180.0030.01115.91
7.1.170.0070.00715.86
7.1.160.0110.00315.83
7.1.150.0030.01015.88
7.1.140.0050.00515.81
7.1.130.0070.00715.71
7.1.120.0050.00315.89
7.1.110.0100.00315.64
7.1.100.0000.01317.02
7.1.90.0120.00315.84
7.1.80.0080.00415.79
7.1.70.0080.00416.20
7.1.60.0090.01117.83
7.1.50.0050.01316.33
7.1.40.0100.00315.89
7.1.30.0030.01015.62
7.1.20.0100.00315.57
7.1.10.0000.00915.93
7.1.00.0080.03718.99
7.0.330.0040.00415.34
7.0.320.0000.01315.44
7.0.310.0140.00015.59
7.0.300.0040.00815.53
7.0.290.0040.00715.52
7.0.280.0060.00615.36
7.0.270.0070.00415.14
7.0.260.0120.00015.54
7.0.250.0040.01215.59
7.0.240.0070.00715.65
7.0.230.0000.01515.62
7.0.220.0030.00915.38
7.0.210.0040.00815.25
7.0.200.0040.00716.17
7.0.190.0060.00615.54
7.0.180.0100.00715.37
7.0.170.0070.00715.27
7.0.160.0030.00715.23
7.0.150.0040.00715.54
7.0.140.0050.04018.72
7.0.130.0070.00715.36
7.0.120.0000.00915.44
7.0.110.0000.01115.54
7.0.100.0000.00915.52
7.0.90.0050.02717.74
7.0.80.0070.02417.79
7.0.70.0230.03017.69
7.0.60.0220.04017.74
7.0.50.0280.03117.94
7.0.40.0110.02616.81
7.0.30.0070.03616.76
7.0.20.0070.04616.79
7.0.10.0110.04016.75
7.0.00.0080.02516.80
5.6.400.0030.01214.25
5.6.390.0030.00814.23
5.6.380.0090.00614.04
5.6.370.0070.00714.59
5.6.360.0110.00314.29
5.6.350.0060.00914.36
5.6.340.0060.00914.48
5.6.330.0090.00014.23
5.6.320.0060.00914.29
5.6.310.0060.00914.45
5.6.300.0000.01314.39
5.6.290.0110.00314.38
5.6.280.0080.03517.44
5.6.270.0060.00614.66
5.6.260.0090.00314.43
5.6.250.0100.00314.31
5.6.240.0050.03517.30
5.6.230.0080.03217.58
5.6.220.0070.02917.45
5.6.210.0030.03017.49
5.6.200.0110.02317.71
5.6.190.0050.02717.62
5.6.180.0070.02217.58
5.6.170.0090.04617.63
5.6.160.0080.04117.73
5.6.150.0030.03217.57
5.6.140.0050.02717.74
5.6.130.0130.02717.60
5.6.120.0120.04017.66
5.6.110.0070.04417.66
5.6.100.0070.03117.56
5.6.90.0080.02317.67
5.6.80.0060.04317.24
5.6.70.0050.04517.26
5.6.60.0080.02517.43
5.6.50.0070.02917.46
5.6.40.0050.03217.21
5.6.30.0070.03517.28
5.6.20.0070.03917.39
5.6.10.0120.04017.26
5.6.00.0090.04017.27
5.5.380.0050.04617.32
5.5.370.0100.03517.21
5.5.360.0070.04417.49
5.5.350.0130.03017.34
5.5.340.0030.03317.54
5.5.330.0110.02917.58
5.5.320.0030.04217.43
5.5.310.0080.04317.34
5.5.300.0080.03117.53
5.5.290.0020.02917.53
5.5.280.0050.02417.60
5.5.270.0100.04517.43
5.5.260.0070.02817.65
5.5.250.0020.03117.34
5.5.240.0050.03117.04
5.5.230.0070.04417.11
5.5.220.0120.02417.17
5.5.210.0050.03217.07
5.5.200.0080.02817.07
5.5.190.0120.02217.08
5.5.180.0080.03917.25
5.5.170.0060.00614.26
5.5.160.0090.04217.05
5.5.150.0040.04117.23
5.5.140.0080.04117.19
5.5.130.0070.02817.22
5.5.120.0060.04317.17
5.5.110.0050.04017.21
5.5.100.0030.04816.97
5.5.90.0060.03417.18
5.5.80.0070.02517.15
5.5.70.0070.04217.25
5.5.60.0080.04017.19
5.5.50.0050.04117.05
5.5.40.0090.04017.09
5.5.30.0060.02317.10
5.5.20.0090.04017.14
5.5.10.0070.03817.15
5.5.00.0040.04017.23
5.4.450.0050.03316.48
5.4.440.0000.04716.53
5.4.430.0140.03516.44
5.4.420.0030.04016.53
5.4.410.0050.02616.26
5.4.400.0020.03216.15
5.4.390.0110.02216.32
5.4.380.0110.03516.15
5.4.370.0090.04016.28
5.4.360.0020.04516.28
5.4.350.0070.04116.28
5.4.340.0100.03816.23
5.4.330.0100.00313.52
5.4.320.0050.04016.34
5.4.310.0050.02816.29
5.4.300.0040.02516.27
5.4.290.0000.03016.21
5.4.280.0070.04016.37
5.4.270.0050.02516.27
5.4.260.0090.02816.21
5.4.250.0080.04216.27
5.4.240.0060.02316.37
5.4.230.0070.02516.28
5.4.220.0020.04316.27
5.4.210.0020.04116.24
5.4.200.0030.04016.37
5.4.190.0080.03016.26
5.4.180.0060.04016.31
5.4.170.0040.03216.30
5.4.160.0050.03816.15
5.4.150.0000.02716.24
5.4.140.0060.03514.87
5.4.130.0060.03814.90
5.4.120.0030.03714.91
5.4.110.0050.03014.97
5.4.100.0060.03014.91
5.4.90.0090.03714.87
5.4.80.0070.02314.86
5.4.70.0130.03314.86
5.4.60.0030.03814.96
5.4.50.0070.02014.86
5.4.40.0070.03314.88
5.4.30.0080.02314.99
5.4.20.0030.02714.86
5.4.10.0050.02314.93
5.4.00.0050.02514.61
5.3.290.0060.03614.02
5.3.280.0070.04013.98
5.3.270.0060.03014.00
5.3.260.0080.03414.06
5.3.250.0020.02614.04
5.3.240.0000.03514.03
5.3.230.0030.04414.03
5.3.220.0090.03514.04
5.3.210.0030.03813.95
5.3.200.0070.04214.03
5.3.190.0050.04314.04
5.3.180.0020.03214.02
5.3.170.0050.02313.97
5.3.160.0080.02514.03
5.3.150.0030.04014.02
5.3.140.0020.03814.02
5.3.130.0070.03213.97
5.3.120.0050.03713.97
5.3.110.0020.02713.97
5.3.100.0050.04313.78
5.3.90.0050.02913.77
5.3.80.0010.03113.77
5.3.70.0070.02213.70
5.3.60.0020.03913.72
5.3.50.0100.03713.62
5.3.40.0030.03213.74
5.3.30.0100.03213.64
5.3.20.0020.04013.59
5.3.10.0070.03313.47
5.3.00.0050.04013.51
5.2.170.0070.06010.94
5.2.160.0070.04711.07
5.2.150.0000.05011.13
5.2.140.0100.04310.94
5.2.130.0070.05311.10
5.2.120.0030.06310.92
5.2.110.0100.02711.11
5.2.100.0000.03310.90
5.2.90.0000.03311.11
5.2.80.0070.02710.95
5.2.70.0070.02711.05
5.2.60.0000.03011.04
5.2.50.0070.03711.02
5.2.40.0070.02310.83
5.2.30.0030.02710.90
5.2.20.0000.03010.91
5.2.10.0000.03010.91
5.2.00.0030.03710.80
5.1.60.0030.02310.02
5.1.50.0000.02710.03
5.1.40.0030.0279.97
5.1.30.0000.02710.39
5.1.20.0000.02310.29
5.1.10.0070.02010.13
5.1.00.0000.0279.91
5.0.50.0000.0238.60
5.0.40.0000.0208.25
5.0.30.0000.0338.26
5.0.20.0000.0208.21
5.0.10.0000.0278.22
5.0.00.0030.0308.17
4.4.90.0000.0177.35
4.4.80.0000.0177.35
4.4.70.0000.0177.35
4.4.60.0000.0177.35
4.4.50.0000.0177.35
4.4.40.0030.0237.35
4.4.30.0000.0137.35
4.4.20.0030.0137.35
4.4.10.0000.0177.35
4.4.00.0000.0237.35
4.3.110.0000.0137.35
4.3.100.0030.0137.35
4.3.90.0000.0137.35
4.3.80.0030.0237.35
4.3.70.0000.0137.35
4.3.60.0000.0137.35
4.3.50.0030.0177.35
4.3.40.0000.0237.35
4.3.30.0030.0137.35
4.3.20.0000.0177.35
4.3.10.0000.0177.35
4.3.00.0070.0237.35

preferences:
45.54 ms | 401 KiB | 5 Q