xref: /PHP-5.3/Zend/tests/ns_077_4.phpt (revision 610c7fbe)
1--TEST--
2077: Unknown compile-time constants in namespace
3--FILE--
4<?php
5namespace foo;
6
7function foo($a = array(0 => namespace\unknown))
8{
9}
10
11foo();
12--EXPECTF--
13Fatal error: Undefined constant 'foo\unknown' in %sns_077_%d.php on line %d
14