svn: /phpdoc/en/trunk/reference/mysqli/mysqli_stmt/ bind-param.xml
| From: | Anthony Bedford | Date: | Mon, 16 Nov 2009 11:55:02 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/mysqli/mysqli_stmt/ bind-param.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-5394@lists.php.net to get a copy of this message | ||
abedford Mon, 16 Nov 2009 11:55:02 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=290808
Log:
Added note on taking care when using with call_user_func_array().
Changed paths:
U phpdoc/en/trunk/reference/mysqli/mysqli_stmt/bind-param.xml
Modified: phpdoc/en/trunk/reference/mysqli/mysqli_stmt/bind-param.xml
===================================================================
--- phpdoc/en/trunk/reference/mysqli/mysqli_stmt/bind-param.xml 2009-11-16 11:49:12 UTC (rev 290807)
+++ phpdoc/en/trunk/reference/mysqli/mysqli_stmt/bind-param.xml 2009-11-16 11:55:02 UTC (rev 290808)
@@ -36,6 +36,14 @@
<function>mysqli_stmt_send_long_data</function> to send the data in packets.
</para>
</note>
+ <note>
+ <para>
+ Care must be taken when using <function>mysqli_stmt_bind_param</function> in
conjunction
+ with <function>call_user_func_array</function>. Note that
<function>mysqli_stmt_bind_param</function>
+ requires parameters to be passed by reference, whereas
<function>call_user_func_array</function>
+ can accept as a parameter a list of variables that can represent references or values.
+ </para>
+ </note>
</refsect1>
<refsect1 role="parameters">