svn: /phpdoc/en/trunk/reference/mongo/mongobindata/ construct.xml
| From: | Derick Rethans | Date: | Mon, 10 Mar 2014 13:40:50 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/mongo/mongobindata/ construct.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-12186@lists.php.net to get a copy of this message | ||
derick Mon, 10 Mar 2014 13:40:50 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=332944
Log:
Document the new default and add a changelog entry for the old default.
Changed paths:
U phpdoc/en/trunk/reference/mongo/mongobindata/construct.xml
Modified: phpdoc/en/trunk/reference/mongo/mongobindata/construct.xml
===================================================================
--- phpdoc/en/trunk/reference/mongo/mongobindata/construct.xml 2014-03-10 12:09:41 UTC (rev 332943)
+++ phpdoc/en/trunk/reference/mongo/mongobindata/construct.xml 2014-03-10 13:40:50 UTC (rev 332944)
@@ -12,7 +12,7 @@
<methodsynopsis>
<modifier>public</modifier>
<methodname>MongoBinData::__construct</methodname>
<methodparam><type>string</type><parameter>data</parameter></methodparam>
- <methodparam
choice="opt"><type>int</type><parameter>type</parameter><initializer>2</initializer></methodparam>
+ <methodparam
choice="opt"><type>int</type><parameter>type</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>
Creates a new binary data object.
@@ -76,6 +76,16 @@
</thead>
<tbody>
<row>
+ <entry>1.5.0</entry>
+ <entry>
+ The default changed from <literal>2</literal>
+ (<constant>MongoBinData::BYTE_ARRAY</constant>) to
+ <literal>0</literal> (<constant>MongoBinData::GENERIC</constant>).
+ </entry>
+ </row>
+ </tbody>
+ <tbody>
+ <row>
<entry>1.2.11</entry>
<entry>
Emits <constant>E_DEPRECATED</constant> when the second argument is not