Lines Matching refs:first
26 The namespace declaration statement must be the very first statement in
96 inside namespace (A\B) first tries to find and call function from current
102 first tries to use (and autoload) class from current namespace and in case
107 A\B\foo() first tries to call function foo() from namespace A\B, then
117 foo(); // first tries to call "foo" defined in namespace "A"
124 new B(); // first tries to create object of class "B" defined in namespace "A"
131 new A(); // first tries to create object of class "A" from namespace "A" (A\A)
137 B\foo(); // first tries to call function "foo" from namespace "A\B"
139 \B\foo(); // first tries to call function "foo" from namespace "B"
146 A\foo(); // first tries to call function "foo" from namespace "A\A"
150 \A\foo(); // first tries to call function "foo" from namespace "A"
160 - calls to internal functions in namespaces are slower, because PHP first
162 - calls to static methods are slower, because PHP first tries to look