- date: documentation ( source)
- strtotime: documentation ( source)
<?php
$tweetLookup = [
'Four',
'One',
'Two',
'Three',
];
for ($i = 0; $i <= 25; $i++) {
echo $i . ": " . $tweetLookup[date("d", strtotime( "+$i days")) % 4];
echo "\n";
}