3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Everything you enter here will be executed by our servers. Try it! echo time(); echo "\n"; echo strtotime('1 day ago'); echo "\n"; echo strtotime('1 day ago',time()); echo "\n"; echo time() - strtotime('1 day ago'); echo "\n"; echo 24*60*60; ?>

preferences:
31.02 ms | 402 KiB | 5 Q