xref: /PHP-8.0/Zend/tests/ns_079.phpt (revision ea45b713)
1--TEST--
2079: nested namespaces
3--FILE--
4<?php
5namespace foo {
6    namespace oops {
7    }
8}
9?>
10===DONE===
11--EXPECTF--
12Fatal error: Namespace declarations cannot be nested in %s on line %d
13