Skip to content

Commit 5cdf5a3

Browse files
committed
Document @param support
Cf. <php/php-src#3636>. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345971 c90b9560-bf6c-de11-be94-00142212c4b1
1 parent 13f25a5 commit 5cdf5a3

File tree

2 files changed

+50
-2
lines changed

2 files changed

+50
-2
lines changed

reference/sqlite3/sqlite3stmt/bindparam.xml

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131
Either a <type>string</type> (for named parameters) or an <type>int</type>
3232
(for positional parameters) identifying the statement variable to which the
3333
value should be bound.
34-
If a named parameter does not start with a colon, it is automatically preprended.
34+
If a named parameter does not start with a colon (<literal>:</literal>) or an
35+
at sign (<literal>@</literal>), a colon (<literal>:</literal>) is automatically preprended.
3536
Positional parameters start with <literal>1</literal>.
3637
</para>
3738
</listitem>
@@ -112,6 +113,29 @@
112113
</para>
113114
</refsect1>
114115

116+
<refsect1 role="changelog">
117+
&reftitle.changelog;
118+
<informaltable>
119+
<tgroup cols="2">
120+
<thead>
121+
<row>
122+
<entry>&Version;</entry>
123+
<entry>&Description;</entry>
124+
</row>
125+
</thead>
126+
<tbody>
127+
<row>
128+
<entry>7.4.0</entry>
129+
<entry>
130+
<parameter>sql_param</parameter> now also supports the <literal>@param</literal>
131+
notation.
132+
</entry>
133+
</row>
134+
</tbody>
135+
</tgroup>
136+
</informaltable>
137+
</refsect1>
138+
115139
<refsect1 role="notes"><!-- {{{ -->
116140
&reftitle.notes;
117141
<caution>

reference/sqlite3/sqlite3stmt/bindvalue.xml

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@
3535
Either a <type>string</type> (for named parameters) or an <type>int</type>
3636
(for positional parameters) identifying the statement variable to which the
3737
value should be bound.
38-
If a named parameter does not start with a colon, it is automatically preprended.
38+
If a named parameter does not start with a colon (<literal>:</literal>) or an
39+
at sign (<literal>@</literal>), a colon (<literal>:</literal>) is automatically preprended.
3940
Positional parameters start with <literal>1</literal>.
4041
</para>
4142
</listitem>
@@ -117,6 +118,29 @@
117118
</para>
118119
</refsect1>
119120

121+
<refsect1 role="changelog">
122+
&reftitle.changelog;
123+
<informaltable>
124+
<tgroup cols="2">
125+
<thead>
126+
<row>
127+
<entry>&Version;</entry>
128+
<entry>&Description;</entry>
129+
</row>
130+
</thead>
131+
<tbody>
132+
<row>
133+
<entry>7.4.0</entry>
134+
<entry>
135+
<parameter>sql_param</parameter> now also supports the <literal>@param</literal>
136+
notation.
137+
</entry>
138+
</row>
139+
</tbody>
140+
</tgroup>
141+
</informaltable>
142+
</refsect1>
143+
120144
<refsect1 role="examples">
121145
&reftitle.examples;
122146
<para>

0 commit comments

Comments
 (0)