mirror of
https://github.com/php/php-src.git
synced 2024-12-25 01:40:50 +08:00
14 lines
244 B
PHP
14 lines
244 B
PHP
--TEST--
|
|
077: Unknown compile-time constants in namespace
|
|
--FILE--
|
|
<?php
|
|
namespace foo;
|
|
|
|
function foo($a = array(namespace\unknown => unknown))
|
|
{
|
|
}
|
|
|
|
foo();
|
|
--EXPECTF--
|
|
Fatal error: Undefined constant 'foo\unknown' in %sns_077_%d.php on line %d
|