3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $t1 = '05:00:00'; $t2 = '06:00:00'; echo $t1 - $t2;
Output for 7.1.0 - 7.2.0
Notice: A non well formed numeric value encountered in /in/kgRuN on line 7 Notice: A non well formed numeric value encountered in /in/kgRuN on line 7 -1
Output for 5.3.19 - 7.0.20
-1