summaryrefslogtreecommitdiff
path: root/Zend/tests/ns_016.phpt
blob: bee8b5bee339754f4b5bea7edeee51eef7abb7d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--TEST--
016: Run-time name conflict and functions (ns name)
--FILE--
<?php
namespace test\ns1;

function strlen($x) {
	return __FUNCTION__;
}

$x = "test\\ns1\\strlen";
echo $x("Hello"),"\n";
--EXPECT--
test\ns1\strlen