summaryrefslogtreecommitdiff
path: root/Zend/tests/ns_013.phpt
blob: ef73b1395ff7eb7e8bc37443d0536426e5f00743 (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