3v4l.org

run code in 300+ PHP versions simultaneously
<?php $appId = "11325"; $secret= "52b0c70dc9244762b762d6554116d32f"; $userid = "12405620"; $time = gmdate("Y-m-d\TH:i:s"); $unixTime = @strtotime($time."Z"); $signature = hash('sha256', ($userid?$userid:"").$appId.$unixTime.$secret); echo "/auth/get-token?appId={$appId}".($userid?"&userid={$userid}":"")."&timestamp={$time}&signature={$signature}"; echo "\n\n"; $token = "12405620_11325_253402300799_1_b5decf74af0b2b2f2598739372bedf6c550d57d492d1e1cc2043269662168dc7"; echo "&token=" .$token ."&hash=" .hash('sha256', $token .$secret);
Output for git.master, git.master_jit, rfc.property-hooks
/auth/get-token?appId=11325&userid=12405620&timestamp=2014-08-20T22:29:29&signature=cb7cb48e3fae6321ed7e14736d40f87079355b1bea303192011bdb25e28964e4 &token=12405620_11325_253402300799_1_b5decf74af0b2b2f2598739372bedf6c550d57d492d1e1cc2043269662168dc7&hash=c51b756465d495072f7645ddeb5f853cf172e181cb294c33cf1db5b8aefc85fb

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:
39.35 ms | 402 KiB | 8 Q