3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php list($a,$a,$a,$a,$a) = array("Alice", "Mary", "George", "Dave"); var_dump($a); /* Alice*/
Output for 7.0.0 - 7.1.0
Notice: Undefined offset: 4 in /in/JN1pu on line 3 NULL
Output for 5.3.0 - 5.6.28
Notice: Undefined offset: 4 in /in/JN1pu on line 3 string(5) "Alice"
Output for 4.3.0 - 5.2.17
Notice: Undefined offset: 4 in /in/JN1pu on line 3 string(5) "Alice"