3v4l.org

run code in 300+ PHP versions simultaneously
<?php<!DOCTYPE html> <html> <head> <link type='text/css' rel='stylesheet' href='style.css'/> <title>FIGURES!</title> </head> <body> <img src="http://i1061.photobucket.com/albums/t480/ericqweinstein/php-logo_zps408c82d7.png"/> <div class="header"><h1> <?php $welcome = "YOU WILL LEARN FIGURES!"; echo $welcome; ?> </h1></div> <p><strong>Generate a list:</strong> <?php for ($number = 0; $number <= 20; $number++) { if ($number <= 19) { echo $number . ", "; } else { echo $number . "!"; } }; ?> </p> <p><strong></strong> <?php $things = array( ); foreach ($things as $thing) { echo "<li>$thing</li>"; } unset($thing); ?> </p> <p><strong> <strong></p> <p> <?php $words = array( ); shuffle($words); foreach ($words as $word) { echo $word; }; unset($word); ?> </p> </body> </html>

preferences:
34.18 ms | 402 KiB | 5 Q