3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $date = new DateTime('last day of 2016-02'); echo $date->format('Ymd');
based on 6u7D4
Output for 5.6.0 - 5.6.30, hhvm-3.12.14 - 3.17.3, 7.0.0 - 7.3.1
20160229