3v4l.org

run code in 300+ PHP versions simultaneously
<?php <?php for($i = 1; $i < 10; $i++) { $today = strtotime("+$i days"); $quote_for = strtotime('wednesday this week',strtotime("+$i days")); $diff = floor(($quote_for - $today)/86400); // difference in days echo "On " . date('l \t\h\e jS',$today) . " the shipping quote will be for " . date('l \t\h\e jS', $quote_for) . " which is " . abs($diff) . " days " . ($diff <0?"before":"after") . " today. " . date('Y-m-d',$today) . " - " . date('Y-m-d',$quote_for) . "\n"; }
Output for 5.3.0 - 5.3.21, 5.4.0 - 5.4.11
Parse error: syntax error, unexpected '<' in mIogG on line 3
Process exited with code 255.

preferences:
162.89 ms | 1395 KiB | 41 Q