3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $test = date('l'); strtotime('monday this week'); if($test = "Sunday"){ } echo strtotime('Tuesday last week'); echo strtotime('Sunday last week');
based on HR5Q9
Output for 7.0.20, 7.1.5 - 7.3.0rc4
14489244001449356400
Output for 5.6.23 - 5.6.28, 7.0.8, 7.1.0
14488380001449356400
Output for 5.5.0 - 5.6.22, 7.0.0 - 7.0.7
14495292001449961200