mirror of
https://github.com/php/php-src.git
synced 2024-12-13 20:05:26 +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
|