3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $date = new DateTime('today'); $date->modify('next tuesday'); echo $date->format('l d F Y');
based on OoZBZ
Output for 5.5.0 - 7.3.1
Tuesday 12 January 2016