php-src/Zend/tests/ns_077_8.phpt
Stanislav Malyshev caa133b3d3 some new tests
2008-11-11 19:44:16 +00:00

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