3v4l.org

run code in 300+ PHP versions simultaneously
<?php $first = new DateTime("2015/12/02 07:59:15"); $second = new DateTime(); var_dump($first > $second); $first = new DateTime("2017/12/02 07:59:15"); $second = new DateTime(); var_dump($first > $second);

preferences:
22.44 ms | 404 KiB | 5 Q