3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo time(); echo "\n"; echo strtotime("this week"); echo "\n"; echo time()-strtotime("this week"); echo time()-(time()-strtotime("this week")); ?>
Output for 5.3.0 - 7.1.0
1374617758 1374444958 1728001374444958
Output for 4.3.5 - 4.4.9, 5.0.3 - 5.2.17
1374617758 1374617758 01374617758
Output for 5.0.0 - 5.0.2
1374617758 1374616800 9581374616800
Output for 4.3.0 - 4.3.4
1374617758 1375222558 -6048001375222558