diff options
Diffstat (limited to 'Zend/tests/ns_003.phpt')
| -rwxr-xr-x | Zend/tests/ns_003.phpt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Zend/tests/ns_003.phpt b/Zend/tests/ns_003.phpt new file mode 100755 index 0000000000..26c21a9ff0 --- /dev/null +++ b/Zend/tests/ns_003.phpt @@ -0,0 +1,12 @@ +--TEST-- +003: Name conflict (ns name) +--FILE-- +<?php +namespace test::ns1; + +class Exception { +} + +echo get_class(new Exception()),"\n"; +--EXPECT-- +test::ns1::Exception |
