summaryrefslogtreecommitdiff
path: root/Zend/tests/ns_015.phpt
blob: 405d3e45185cbf5c7fa082ecaa11201115ed9739 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--TEST--
015: Name conflict and functions (php name in case if ns name exists)
--FILE--
<?php
namespace test\ns1;

function strlen($x) {
	return __FUNCTION__;
}

echo \strlen("Hello"),"\n";
--EXPECT--
5