3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $time1 = strtotime('2015-05-30'); $time2 = strtotime('2015-05-01'); echo floor(($time1 - $time2)/86400);
based on K7p3A
Output for 4.3.0 - 7.2.0
29