3v4l.org

run code in 300+ PHP versions simultaneously
<?php $time = time(); echo $time - $time % (24 * 60 * 60);
Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.33, 7.2.0 - 7.2.24, 7.3.0 - 7.3.12
1496534400

preferences:
94.84 ms | 402 KiB | 82 Q