3v4l.org

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