3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $date = date(Y-m-d); $date1 = str_replace('-', '/', $date); $tomorrow = date(Y-m-d',strtotime($date1 . "+1 days")); echo $tomorrow;;
based on 45VMv
Output for 7.0.0 - 7.0.1
Parse error: syntax error, unexpected '',strtotime($date1 . "+1 days"' (T_ENCAPSED_AND_WHITESPACE), expecting ',' or ')' in /in/tDgjC on line 4
Process exited with code 255.
Output for 5.4.11 - 5.6.16
Parse error: syntax error, unexpected '',strtotime($date1 . "+1 days"' (T_ENCAPSED_AND_WHITESPACE) in /in/tDgjC on line 4
Process exited with code 255.
Output for 5.3.21 - 5.3.29
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /in/tDgjC on line 4
Process exited with code 255.