3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $pqDate = new DateTime('2014-12-23'); $today = new DateTime(); echo intval($pqDate->diff($today)->format('%R%a'));
based on unnhg
Output for 5.6.0 - 7.3.0alpha1
685