<?php
if ( ! defined('PHP_EOL') {
deinfe('PHP_EOL', "\n");
}
$now = time();
$plusThreeHours = gmdate('M-j-Y-H-i', strtotime('+3 hours', $now));
echo 'Now: ', gmdate('M-j-Y-H-i', $now), PHP_EOL;
echo 'Plus 3 Hours: ', $plusThreeHours, PHP_EOL;
- Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.25
- Parse error: syntax error, unexpected '{' in /in/Fl97a on line 2
Process exited with code 255.
preferences:
193.17 ms | 1395 KiB | 62 Q