3v4l.org

run code in 300+ PHP versions simultaneously
<?php $appId = "11325"; $secret= "52b0c70dc9244762b762d6554116d32f"; $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_16536_1408876677_2_f6847bcf07edd672b38a30676808d2bfb97e1f0e3c58addb91a33e3df7567aac"; echo "&token=" .$token ."&hash=" .hash('sha256', $token .$secret);
Output for git.master, git.master_jit, rfc.property-hooks
/auth/get-token?appId=11325&timestamp=2014-08-20T10:41:08&signature=bf248a1ff1603d024b7002a0c26c3e3703366fecd5439a7b0a405567112ec200 &token=0_16536_1408876677_2_f6847bcf07edd672b38a30676808d2bfb97e1f0e3c58addb91a33e3df7567aac&hash=ad329eb14cb6025084a4bc022c07ead00bfb211d1bbdc29c67cc05ad6e1bbcec

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:
42.2 ms | 401 KiB | 8 Q