php-src/Zend/tests/ns_079.phpt
2008-12-04 20:12:30 +00:00

13 lines
188 B
PHP

--TEST--
079: nested namespaces
--FILE--
<?php
namespace foo {
namespace oops {
}
}
?>
===DONE===
--EXPECTF--
Fatal error: Namespace declarations cannot be nested in %s on line %d