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

function strlen($x) {
    return __FUNCTION__;
}

$x = "strlen";
echo $x("Hello"),"\n";
?>
--EXPECT--
5