3v4l.org

run code in 300+ PHP versions simultaneously
<?php $target_date = "2016-01-12"; if ( strtotime($target_date) <= time() ) { echo 'yep'; } else { echo 'nope'; }

preferences:
29.4 ms | 402 KiB | 5 Q