This context confusion is known in IT as name collision.
这种上下文混淆在IT中称为名称冲突。
PHP solves the name collision problem with its new namespaces feature.
PHP使用新的名称空间特性解决名称冲突问题。
To avoid name collision, the custom control names starts with "c" (CLabel vs. Label).
为了避免命名冲突,定制控件的名称都是以“C”开始的(例如,比较CLabel与Label)。
Many languages have a strategy to circumvent name collision and, with V5.3, so does PHP.
许多语言都有防止名称冲突的战略,PHPV5.3也是这样。
But for the rest of us, namespaces provides a clean way to organize class structures and, of course, prevent name collision.
但是对于其他情况,名称空间提供了组织类结构和防止名称冲突的简便方法。
If two traits have a member of the same name and the traits are used in the same instance, a name collision will occur even if both members are private.
如果两个trait有同样名字的成员,并且这个trait被同一个实例使用,那么即使两个成员都是private的也会产生命名冲突。
A namespace collision occurs when two or more elements from two or more XML formats have the same name.
当来自两个或多个xml格式的两个或多个元素的名称相同时,名称空间冲突就会出现。
Note that there is no name space collision between the type and method that both have the name Value.
注意类型和方法名字都为Value并没有名称空间的冲突。
The number of locally originated file updates that encountered a name space collision on this replica set member.
遇到在这个复制集成员上的名称空间冲突本地起源的文件更新的次数。
The number of locally originated file updates that encountered a name space collision on this replica set member.
遇到在这个复制集成员上的名称空间冲突本地起源的文件更新的次数。
应用推荐