- Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.7
- Parse error: syntax error, unexpected end of file, expecting ',' or ';' in /in/aXGUa on line 7
Process exited with code 255.
<?php
$date = new \DateTime();
$date->setTime(23, 59);
$date->modify('+1 minute');
echo $date->format('d-m-Y H:i:s')