3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(new DateTime("last monday"));

preferences:
61.85 ms | 404 KiB | 5 Q