3v4l.org

run code in 300+ PHP versions simultaneously
<?php $startDate = '09/14/2018'; $stopDate = '03/08/2019'; $startDate = strtotime($startDate); $stopDate= strtotime($stopDate); $nextDate =strtotime("today"); if ($nextDate >= $startDate && $nextDate <= $stopDate) { echo "Do your stuff here"; } ?>

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
362.27 ms | 2115 KiB | 9 Q