3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $data = explode("/", $vl); $d = $data[0]; $m = $data[1]; $y = $data[2]; var_dump($data);
based on 3WDK0
Output for 5.3.0 - 5.6.28, 7.0.0 - 7.1.0
Notice: Undefined variable: vl in /in/ZN0MR on line 2 Notice: Undefined offset: 1 in /in/ZN0MR on line 4 Notice: Undefined offset: 2 in /in/ZN0MR on line 5 array(1) { [0]=> string(0) "" }
Output for hhvm-3.12.0
Notice: Undefined variable: vl in /in/ZN0MR on line 2 Notice: Undefined index: 1 in /in/ZN0MR on line 4 Notice: Undefined index: 2 in /in/ZN0MR on line 5 array(1) { [0]=> string(0) "" }
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.0.4 - 5.2.17
Notice: Undefined variable: vl in /in/ZN0MR on line 2 Notice: Undefined offset: 1 in /in/ZN0MR on line 4 Notice: Undefined offset: 2 in /in/ZN0MR on line 5 array(1) { [0]=> string(0) "" }
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: vl in /in/ZN0MR on line 2 Notice: Undefined offset: 1 in /in/ZN0MR on line 4 Notice: Undefined offset: 2 in /in/ZN0MR on line 5 array(1) { [0]=> string(0) "" }