3v4l.org

run code in 300+ PHP versions simultaneously
<?php $d = [ (new DateTimeImmutable())->format('c'), (new DateTimeImmutable())->modify('next day')->format('c'), (new DateTimeImmutable())->modify('tomorrow')->format('c'), (new DateTimeImmutable())->modify('next day')->modify('next day')->format('c'), (new DateTimeImmutable())->modify('tomorrow')->modify('tomorrow')->format('c'), ]; var_dump(...$d);

preferences:
44.17 ms | 402 KiB | 5 Q