summaryrefslogtreecommitdiff
path: root/Zend/tests/ns_028.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_028.phpt
parent6ca3ad3f41fd44b6f00adb9692d5503a33ecd290 (diff)
downloadphp-git-7126de4912d9d4c7499deb1f9239980400aa7ec7.tar.gz
- Next step in namespaces, using / as namespace separator.
Diffstat (limited to 'Zend/tests/ns_028.phpt')
-rwxr-xr-xZend/tests/ns_028.phpt16
1 files changed, 8 insertions, 8 deletions
diff --git a/Zend/tests/ns_028.phpt b/Zend/tests/ns_028.phpt
index 1b34a594b1..ec23dac818 100755
--- a/Zend/tests/ns_028.phpt
+++ b/Zend/tests/ns_028.phpt
@@ -14,13 +14,13 @@ class Foo {
}
$x = new Foo;
-Foo::Bar();
-$x = new Foo::Foo;
-Foo::Foo::Bar();
-::Foo::Bar();
+Foo\Bar();
+$x = new Foo\Foo;
+Foo\Foo::Bar();
+\Foo\Bar();
--EXPECT--
Method - Foo::__construct
-Func - Foo::Bar
-Method - Foo::Foo::__construct
-Method - Foo::Foo::Bar
-Func - Foo::Bar
+Func - Foo\Bar
+Method - Foo\Foo::__construct
+Method - Foo\Foo::Bar
+Func - Foo\Bar