3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $sent_date = strtotime('+3 days',"1381237450"); $now = time(); $datediff = $sent_date - $now; echo floor($datediff/(60*60*24));
Output for 4.3.0 - 7.1.0
2