- Output for 5.4.0 - 5.4.45, 5.5.24 - 5.5.30, 5.6.7 - 5.6.14
- Parse error: syntax error, unexpected '\' (T_NS_SEPARATOR), expecting ',' or ';' in /in/35WrJ on line 8
Process exited with code 255.
<?php
$date = new DateTime('now');
for ($i = 1; $i <= 10; $i++) {
$date->modify('+1 day');
echo $date->format('dmY') \n;
}
?>