mirror of
https://github.com/php/php-src.git
synced 2024-10-17 22:42:38 +00:00
15 lines
206 B
Plaintext
15 lines
206 B
Plaintext
|
--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
|
||
|
|