3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x1 = strtotime('00-00-00 00:00:00'); $x2 = strtotime('0000-00-00 00:00:00'); $x3 = 0; echo date (DATE_RFC2822, $x1)."\n"; echo date (DATE_RFC2822, $x2)."\n"; echo date (DATE_RFC2822, $x3)."\n";

preferences:
23.87 ms | 405 KiB | 5 Q