3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $dateSubmitted = 'January 2, 2013'; if(time() > strtotime($dateSubmitted . '+2 days')) { echo 'expired'; } else { echo 'not expired'; } ?>
Output for 4.3.0 - 7.1.0
expired