3v4l.org

run code in 300+ PHP versions simultaneously
<?php $server_seed = "63a7db0259ce35e50eb0949e279c420c9fffcff37278e1ae04fea329a7ffeec4"; $public_seed = ""; $round = "6472801"; $hash = hash('sha256', $server_seed . "-" . $public_seed . "-" . $round); $roll = hexdec(substr($hash, 0, 8)) % 15; if ($roll == 0) $roll_colour == 'bonus'; echo("Roll: $roll\nColour: $roll_colour");
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined variable $roll_colour in /in/LKoEN on line 10 Roll: 2 Colour:

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