3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo "now"|date_modify("-7 day")|date("Y/m/d"); ?>
Output for 7.1.0 - 7.2.0
Warning: date_modify() expects exactly 2 parameters, 1 given in /in/BChdH on line 3 Warning: A non-numeric value encountered in /in/BChdH on line 3 Notice: A non well formed numeric value encountered in /in/BChdH on line 3 2016
Output for 5.5.0 - 7.0.20
Warning: date_modify() expects exactly 2 parameters, 1 given in /in/BChdH on line 3 2016