For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > December 2005 > #35652 [Opn]: Improvements on the call_user_func() manual page









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author #35652 [Opn]: Improvements on the call_user_func() manual page
nlopess@php.net

2005-12-12, 7:01 pm

ID: 35652
Updated by: nlopess@php.net
Reported By: colder@php.net
Status: Open
Bug Type: Documentation problem
Operating System: Irrelevant
PHP Version: Irrelevant
New Comment:

fine with me. go ahead and commit ;)


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

[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
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com