3v4l.org

run code in 300+ PHP versions simultaneously
<?php $username = 'tony1@fusio.net'; $sha1_key = sha1("bananaman"); $verb = "GET"; $json_request = "{'Request':{'satn':'187803'}, 'emailAddress':'tony1@fusio.net'}"; $request_body = json_encode($json_request); $md5d_content = base64_encode(md5($request_body, true)); $content_type = "application/json"; $date_now = gmdate("c"); $auth_code = base64_encode(hash_hmac("sha1", $verb . "\n" . $md5d_content . "\n" . $content_type . "\n" . $date_now, $sha1_key)); $content_type . "\n" . $date_now, $sha1_key)); $header = "Content-Type: application/json" . "\n" . "Content-Length: " . strlen($request_body) . "\n" . "Content-MD5: " . $md5d_content . "\n" . "Date: " . $date_now . "\n" . "Authorization: RDN " . $username . ":" . $auth_code; var_dump($header);

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)
5.4.280.0060.03712.36
5.4.270.0090.04912.36
5.4.260.0110.05412.36
5.4.250.0110.06112.37
5.4.240.0070.05212.36
5.4.230.0110.04912.36
5.4.220.0090.04012.36
5.4.210.0170.04612.36
5.4.200.0070.05212.36
5.4.190.0060.05212.36
5.4.180.0120.03512.35
5.4.170.0090.03812.36
5.4.160.0080.04012.36
5.4.150.0120.04512.36
5.4.140.0230.05812.04
5.4.130.0180.05312.03
5.4.120.0120.04711.99
5.4.110.0110.05011.99
5.4.100.0140.05311.99
5.4.90.0110.06011.98
5.4.80.0130.05511.98
5.4.70.0100.03811.99
5.4.60.0100.03811.98
5.4.50.0070.04011.98
5.4.40.0100.03611.98
5.4.30.0090.03811.96
5.4.20.0110.04611.96
5.4.10.0070.04711.97
5.4.00.0060.03611.46
5.3.280.0100.03612.70
5.3.270.0080.04112.72
5.3.260.0090.04512.72
5.3.250.0090.04112.72
5.3.240.0130.04912.72
5.3.230.0090.05112.71
5.3.220.0080.04612.68
5.3.210.0160.05212.68
5.3.200.0150.09212.68
5.3.190.0180.05512.67
5.3.180.0170.06412.68
5.3.170.0270.05612.67
5.3.160.0210.07112.67
5.3.150.0170.06712.68
5.3.140.0130.05012.66
5.3.130.0120.04412.66
5.3.120.0080.04012.66
5.3.110.0090.04112.66
5.3.100.0060.06112.12
5.3.90.0110.05012.08
5.3.80.0080.05212.08
5.3.70.0150.06212.08
5.3.60.0100.07312.07
5.3.50.0120.05712.00
5.3.40.0170.06612.00
5.3.30.0110.04911.94
5.3.20.0120.04311.71
5.3.10.0120.05411.67
5.3.00.0130.05011.66

preferences:
142.88 ms | 1394 KiB | 7 Q