3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $extraDate = new Datetime(); $day = date('l', $extraDate); var_dump($day);
based on Yf0Xl
Output for 7.0.0 - 7.2.0
Warning: date() expects parameter 2 to be integer, object given in /in/WpAmB on line 4 bool(false)
Output for 5.5.0 - 5.6.28
Warning: date() expects parameter 2 to be long, object given in /in/WpAmB on line 4 bool(false)