xref: /PHP-7.2/Zend/tests/ns_006.phpt (revision 610c7fbe)
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--EXPECT--
13test\ns1\Exception
14