3v4l.org

run code in 300+ PHP versions simultaneously
<?php $appId = "16961"; $secret= "1c99b315c7cc4009a9fbce37b885abbc"; $userid = null; $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 = "0_16961_1409345448_2_3f967b8531d8d651a2a2a79136329aeba76dce85e29b8d943c6d2643f5ae5322"; echo "&token=" .$token ."&hash=" .hash('sha256', $token .$secret);
Output for git.master, git.master_jit, rfc.property-hooks
/auth/get-token?appId=16961&timestamp=2014-08-25T20:53:55&signature=55a2b30c2f756ea5a4ee1bdb99a4ae57c339c03e18c4137708f597f745aa0cd4 &token=0_16961_1409345448_2_3f967b8531d8d651a2a2a79136329aeba76dce85e29b8d943c6d2643f5ae5322&hash=6325e9854b9e3606e0a4adb8c1f6de290dbe3f0d80374a1be023233efc0aa560

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