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

14 lines
231 B
PHP
Executable File

--TEST--
077: Unknown compile-time constants in namespace
--FILE--
<?php
namespace foo;
function foo($a = array(\unknown => unknown))
{
}
foo();
--EXPECTF--
Fatal error: Undefined constant 'unknown' in %sns_077_%d.php on line %d