diff options
author | Marcus Boerger <helly@php.net> | 2008-11-04 15:58:55 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2008-11-04 15:58:55 +0000 |
commit | 7126de4912d9d4c7499deb1f9239980400aa7ec7 (patch) | |
tree | dc1bbf251d26825d2f65f599a6139044effdbc48 /Zend/tests/ns_022.phpt | |
parent | 6ca3ad3f41fd44b6f00adb9692d5503a33ecd290 (diff) | |
download | php-git-7126de4912d9d4c7499deb1f9239980400aa7ec7.tar.gz |
- Next step in namespaces, using / as namespace separator.
Diffstat (limited to 'Zend/tests/ns_022.phpt')
-rwxr-xr-x | Zend/tests/ns_022.phpt | 10 |
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 |