3v4l.org

run code in 300+ PHP versions simultaneously
<?php $result = '2020-03-30' >= date("Y-m-d",strtotime("-1 week")) ? 'Yes' : 'No'; echo $result;

preferences:
44.39 ms | 409 KiB | 6 Q