3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php // Today is October 26th, 2018 $next_monday = "2018-10-29"; if (date("Y-m-d", strtotime("next monday")) == $next_monday) echo "Pass!";
based on 01gAf
Output for 5.6.38 - 7.3.0rc3
Pass!