3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php list($a, $b) = array('error' => 1, 'bla' => 2); var_dump($a, $b);
based on eIUcq
Output for 7.0.0 - 7.3.0rc3
Notice: Undefined offset: 0 in /in/VINut on line 3 Notice: Undefined offset: 1 in /in/VINut on line 3 NULL NULL
Output for hhvm-3.15.4
Notice: Undefined index: 0 in /in/VINut on line 3 Notice: Undefined index: 1 in /in/VINut on line 3 NULL NULL
Output for 5.6.0 - 5.6.30
Notice: Undefined offset: 1 in /in/VINut on line 3 Notice: Undefined offset: 0 in /in/VINut on line 3 NULL NULL