ns_094.phpt 282 B

1234567891011121314
  1. --TEST--
  2. Type group use declarations should not allow override on inner itens
  3. --FILE--
  4. <?php
  5. // should throw syntax errors
  6. use const Foo\Bar\{
  7. A,
  8. const B,
  9. function C
  10. };
  11. --EXPECTF--
  12. Parse error: syntax error, unexpected 'const' (T_CONST), expecting '}' in %s on line 7