3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo date(‘l’, strtotime(‘yesterday’));
Output for 7.2.0
Warning: Use of undefined constant ‘l’ - assumed '‘l’' (this will throw an Error in a future version of PHP) in /in/f4qVT on line 2 Warning: Use of undefined constant ‘yesterday’ - assumed '‘yesterday’' (this will throw an Error in a future version of PHP) in /in/f4qVT on line 2 ‘Thursday’
Output for 5.1.0 - 7.1.10
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’