mirror of
https://github.com/php/php-src.git
synced 2024-12-15 12:54:57 +08:00
13 lines
188 B
PHP
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
|