3v4l.org

run code in 300+ PHP versions simultaneously
<?php $case = '2day'; echo time().'-'.strtotime("+".$case);
Output for 5.6.0 - 5.6.26, 7.0.0 - 7.0.20, 7.1.0 - 7.1.25, 7.2.0 - 7.2.13, 7.3.0 - 7.3.1
1474395082-1474567882

preferences:
70.25 ms | 402 KiB | 67 Q