mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
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:
parent
1bbbd77ee0
commit
bae6b5c7e0
1 changed files with 5 additions and 5 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue