ID:               35652
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Closed
 Bug Type:         Documentation problem
 Operating System: Irrelevant
 PHP Version:      Irrelevant
 New Comment:

Patched applied. Thanks!


Previous Comments:
------------------------------------------------------------------------

[2005-12-12 23:00:07] [EMAIL PROTECTED]

ack, I forgot to tell: I don't have the sufficient karma for it. Could
somebody commit it ? 

Thanks in advance.

------------------------------------------------------------------------

[2005-12-12 22:53:22] [EMAIL PROTECTED]

fine with me. go ahead and commit ;)

------------------------------------------------------------------------

[2005-12-12 22:43:04] [EMAIL PROTECTED]

Sorry, the improvement I talked about (#30063) seems already made.

------------------------------------------------------------------------

[2005-12-12 22:37:31] [EMAIL PROTECTED]

Description:
------------
I would like to propose this patch to make the call_user_func() manual
page clearer. The actual version doesn't make a lot of sense, mixing
object, $objectname and static methods together.

Another improvement is already stated in #30063.

http://colder.ch/patches/call-user-func.patch 


Index: call-user-func.xml
===================================================================
RCS file:
/repository/phpdoc/en/reference/funchand/functions/call-user-func.xml,v
retrieving revision 1.13
diff -u -r1.13 call-user-func.xml
--- call-user-func.xml  20 Jan 2005 12:44:59 -0000      1.13
+++ call-user-func.xml  12 Dec 2005 21:25:17 -0000
@@ -38,8 +38,8 @@
      </informalexample>
     </para>
     <para>
-     Object methods may also be invoked statically using this
function
-     by passing <literal>array($objectname, $methodname)</literal> to
+     Class methods may also be invoked statically using this function
+     by passing <literal>array($classname, $methodname)</literal> to
      the <parameter>function</parameter> parameter.
      <informalexample>
       <programlisting role="php">



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=35652&edit=1

Reply via email to