3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?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.4.25
Parse error: syntax error, unexpected '{' in /in/Fl97a on line 2
Process exited with code 255.