3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo date(‘l’, strtotime(‘yesterday’));
Output for 5.1.0 - 7.1.0
Notice: Use of undefined constant ‘l’ - assumed '‘l’' in /in/f4qVT on line 2 Notice: Use of undefined constant ‘yesterday’ - assumed '‘yesterday’' in /in/f4qVT on line 2 ‘Thursday’
Output for 4.3.0 - 5.0.5
Notice: Use of undefined constant ‘l’ - assumed '‘l’' in /in/f4qVT on line 2 Notice: Use of undefined constant ‘yesterday’ - assumed '‘yesterday’' in /in/f4qVT on line 2 ‘Tuesday’