#35652 [Opn->Csd]: Improvements on the call_user_func() manual page
| From: | nlopess@php.net | Date: | Mon, 12 Dec 2005 23:04:23 +0000 |
| Subject: | #35652 [Opn->Csd]: Improvements on the call_user_func() manual page | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969371245@lists.php.net to get a copy of this message | ||
ID: 35652
Updated by: nlopess@php.net
Reported By: colder@php.net
-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] colder@php.net
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] nlopess@php.net
fine with me. go ahead and commit ;)
------------------------------------------------------------------------
[2005-12-12 22:43:04] colder@php.net
Sorry, the improvement I talked about (#30063) seems already made.
------------------------------------------------------------------------
[2005-12-12 22:37:31] colder@php.net
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