From 318c767ee65a3c639cf208840e202aeed3fe8aa1 Mon Sep 17 00:00:00 2001 From: Stanislav Malyshev Date: Tue, 11 Dec 2007 20:33:48 +0000 Subject: [PATCH] small text fixes git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@248035 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/namespaces.xml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) 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.