3v4l.org

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