3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo date("H:i:s Y-m-d", time()); echo "\n"; echo date("w", mktime(0, 0, 0, MM, dd, yyyy));//date("H:i:s Y-m-d", strtotime('this week', time()));

preferences:
35.32 ms | 402 KiB | 5 Q