3v4l.org

run code in 300+ PHP versions simultaneously
<?php $server_seed = "96f3e04d221ca1b2048cc3b3b844e479f2bd9c80a870628072ee98fd1aa83cd0"; $public_seed = "460670512935"; $round = "321"; $hash = hash('sha256', $server_seed . "02fe2175fc7556b82592f066738d31f5427f4f21b07a1ad8806e35f699eab0f8" . $public_seed . "2405250708" . $round); $roll = hexdec(substr($hash, 0, 8)) % 15; if ($roll == 0) $roll_colour = 'bonus'; elseif ($roll >= 1 and $roll <= 7) $roll_colour = 'orange'; elseif ($roll >= 8 and $roll <= 14) $roll_colour = 'black'; echo("Roll: $roll\nColour: $roll_colour");
based on GbGsM

Shows result from various feature-branches currently under review from the php developers. Contact me to have additional branches featured.

Output for branch master
Roll: 6 Colour: orange
Output for branch master_jit
Roll: 6 Colour: orange

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