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"; $auth_code = base64_encode(hash_hmac("sha1", $verb . "\n" . $md5d_content . "\n" . $date_now = gmate("c"); $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.0070.03512.38
5.4.270.0080.03612.38
5.4.260.0070.03812.38
5.4.250.0070.03712.38
5.4.240.0070.03612.38
5.4.230.0070.03812.37
5.4.220.0060.03712.37
5.4.210.0040.03712.37
5.4.200.0070.03812.37
5.4.190.0070.03612.37
5.4.180.0070.03612.37
5.4.170.0070.03812.38
5.4.160.0020.03912.37
5.4.150.0050.03812.37
5.4.140.0060.04612.06
5.4.130.0080.04012.04
5.4.120.0050.03812.01
5.4.110.0060.03812.00
5.4.100.0050.03612.00
5.4.90.0050.04012.00
5.4.80.0070.03612.00
5.4.70.0040.03812.00
5.4.60.0070.03612.00
5.4.50.0100.03212.00
5.4.40.0080.03311.98
5.4.30.0050.03911.98
5.4.20.0070.03411.98
5.4.10.0070.03511.98
5.4.00.0070.03611.48
5.3.280.0070.04112.71
5.3.270.0050.04312.72
5.3.260.0070.03912.72
5.3.250.0070.03712.72
5.3.240.0080.04312.72
5.3.230.0070.04312.71
5.3.220.0060.03912.68
5.3.210.0080.04112.68
5.3.200.0070.03512.68
5.3.190.0080.03612.68
5.3.180.0070.04012.67
5.3.170.0090.04712.67
5.3.160.0090.03812.67
5.3.150.0080.03912.67
5.3.140.0100.04212.66
5.3.130.0100.04212.66
5.3.120.0090.04312.66
5.3.110.0070.03912.66
5.3.100.0050.04212.12
5.3.90.0070.03712.08
5.3.80.0090.03512.08
5.3.70.0060.03712.07
5.3.60.0040.03912.06
5.3.50.0070.03612.00
5.3.40.0070.03612.00
5.3.30.0070.03511.94
5.3.20.0060.03611.72
5.3.10.0110.03811.69
5.3.00.0070.03911.68

preferences:
143.59 ms | 1386 KiB | 7 Q