3v4l.org

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