3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo date("m-d-Y", strtotime());
Output for 5.2.1 - 7.1.0
Warning: strtotime() expects at least 1 parameter, 0 given in /in/Fjl9v on line 2 01-01-1970
Output for 5.1.0 - 5.2.0
01-01-1970
Output for 4.3.0 - 5.0.5
Warning: Wrong parameter count for strtotime() in /in/Fjl9v on line 2 01-01-1970