[prev in list] [next in list] [prev in thread] [next in thread]
List: php-doc-cvs
Subject: [DOC-CVS] =?utf-8?q?svn:_/phpdoc/en/trunk/reference/sqlite3/sqlite3stmt/_bindparam.xml_bindvalue.xml
From: Christoph_Michael_Becker <cmb () php ! net>
Date: 2016-06-27 14:14:18
Message-ID: svn-cmb-1467036858-339509-1261692704 () svn ! php ! net
[Download RAW message or body]
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>
--
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic