Sec Bug->Doc #61891 [Opn]: call user func array
| From: | stas@php.net | Date: | Tue, 01 May 2012 18:59:09 +0000 |
| Subject: | Sec Bug->Doc #61891 [Opn]: call user func array | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-8319@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: stas@php.net
Reported by: zoe_grindcore at yahoo dot com
Summary: call user func array
Status: Open
-Type: Security
+Type: Documentation Problem
-Package: MySQL related
+Package: Documentation problem
Operating System: twitter
PHP Version: 5.3.11
Block user comment: N
Private report: Y
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