Doc #61891 [Opn->Csd]: call user func array
| From: | krakjoe@php.net | Date: | Wed, 09 Oct 2013 06:18:50 +0000 |
| Subject: | Doc #61891 [Opn->Csd]: call user func array | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-10449@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=61891&edit=1
ID: 61891
Updated by: krakjoe@php.net
Reported by: zoe_grindcore at yahoo dot com
Summary: call user func array
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: Documentation problem
Operating System: twitter
PHP Version: 5.3.11
-Assigned To:
+Assigned To: krakjoe
Block user comment: N
Private report: N
New Comment:
This wording is no longer used in the documentation, so closing bug.
Previous Comments:
------------------------------------------------------------------------
[2012-05-01 16:32:54] zoe_grindcore at yahoo dot com
Description:
------------
---
From manual page: http://www.php.net/function.mysql-fetch-assoc#refsect1-function.mysql-fetch-assoc-seealso
---ujiscript
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">
Test script:
---------------
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">
Expected result:
----------------
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">
Actual result:
--------------
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 https://bugs.php.net/bug.php?id=61891&edit=1