3v4l.org

run code in 300+ PHP versions simultaneously
<?php $timestamp = strtotime($indate); $current_time = strftime('%Y%m%d', time()); echo (strftime('%Y%m%d', $timestamp) - $current_time) === 0;

preferences:
34.39 ms | 402 KiB | 5 Q