3v4l.org

run code in 300+ PHP versions simultaneously
<?php $stringToSign = [ 'POST', 'application/json', 'Thu, 17 Jan 2019 02:45:06 GMT', '/ayden/init', 'qz0HpayQzMDnBfJMfUB5zJGU62nX2Uef66m6YIpDAWA=' ]; $string = implode("\n", $stringToSign) . "\n"; $hmac = base64_encode(hash_hmac('sha256', $string, 'secret', true)); echo $hmac;
Output for git.master, git.master_jit, rfc.property-hooks
aKp08zQP2VUPCCIZLC/mNvgwV9Tqnd6i998pRNWB77A=

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
129.65 ms | 405 KiB | 5 Q