mirror of
https://github.com/php/php-src.git
synced 2024-11-27 20:03:40 +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
|