3v4l.org

run code in 300+ PHP versions simultaneously
<?php date_default_timezone_set('Europe/Budapest'); echo date('m/d/Y', strtotime('last monday', time()));
Output for 5.5.0 - 5.5.38, 5.6.0 - 5.6.28, 7.0.0 - 7.0.20, 7.1.0 - 7.1.10, 7.2.0
11/23/2015

preferences:
88.47 ms | 402 KiB | 88 Q