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_016.phpt | |
parent | 6ca3ad3f41fd44b6f00adb9692d5503a33ecd290 (diff) | |
download | php-git-7126de4912d9d4c7499deb1f9239980400aa7ec7.tar.gz |
- Next step in namespaces, using / as namespace separator.
Diffstat (limited to 'Zend/tests/ns_016.phpt')
-rwxr-xr-x | Zend/tests/ns_016.phpt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Zend/tests/ns_016.phpt b/Zend/tests/ns_016.phpt index e278625e61..bee8b5bee3 100755 --- a/Zend/tests/ns_016.phpt +++ b/Zend/tests/ns_016.phpt @@ -2,13 +2,13 @@ 016: Run-time name conflict and functions (ns name) --FILE-- <?php -namespace test::ns1; +namespace test\ns1; function strlen($x) { return __FUNCTION__; } -$x = "test::ns1::strlen"; +$x = "test\\ns1\\strlen"; echo $x("Hello"),"\n"; --EXPECT-- -test::ns1::strlen +test\ns1\strlen |