mirror of
https://github.com/php/php-src.git
synced 2024-12-18 06:21:41 +08:00
7aacc705d0
Closes GH-5958
15 lines
209 B
PHP
15 lines
209 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
|