3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $date = str_replace("/", "", $scheduleDate); // $edrsession->scheduleDate = substr($date, 4, 4).substr($date, 0, 2).substr($date, 2, 2); echo substr($date, 4, 4).substr($date, 0, 2).substr($date, 2, 2);
based on j2aD6
Output for 5.0.4 - 7.1.10
Notice: Undefined variable: scheduleDate in /in/E6NkG on line 2
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: scheduleDate in /in/E6NkG on line 2