3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $time1 = strtotime('23:56'); // 2012-12-06 23:56 $time2 = strtotime('00:21'); // 2012-12-06 00:21 echo ($time1 - $time2)/60; ?>
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.1 - 7.1.0
1415
Output for 7.0.0
1355