3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $last_sunday = date("Y-m-d H:i:s",strtotime("Sunday previous week")) - (8 * 60 * 60 ); echo strtotime($last_sunday);
based on c6cnd
Output for 7.1.0 - 7.2.0
Notice: A non well formed numeric value encountered in /in/8I8CW on line 3
Output for 5.5.0 - 7.0.20