list_011.phpt 191 B

12345678910
  1. --TEST--
  2. Disallow list() usage as if it were an array
  3. --FILE--
  4. <?php
  5. var_dump(list(1, 2, 3));
  6. ?>
  7. --EXPECTF--
  8. Parse error: syntax error, unexpected token ")", expecting "=" in %s on line %d