3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $date = str_replace("/", "", $scheduleDate); // $edrsession->scheduleDate = substr($date, 4, 4).substr($date, 0, 2).substr($date, 2, 2); $edrsession->scheduleDate = substr($date, 4, 4).substr($date, 0, 2).substr($date, 2, 2);
Output for 5.4.0 - 7.1.0
Notice: Undefined variable: scheduleDate in /in/j2aD6 on line 2 Warning: Creating default object from empty value in /in/j2aD6 on line 4
Output for 5.0.4 - 5.3.29
Notice: Undefined variable: scheduleDate in /in/j2aD6 on line 2 Strict Standards: Creating default object from empty value in /in/j2aD6 on line 4
Output for 5.0.0 - 5.0.3
Notice: Undefined variable: scheduleDate in /in/j2aD6 on line 2 Strict Standards: Creating default object from empty value in /in/j2aD6 on line 4
Output for 4.3.0 - 4.4.9
Notice: Undefined variable: scheduleDate in /in/j2aD6 on line 2