ns_077_1.phpt 225 B

12345678910111213
  1. --TEST--
  2. 077: Unknown compile-time constants in namespace
  3. --FILE--
  4. <?php
  5. namespace foo;
  6. function foo($a = array(0 => \unknown))
  7. {
  8. }
  9. foo();
  10. --EXPECTF--
  11. Fatal error: Undefined constant 'unknown' in %sns_077_%d.php on line %d