3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php if( DateTime::COOKIE === 'd-M-y H:i:s T' ) $cookieString = 'Thursday, 25-Dec-75 14:15:16 EST'; else $cookieString = 'Thursday, 25-Dec-1975 14:15:16 EST'; var_dump(DateTime::COOKIE === 'd-M-y H:i:s T')
Output for 5.4.0 - 5.4.28
Parse error: syntax error, unexpected end of file in /in/gXg7s on line 9
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected $end in /in/gXg7s on line 9
Process exited with code 255.