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