mirror of
https://github.com/php/php-src.git
synced 2024-12-19 15:00:15 +08:00
13 lines
188 B
Plaintext
13 lines
188 B
Plaintext
|
--TEST--
|
||
|
079: nested namespaces
|
||
|
--FILE--
|
||
|
<?php
|
||
|
namespace foo {
|
||
|
namespace oops {
|
||
|
}
|
||
|
}
|
||
|
?>
|
||
|
===DONE===
|
||
|
--EXPECTF--
|
||
|
Fatal error: Namespace declarations cannot be nested in %s on line %d
|