3v4l.org

run code in 300+ PHP versions simultaneously
<?php date('d',time(strtotime ("-2 day")));
Output for 7.3.0 - 7.3.12, 7.4.0
Warning: time() expects exactly 0 parameters, 1 given in /in/uuDlB on line 3
Output for 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.40, 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.25

preferences:
183.08 ms | 402 KiB | 239 Q