3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $now = new DateTime(); $may = new DateTime('2015-05-18'); $diff = $now->diff($may); var_dump($diff);