SQLite3::bind(Param|Value) accepts ints as well as strings

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339509 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Christoph Michael Becker 2016-06-27 14:14:18 +00:00
parent 7b918120f8
commit cd2eae76e7
2 changed files with 4 additions and 4 deletions

View file

@ -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>

View file

@ -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>