3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $dt = new DateTime('now'); var_dump($dt->format('0000-00-00 00:00:00', '+00:00'));
based on vg10d
Output for 5.5.0 - 7.3.0rc2
Warning: DateTime::format() expects exactly 1 parameter, 2 given in /in/3HGeS on line 5 bool(false)