3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $secretKey = 'Gu5t9xGARNpq86cd98joQYCN3Cozk1qA'; $srcStr = 'Action=LexicalAnalysis&Nonce=345122&Region=sz&SecretId=AKIDz8krbsJ5yKBZQpn74WFkmLPx3gnPhESA&Timestamp=1408704141&code=2097152&text=我爱洗澡'; echo hash_hmac('sha1', $srcStr, $secretKey, false);
based on FYEvQ
Output for 5.5.0 - 7.2.6
5a6179f34d40eeac415530579d9c9c77742e19e7