3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo date('2013-02-28', strtotime(date('Y-m-d').' + 1 month')); echo '<br>' echo date('Y-m-d', strtotime(date('Y-m-d').' + 2 month')); echo '<br>' echo date('Y-m-d', strtotime(date('Y-m-d').' + 3 month'));
Output for 5.4.0 - 5.4.21
Parse error: syntax error, unexpected 'echo' (T_ECHO), expecting ',' or ';' in /in/SoC62 on line 5
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected T_ECHO, expecting ',' or ';' in /in/SoC62 on line 5
Process exited with code 255.