3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php setlocale (LC_TIME, 'fr_FR.utf8','fra'); $date = "31/10/2014"; $date = explode("/", $element['dateR']); $date = $date[1]."/".$date[0]."/".$date[2]; $date = strftime("%A %D %Y",strtotime($date)); echo $date;
Output for 5.3.0 - 5.6.28, 7.0.0 - 7.1.0
Notice: Undefined variable: element in /in/um0ha on line 4 Notice: Undefined offset: 1 in /in/um0ha on line 5 Notice: Undefined offset: 2 in /in/um0ha on line 5 Thursday 01/01/70 1970
Output for hhvm-3.12.0
Notice: Undefined variable: element in /in/um0ha on line 4 Notice: Undefined index: 1 in /in/um0ha on line 5 Notice: Undefined index: 2 in /in/um0ha on line 5 Thursday 01/01/70 1970
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.0.4 - 5.2.17
Notice: Undefined variable: element in /in/um0ha on line 4 Notice: Undefined offset: 1 in /in/um0ha on line 5 Notice: Undefined offset: 2 in /in/um0ha on line 5 Thursday 01/01/70 1970
Output for 4.3.6 - 5.0.3
Notice: Undefined variable: element in /in/um0ha on line 4 Notice: Undefined offset: 1 in /in/um0ha on line 5 Notice: Undefined offset: 2 in /in/um0ha on line 5 Thursday 01/01/70 1970
Output for 4.3.0 - 4.3.5
Notice: Undefined variable: element in /in/um0ha on line 4 Notice: Undefined offset: 1 in /in/um0ha on line 5 Notice: Undefined offset: 2 in /in/um0ha on line 5