3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $c = new DateTime("last day next month"); echo $c->format('Y/m/d');
based on LIMPM
Output for 5.5.0 - 7.2.0
2016/01/07