diff options
Diffstat (limited to 'Zend/tests/ns_013.phpt')
| -rwxr-xr-x | Zend/tests/ns_013.phpt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Zend/tests/ns_013.phpt b/Zend/tests/ns_013.phpt new file mode 100755 index 0000000000..945b6bc4ec --- /dev/null +++ b/Zend/tests/ns_013.phpt @@ -0,0 +1,13 @@ +--TEST-- +013: Name conflict and functions (ns name) +--FILE-- +<?php +namespace test::ns1; + +function strlen($x) { + return __FUNCTION__; +} + +echo strlen("Hello"),"\n"; +--EXPECT-- +test::ns1::strlen |
