3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $date = DateTime::createFromFormat('Y-m-d h:i:s', '2013-04-29 00:00:00'); var_dump($date->modify('+1 month')->format('Y-m-d');
Output for 5.3.0 - 5.4.14
Parse error: syntax error, unexpected ';' in /in/PdWaW on line 5
Process exited with code 255.