3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = new DateTime('now +1 day'); //echo $date->format('Y-m-d H:i:s'); echo $date->format('H:i on the jS m Y ')
Output for 5.4.0 - 5.4.25
Parse error: syntax error, unexpected end of file, expecting ',' or ';' in /in/t1Wv3 on line 4
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected $end, expecting ',' or ';' in /in/t1Wv3 on line 4
Process exited with code 255.

preferences:
183.05 ms | 1394 KiB | 62 Q