summaryrefslogtreecommitdiff
path: root/Zend/tests/ns_016.phpt
blob: 87682d485a845e82521f9c04d4dd168b38128fd9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--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