summaryrefslogtreecommitdiff
path: root/Zend/tests/ns_004.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/ns_004.phpt')
-rwxr-xr-xZend/tests/ns_004.phpt9
1 files changed, 9 insertions, 0 deletions
diff --git a/Zend/tests/ns_004.phpt b/Zend/tests/ns_004.phpt
new file mode 100755
index 0000000000..2aa4a809d9
--- /dev/null
+++ b/Zend/tests/ns_004.phpt
@@ -0,0 +1,9 @@
+--TEST--
+004: Name conflict (php name)
+--FILE--
+<?php
+namespace test::ns1;
+
+echo get_class(new Exception()),"\n";
+--EXPECT--
+Exception