3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $h = 72; $prog = new DateTime('2015-11-01 22:23'); $interval = $prog->diff(new DateTime()); $ih = $interval->d * 24 + $interval->h; var_dump($ih);
based on WZXCi
Output for 5.3.19 - 7.3.0
int(65)