3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $day = date("d"); $datetime = new DateTime('tomorrow'); $day_tomorrow = date("d", $datetime); echo $day; echo $day_tomorrow;
based on ZMoC3
Output for 7.0.0 - 7.2.0
Warning: date() expects parameter 2 to be integer, object given in /in/PVmon on line 5 09
Output for 5.5.0 - 5.6.28
Warning: date() expects parameter 2 to be long, object given in /in/PVmon on line 5 09