3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $d = '13-10-2014'; //var_dump(date_parse($d)); var_dump(date());
based on v6BXi
Output for 5.1.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Warning: date() expects at least 1 parameter, 0 given in /in/hbr1T on line 5 bool(false)
Output for 4.3.0 - 5.0.5
Warning: Wrong parameter count for date() in /in/hbr1T on line 5 NULL