xref: /PHP-8.1/Zend/tests/ns_006.phpt (revision 7aacc705)
1--TEST--
2006: Run-time name conflict (ns name)
3--FILE--
4<?php
5namespace test\ns1;
6
7class Exception {
8}
9
10$x = "test\\ns1\\Exception";
11echo get_class(new $x),"\n";
12?>
13--EXPECT--
14test\ns1\Exception
15