blob: 6b2b297ef6f0f5b0757af886704bdc2e384e7a8f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
--TEST--
077: Unknown compile-time constants in namespace
--FILE--
<?php
namespace foo;
function foo($a = array(\unknown => unknown))
{
}
foo();
?>
--EXPECTF--
Fatal error: Uncaught Error: Undefined constant "unknown" in %s:%d
Stack trace:
#0 %s(%d): foo\foo()
#1 {main}
thrown in %sns_077_%d.php on line %d
|