ns_077_7.phpt 219 B

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