3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo strtotime(date('Y-m-d h:i:s', strtotime('-1 hours'))); echo " ||| "; echo strtotime(date('Y-m-d h:i:s', strtotime('-30 minutes')));
based on ardKU
Output for 5.6.28, 7.0.20 - 7.2.0
1447932906 ||| 1447891506
Output for 5.5.0 - 5.6.23, 7.0.0 - 7.0.8
1447932905 ||| 1447891505