3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $tomorrow = mktime(0,0,0,date("m"),date("d")+1,date("Y")); $yesterday = mktime(0,0,0,date("m"),date("d")-1,date("y")); echo "Tomorrow is ".date("Y/m/d", $tomorrow); echo "yesterday is ".date("D-m-y",$yesterday); ?>
Output for 4.3.0 - 7.1.0
Tomorrow is 2013/07/05yesterday is Wed-07-13