3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo strtotime('+ 48 hours', ''); echo strtotime('+ 48 hours', 0); echo time();
Output for 7.3.0
Warning: strtotime() expects parameter 2 to be int, string given in /in/B53uS on line 2 1728001428957346
Output for 7.0.0 - 7.0.4, 7.0.6 - 7.0.19, 7.0.21 - 7.0.33, 7.1.0 - 7.1.25, 7.2.0 - 7.2.6, 7.2.8 - 7.2.13
Warning: strtotime() expects parameter 2 to be integer, string given in /in/B53uS on line 2 1728001428957346
Output for 7.0.5, 7.0.20, 7.2.7
Warning: strtotime() expects parameter 2 to be integer, string given in /in/B53uS on line 2 1728001428957347
Output for 5.2.1 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.20, 5.4.22 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.38
Warning: strtotime() expects parameter 2 to be long, string given in /in/B53uS on line 2 1728001428957346
Output for 5.4.21
Warning: strtotime() expects parameter 2 to be long, string given in /in/B53uS on line 2 1728001428957347
Output for 5.1.3 - 5.1.6, 5.2.0
1728001428957346
Output for 5.1.0 - 5.1.2
1428957346
Output for 4.3.0 - 4.3.11, 4.4.0 - 4.4.9, 5.0.3 - 5.0.5
1728001728001428957346
Output for 5.0.0 - 5.0.2
1692001692001428957346

preferences:
225.08 ms | 401 KiB | 287 Q