3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo "test" . $_newline; $time = strtotime('11/28/1975'); $newformat = date('Y-m-d',$time); echo $newformat + "<br />";
based on FODld
Output for 7.1.0
Notice: Undefined variable: _newline in /in/q39lH on line 2 test Notice: A non well formed numeric value encountered in /in/q39lH on line 8 Warning: A non-numeric value encountered in /in/q39lH on line 8 1975
Output for 5.0.4 - 7.0.14
Notice: Undefined variable: _newline in /in/q39lH on line 2 test1975
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: _newline in /in/q39lH on line 2 test1975