3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $d1 = strtotime("00:08:27"); $d2 = strtotime("00:01:32"); echo date('d.m.Y H:i:s',$d1 + $d2); //$date1 = new DateTime('00:08:27'); //$date2 = new DateTime('00:01:32'); //$diff = $date2->diff($date1); //print_r( $diff )
based on eZlmJ
Output for 5.6.0 - 5.6.30, hhvm-3.18.5 - 3.22.0, 7.0.0 - 7.3.0rc3
23.03.2066 23:09:59