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');
based on HXYiV
Output for 7.0.20, 7.1.5 - 7.2.6
1448924400
Output for 5.6.23, 7.0.8, 7.1.0
1448838000
Output for 5.5.0 - 5.6.22, 7.0.0 - 7.0.7
1449529200