3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $d1 = '05:00:00'; $d2 = '01:05:00'; $d = $d1 - $d2; echo $d;
based on aKhWM
Output for 7.1.0 - 7.2.0
Notice: A non well formed numeric value encountered in /in/5rkKE on line 6 Notice: A non well formed numeric value encountered in /in/5rkKE on line 6 4
Output for 5.3.19 - 7.0.20
4