- 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.
<?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";
}