3v4l.org

run code in 300+ PHP versions simultaneously
<?php $today = time(); $event = mktime(21,0,0,31,10,2019); $countdown = round(($event - $today)/86400); echo "$countdown days until the competition!";
Output for 7.1.25 - 7.1.32, 7.2.0 - 7.2.23, 7.3.0 - 7.3.10
620 days until the competition!

preferences:
74.17 ms | 402 KiB | 48 Q