list_006.phpt 217 B

123456789101112
  1. --TEST--
  2. Testing nested list() with empty array
  3. --FILE--
  4. <?php
  5. list($a, list($b, list(list($d)))) = array();
  6. ?>
  7. --EXPECTF--
  8. Notice: Undefined offset: 0 in %s on line %d
  9. Notice: Undefined offset: 1 in %s on line %d