- Output for 5.5.24 - 5.5.30, 5.6.8 - 5.6.16, 7.0.0
- Parse error: syntax error, unexpected 'echo' (T_ECHO) in /in/KHa13 on line 7
Process exited with code 255.
<?php
$d = time();
echo "Midnight of $d\n";
$date = new DateTime();
$date->setTimestamp($d);
$date->setTime(0,0,0)
echo $date;