3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tweetLookup = [ 'Four', 'One', 'Two', 'Three', ]; for ($i = 0; $i <= 25; $i++) { echo $i . ": " . $tweetLookup[date("d", strtotime( "+$i days")) % 4]; echo "\n"; }

preferences:
26.59 ms | 405 KiB | 5 Q