3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $dStart = new DateTime(); $dEnd = new DateTime('2017-07-12'); $dDiff = $dStart->diff($dEnd); var_dump($dDiff);