3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $date = date("Y-m-d",strtotime("-1 month - day"),time()); echo $date;
based on 5tq0l
Output for 5.1.0 - 7.2.0
Warning: date() expects at most 2 parameters, 3 given in /in/79uHc on line 2
Output for 4.3.0 - 5.0.5
Warning: Wrong parameter count for date() in /in/79uHc on line 2