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

14 lines
225 B
PHP
Executable File

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