3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $tsLast = strtotime( date('Y-m-01', strtotime('next month')).' last wednesday'); echo date(DATE_RFC850, $tsLast);
Output for 5.1.1 - 7.1.0
Wednesday, 26-Feb-14 00:00:00 CET
Output for 5.1.0
Notice: Use of undefined constant DATE_RFC850 - assumed 'DATE_RFC850' in /in/59WRr on line 5 WedAMCETE_RFebruaryC850
Output for 4.4.0 - 4.4.9, 5.0.5
Notice: Use of undefined constant DATE_RFC850 - assumed 'DATE_RFC850' in /in/59WRr on line 5 SatAMCETE_RMarchC850
Output for 4.3.0 - 4.3.11, 5.0.0 - 5.0.4
Notice: Use of undefined constant DATE_RFC850 - assumed 'DATE_RFC850' in /in/59WRr on line 5 TueAMCESTE_RAprilC850