3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $current_time = strtotime('+ 2 days'); echo date('Y-m-d H:i:s', $future_time);
Output for 5.0.4 - 5.6.28, hhvm-3.10.0, 7.0.0 - 7.1.0
Notice: Undefined variable: future_time in /in/dtmuU on line 5 1970-01-01 01:00:00
Output for hhvm-3.12.0
Notice: Undefined variable: future_time in /in/dtmuU on line 5 Warning: date() expects parameter 2 to be integer, null given in /in/dtmuU on line 5
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: future_time in /in/dtmuU on line 5 1970-01-01 01:00:00