summaryrefslogtreecommitdiff
path: root/Zend/tests/ns_003.phpt
blob: 4372722c250b885f825a9608c8fc9df799975ead (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--TEST--
003: Name conflict (ns name)
--FILE--
<?php
namespace test\ns1;

class Exception {
}

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