php-src/Zend/tests/ns_015.phpt
2012-10-10 10:27:49 +08:00

15 lines
204 B
PHP

--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