3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $start_date =strtotime('2013-02-13 12:02:00'); $end_date =strtotime('2013-02-20 12:02:00'); $total = ($end_datestart_date - $start_date); echo date("Y-m-d H:i:s",$total);
Output for 5.0.4 - 7.1.7
Notice: Undefined variable: end_datestart_date in /in/AFB9q on line 4 1926-11-18 13:17:32
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: end_datestart_date in /in/AFB9q on line 4 1926-11-18 13:17:32