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.27 ms | 409 KiB | 6 Q