3v4l.org

run code in 300+ PHP versions simultaneously
<?php $access_key = 'de235a6a15c340b6b1e1cb5f3687d04a'; $secret_key = '23e2c7da7f7048e5b46f96bc91324800'; $method = 'POST'; $path = '/activity.json/search?lang=EN&currency=ISK'; $date = '2013-11-09 14:33:46'; $signature_base = $date . $access_key . $method . $path; $signature = hash_hmac('sha1', $signature_base, $secret_key, true); $signature_sha1 = sha1($signature_base); // This is for test purposes $signature_base64 = base64_encode($signature); //echo $signature_base; // 2022-08-31 12:00:00my_access_keyPOST/activity.json/search?currency=EUR&lang=FI //echo $signature_sha1; // 3e81b830958602b54419c61070582519460c36c6 echo $signature_base64; // 5q22t52R0qHk43ssRHs6kyLBSiw=
Output for git.master, git.master_jit, rfc.property-hooks
XrOiTYa9Y34zscnLCsAEh8ieoyo=

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:
122.43 ms | 405 KiB | 5 Q