3v4l.org

run code in 300+ PHP versions simultaneously
<?php $appId = "16536"; $secret= "4ee6a4c96fd141999100f5d78b3b2dba"; $userid = "5642153"; $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=16536&userid=5642153&timestamp=2014-08-20T07:33:05&signature=b4887652c02e56076b2e7698110e0fa24446ce61593ed48a0dff45a00368e88f &token=12405620_11325_253402300799_1_b5decf74af0b2b2f2598739372bedf6c550d57d492d1e1cc2043269662168dc7&hash=50d3cdb3c380f0ec5c69009915a3350600298aea1d3a1b728c5c62c99add3aea

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