php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #78449
Patch bind.xml_rev.347890.diff revision 2019-08-24 10:50 UTC by dominic dot mayers at meditationstudies dot org

Patch bind.xml_rev.347890.diff for Documentation problem Bug #78449

Patch version 2019-08-24 10:50 UTC

Return to Bug #78449 | Download this patch
Patch Revisions:

Developer: dominic.mayers@meditationstudies.org

Index: en/language/predefined/closure/bind.xml
===================================================================
--- en/language/predefined/closure/bind.xml	(revision 347890)
+++ en/language/predefined/closure/bind.xml	(working copy)
@@ -49,10 +49,12 @@
     <term><parameter>newscope</parameter></term>
     <listitem>
      <para>
-      The class scope to which associate the closure is to be associated, or
+      The class scope to which the closure is to be associated, or
       'static' to keep the current one. If an object is given, the type of the
-      object will be used instead. This determines the visibility of protected
-      and private methods of the bound object.
+      object will be used instead. This determines what is visible 
+      through any protected or private method that is used in the body of the closure, 
+      in particular, it determines what is visible through the protected
+      and private methods of the bound object, if any. 
       It is not allowed to pass (an object of) an internal class as this parameter.
      </para>
     </listitem>
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Oct 06 13:01:27 2024 UTC