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