svn: /phpdoc/en/trunk/reference/sqlite3/sqlite3stmt/ bindparam.xml bindvalue.xml
| From: | Christoph Michael Becker | Date: | Mon, 27 Jun 2016 14:14:18 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/sqlite3/sqlite3stmt/ bindparam.xml bindvalue.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-14260@lists.php.net to get a copy of this message | ||
cmb Mon, 27 Jun 2016 14:14:18 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=339509
Log:
SQLite3::bind(Param|Value) accepts ints as well as strings
Changed paths:
U phpdoc/en/trunk/reference/sqlite3/sqlite3stmt/bindparam.xml
U phpdoc/en/trunk/reference/sqlite3/sqlite3stmt/bindvalue.xml
Modified: phpdoc/en/trunk/reference/sqlite3/sqlite3stmt/bindparam.xml
===================================================================
--- phpdoc/en/trunk/reference/sqlite3/sqlite3stmt/bindparam.xml 2016-06-27 14:12:35 UTC (rev 339508)
+++ phpdoc/en/trunk/reference/sqlite3/sqlite3stmt/bindparam.xml 2016-06-27 14:14:18 UTC (rev 339509)
@@ -11,7 +11,7 @@
&reftitle.description;
<methodsynopsis>
<modifier>public</modifier>
<type>bool</type><methodname>SQLite3Stmt::bindParam</methodname>
-
<methodparam><type>string</type><parameter>sql_param</parameter></methodparam>
+
<methodparam><type>mixed</type><parameter>sql_param</parameter></methodparam>
<methodparam><type>mixed</type><parameter
role="reference">param</parameter></methodparam>
<methodparam
choice="opt"><type>int</type><parameter>type</parameter></methodparam>
</methodsynopsis>
@@ -28,7 +28,7 @@
<term><parameter>sql_param</parameter></term>
<listitem>
<para>
- An <type>string</type> identifying the statement variable to which the
+ Either a <type>string</type> or an <type>int</type> identifying the
statement variable to which the
parameter should be bound.
</para>
</listitem>
Modified: phpdoc/en/trunk/reference/sqlite3/sqlite3stmt/bindvalue.xml
===================================================================
--- phpdoc/en/trunk/reference/sqlite3/sqlite3stmt/bindvalue.xml 2016-06-27 14:12:35 UTC (rev 339508)
+++ phpdoc/en/trunk/reference/sqlite3/sqlite3stmt/bindvalue.xml 2016-06-27 14:14:18 UTC (rev 339509)
@@ -11,7 +11,7 @@
&reftitle.description;
<methodsynopsis>
<modifier>public</modifier>
<type>bool</type><methodname>SQLite3Stmt::bindValue</methodname>
-
<methodparam><type>string</type><parameter>sql_param</parameter></methodparam>
+
<methodparam><type>mixed</type><parameter>sql_param</parameter></methodparam>
<methodparam><type>mixed</type><parameter>value</parameter></methodparam>
<methodparam
choice="opt"><type>int</type><parameter>type</parameter></methodparam>
</methodsynopsis>
@@ -28,7 +28,7 @@
<term><parameter>sql_param</parameter></term>
<listitem>
<para>
- An <type>string</type> identifying the statement variable to which the
+ Either a <type>string</type> or an <type>int</type> identifying the
statement variable to which the
value should be bound.
</para>
</listitem>