- Output for 5.4.9 - 5.4.45, 5.5.24 - 5.5.30, 5.6.7 - 5.6.14
- Parse error: syntax error, unexpected ':', expecting ',' or ';' in /in/B6dI0 on line 5
Process exited with code 255.
<?php
echo "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n";
echo "<rss version=\"2.0\">\n";
echo "<channel>/n":
$date = new DateTime('now');
$date->modify('+10 day');
for ($i = 1; $i <= 10; $i++) {
$date->modify('-1 day');
echo $date->format('dmY'). "\n";
}
?>