svn: /phpdoc/en/trunk/language/oop5/ late-static-bindings.xml

From: Date: Wed, 10 Nov 2010 03:17:07 +0000
Subject: svn: /phpdoc/en/trunk/language/oop5/ late-static-bindings.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-7400@lists.php.net to get a copy of this message
aharvey Wed, 10 Nov 2010 03:17:07 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=305233 Log: Fix doc bug #53283 (PHP.net Website Problem (confusing)). Bug: http://bugs.php.net/53283 (Assigned) PHP.net Website Problem (confusing) Changed paths: U phpdoc/en/trunk/language/oop5/late-static-bindings.xml Modified: phpdoc/en/trunk/language/oop5/late-static-bindings.xml =================================================================== --- phpdoc/en/trunk/language/oop5/late-static-bindings.xml 2010-11-10 00:16:32 UTC (rev 305232) +++ phpdoc/en/trunk/language/oop5/late-static-bindings.xml 2010-11-10 03:17:07 UTC (rev 305233) @@ -119,11 +119,11 @@ </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>

« previous php.doc.cvs (#7400) next »