summaryrefslogtreecommitdiff
path: root/Zend/tests/ns_030.phpt
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2008-11-04 15:58:55 +0000
committerMarcus Boerger <helly@php.net>2008-11-04 15:58:55 +0000
commit7126de4912d9d4c7499deb1f9239980400aa7ec7 (patch)
treedc1bbf251d26825d2f65f599a6139044effdbc48 /Zend/tests/ns_030.phpt
parent6ca3ad3f41fd44b6f00adb9692d5503a33ecd290 (diff)
downloadphp-git-7126de4912d9d4c7499deb1f9239980400aa7ec7.tar.gz
- Next step in namespaces, using / as namespace separator.
Diffstat (limited to 'Zend/tests/ns_030.phpt')
-rwxr-xr-xZend/tests/ns_030.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/tests/ns_030.phpt b/Zend/tests/ns_030.phpt
index 8aa3223f7e..69724159ee 100755
--- a/Zend/tests/ns_030.phpt
+++ b/Zend/tests/ns_030.phpt
@@ -5,8 +5,8 @@
class Foo {
}
-use A::B as Foo;
+use A\B as Foo;
new Foo();
--EXPECTF--
-Fatal error: Cannot use A::B as Foo because the name is already in use in %sns_030.php on line 5
+Fatal error: Cannot use A\B as Foo because the name is already in use in %sns_030.php on line 5