3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo date_format('dmhi', time());
based on n9CYP
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.3.0rc3
Warning: date_format() expects parameter 1 to be DateTimeInterface, string given in /in/GZ6CC on line 3
Output for hhvm-3.15.4
Warning: date_format() expects parameter 1 to be object, string given in /in/GZ6CC on line 3