3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php list(, $a) = explode('.', 'a.b.c'); var_dump($a); list(, $a) = explode('.', 'a.b'); var_dump($a); echo $c;
Output for 5.5.0 - 7.1.0
string(1) "b" string(1) "b" Notice: Undefined variable: c in /in/2hIL1 on line 9
Output for 4.3.0 - 5.4.45
string(1) "b" string(1) "b"