3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = strtotime("2016-10-1 15:50:00"); $b = strtotime("2016-10-1 18:15:00"); echo date("H:i:s",$b-$a); $c = $a + date("H:i:s",$b-$a); echo date("H:i:s",$c); ?>
based on aTWDU
Output for 7.1.0 - 7.3.0alpha1
03:25:00 Notice: A non well formed numeric value encountered in /in/iOciS on line 6 15:50:03
Output for 5.5.0 - 7.0.20
03:25:0015:50:03