summaryrefslogtreecommitdiff
path: root/Zend/tests/ns_005.phpt
blob: fc1d6570fdd0be49cb2cb8b824306c376b3903f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--TEST--
005: Name conflict (php name in case if ns name exists)
--FILE--
<?php
namespace test::ns1;

class Exception {
}

echo get_class(new ::Exception()),"\n";
--EXPECT--
Exception