3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $time_begin = strtotime("2013-07-03"); $time_end = strtotime("2014-03-12"); $time_differ = $time_end - $time_begin; $month_differ = date('m', $time_differ); echo $month_differ;
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
09