Fix doc bug #53283 (PHP.net Website Problem (confusing)).

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305233 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Adam Harvey 2010-11-10 03:17:07 +00:00
parent 1bbbd77ee0
commit bae6b5c7e0

View file

@ -119,11 +119,11 @@ B
</example>
<note>
<para>
Note that, in non-static contexts, the called class will be the same as
the class the object. Since <literal>$this-></literal> will try to call
private methods from the same scope, using <literal>static::</literal> may
give different results. Another difference is that
<literal>static::</literal> can only refer to static properties.
In non-static contexts, the called class will be the class of the object
instance. Since <literal>$this-></literal> will try to call private
methods from the same scope, using <literal>static::</literal> may give
different results. Another difference is that <literal>static::</literal>
can only refer to static properties.
</para>
</note>
<example>