3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $appt_start = "2011-03-30 20:30:00"; echo date(strtotime($appt_start), "m-d-Y");
based on DufbQ
Output for 7.0.0 - 7.2.0
Warning: date() expects parameter 2 to be integer, string given in /in/e6LYF on line 5
Output for 5.5.0 - 5.6.28
Warning: date() expects parameter 2 to be long, string given in /in/e6LYF on line 5