3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $date = strtotime("+".$days." days", strtotime($date)); echo date("Y-m-d", $date);
Output for 5.1.0 - 7.1.0
Notice: Undefined variable: days in /in/Zf3MQ on line 4 Notice: Undefined variable: date in /in/Zf3MQ on line 4 1970-01-01
Output for 5.0.4 - 5.0.5
Notice: Undefined variable: days in /in/Zf3MQ on line 4 Notice: Undefined variable: date in /in/Zf3MQ on line 4 Warning: strtotime(): Called with an empty time parameter. in /in/Zf3MQ on line 4 1970-01-02
Output for 5.0.1 - 5.0.3
Notice: Undefined variable: days in /in/Zf3MQ on line 4 Notice: Undefined variable: date in /in/Zf3MQ on line 4 Warning: strtotime(): Called with an empty time parameter. in /in/Zf3MQ on line 4 1970-01-02
Output for 4.3.2 - 5.0.0
Notice: Undefined variable: days in /in/Zf3MQ on line 4 Notice: Undefined variable: date in /in/Zf3MQ on line 4 Notice: strtotime(): Called with empty time parameter in /in/Zf3MQ on line 4 2014-07-15
Output for 4.3.0 - 4.3.1
Notice: Undefined variable: days in /in/Zf3MQ on line 4 Notice: Undefined variable: date in /in/Zf3MQ on line 4 Notice: strtotime() [http://www.php.net/function.strtotime]: Called with empty time parameter in /in/Zf3MQ on line 4 2014-07-15