3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $date = new DateTime('today - 14 days'); $now = time(); var_dump($date->getTimestamp() - $now);
based on sBXV1
Output for 5.5.0 - 7.1.7, 7.2.0 - 7.3.0beta1
int(-1243919)
Output for 7.1.20
int(-1243920)