summaryrefslogtreecommitdiff
path: root/Zend/tests/ns_022.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_022.phpt
parent6ca3ad3f41fd44b6f00adb9692d5503a33ecd290 (diff)
downloadphp-git-7126de4912d9d4c7499deb1f9239980400aa7ec7.tar.gz
- Next step in namespaces, using / as namespace separator.
Diffstat (limited to 'Zend/tests/ns_022.phpt')
-rwxr-xr-xZend/tests/ns_022.phpt10
1 files changed, 5 insertions, 5 deletions
diff --git a/Zend/tests/ns_022.phpt b/Zend/tests/ns_022.phpt
index 6944ca403f..7aebe1d5a2 100755
--- a/Zend/tests/ns_022.phpt
+++ b/Zend/tests/ns_022.phpt
@@ -2,9 +2,9 @@
022: Name search priority (first look into import, then into current namespace and then for class)
--FILE--
<?php
-namespace a::b::c;
+namespace a\b\c;
-use a::b::c as test;
+use a\b\c as test;
require "ns_022.inc";
@@ -12,8 +12,8 @@ function foo() {
echo __FUNCTION__,"\n";
}
-test::foo();
-::test::foo();
+test\foo();
+\test::foo();
--EXPECT--
-a::b::c::foo
+a\b\c\foo
Test::foo