3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<html> <?php die("asssd"); // Create an array and push on the names // of your closest family and friends $family = array("mother", "father", "gmother", "gfather"); // Sort the list sort($family); rsort($family); // Randomly select a winner! $winner = ""; $win = rand(1,5); switch($win){ case 1: $winner = $family[0]; break; case 2: $winner = $family[1]; break; case 3: $winner = $family[2]; break; case 4: $winner = $family[3]; break; case 5: $winner = $family[4]; break; default: echo "Переможець не визначений!"; } // Print the winner's name in ALL CAPS echo strtoupper("І так, у нас є переможеце і це ......"); echo $winner.$random = $win; exit; ?> </html>
Output for 5.3.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
<html> asssd
Output for hhvm-3.10.0

Process exited with code 153.