3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(((strtotime('2014-10-27') - strtotime('2014-10-23')) / (24 * 60 * 60) + 1));
Output for 4.3.0 - 7.1.0
float(5.0416666666667)