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