#35652 [NEW]: Improvements on the call_user_func() manual page
| From: | colder@php.net | Date: | Mon, 12 Dec 2005 21:37:34 +0000 |
| Subject: | #35652 [NEW]: Improvements on the call_user_func() manual page | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969371236@lists.php.net to get a copy of this message | ||
From: colder@php.net
Operating system: Irrelevant
PHP version: Irrelevant
PHP Bug Type: Documentation problem
Bug description: Improvements on the call_user_func() manual page
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 bug report at http://bugs.php.net/?id=35652&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=35652&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=35652&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=35652&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=35652&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=35652&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=35652&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=35652&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=35652&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=35652&r=support
Expected behavior: http://bugs.php.net/fix.php?id=35652&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=35652&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=35652&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=35652&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35652&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=35652&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=35652&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=35652&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=35652&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=35652&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=35652&r=mysqlcfg