3v4l.org

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