3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $username = "robstark@winterfell.com"; $secretKey = sha1("L1v3rp00@"); $verb = ‘POST’; $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(hmac-sha1($secretKey, $verb . ‘\n’ . $contentmd5 . ‘\n’ . $contentType . ‘\n’ . $dateNow));
Output for 5.4.0 - 5.4.27
Parse error: syntax error, unexpected 'Request' (T_STRING) in /in/v2KoL on line 5
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_STRING in /in/v2KoL on line 5
Process exited with code 255.