summaryrefslogtreecommitdiff
path: root/Zend/tests/ns_013.phpt
blob: 945b6bc4ec7de8616ab5356d25862aae2a29eb2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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