summaryrefslogtreecommitdiff
path: root/Zend/tests/ns_005.phpt
blob: c082afc48105eef6ced3a218f3b0db72af0d8a3a (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