- Output for 5.3.0 - 5.3.26, 5.4.0 - 5.4.16
- Parse error: syntax error, unexpected ';' in /in/FSada on line 8
Process exited with code 255.
<?php
$start = time();
$end = $start - 60 * 60 * 24 * 7;
foreach ( $date = $start; $date <= $end; $date = $date - (60 * 60 * 24))
{
if ( strftime('%w', $date) == 5 )
{
$link = strftime('%A %Y-%m-%d', $date);
}
}
echo $link;