3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Today is October 26th, 2018 $next_monday = "2018-10-29"; if (date("Y-m-d", strtotime("next monday")) == $next_monday) echo "Pass!";

preferences:
38.27 ms | 402 KiB | 5 Q