3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php date_default_timezone_set('America/Detroit'); $from = 1442605564; $to = 1441234237; var_dump(intval( abs( $from - $to ) / 86400 ));
based on Zgvu9
Output for 5.3.19 - 7.2.0
int(15)