3v4l.org

run code in 300+ PHP versions simultaneously
<?php $X= new DateTime(); echo((int)$X->format('U') . ' = ' . (int)time());

preferences:
32.26 ms | 402 KiB | 5 Q