3v4l.org

run code in 300+ PHP versions simultaneously
<?php $server_seed = "96f3e04d221ca1b2048cc3b3b844e479f2bd9c80a870628072ee98fd1aa83cd0"; // make sure to use non-hashed server seed $public_seed = "20charlongstringxxxxx"; $round = "546"; $hash = hash('sha256', $server_seed . "-" . $public_seed . "-" . $round); $ticket = hexdec(substr($hash, 0, 15)) % 1000000 + 1; echo("Winning ticket: $ticket");
Output for git.master_jit, git.master, rfc.property-hooks
Winning ticket: 344114

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