3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $start= "2013-01-31"; $current = date("Y-m-d", strtotime($start . "+1 month")); var_dump($current); ?>
Output for 4.3.0 - 7.1.0
string(10) "2013-03-03"