diff --git a/language/namespaces.xml b/language/namespaces.xml index d650dbe13e..8f5a57ab29 100644 --- a/language/namespaces.xml +++ b/language/namespaces.xml @@ -1,5 +1,5 @@ - + Namespaces @@ -293,7 +293,7 @@ set_error_handler(__NAMESPACE__ . "::foo"); - It looks for a function from the current namespace : + It looks for a function from the current namespace: A::B::foo(). @@ -311,27 +311,26 @@ set_error_handler(__NAMESPACE__ . "::foo"); - Inside namespace (say A::B), calls to unqualified class names are + Inside namespace (say A::Bi), calls to unqualified class names are resolved at run-time. Here is how a call to new C() is resolved: - It looks for a class from the current namespace : - A::B::C(). + It looks for a class from the current namespace: + A::B::C. It tries to find and call the internal class - C(). + C. - It attemts to autoload A::B::C(). - C(). + It attemts to autoload A::B::C.