- Output for 5.5.24 - 5.5.30, 5.6.8 - 5.6.15
- Parse error: syntax error, unexpected '}' in /in/UE7PK on line 3
Process exited with code 255.
<?php
$week_of=new DateTime('last monday');
}
$interval=new DateInterval('P1D');
$week_of->setTimezone(new DateTimeZone('Asia/Shanghai'));
$mon=$week_of->format('D Y-m-d');
$mon_query=$week_of->format('Y-m-d');
$tue=$week_of->add($interval)->format('D Y-m-d');
$wed=$week_of->add($interval)->format('D Y-m-d');
$thu=$week_of->add($interval)->format('D Y-m-d');
$fri=$week_of->add($interval)->format('D Y-m-d');
$sat=$week_of->add($interval)->format('D Y-m-d');
$sun=$week_of->add($interval)->format('D Y-m-d');
$sun_query=$sun->format('Y-m-d');