3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $month = 7; $day = 31; $year = 2014; $daytmp=mktime(0, 0, 0, $month, $day, $year); echo date("Y-m-d",$daytmp);
Output for 4.3.0 - 7.3.0rc4
2014-07-31