3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo $last_access=strtotime('-6'); if ($last_access >= strtotime("today")) echo "Today"; else if ($last_access >= strtotime("yesterday")) echo "Yesterday"; else echo 'not yesterday'; ?>
Output for 5.1.0 - 7.2.0
1387425777Today
Output for 4.3.0 - 5.0.5
-1not yesterday