File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed
reference/mongodb/bson/utcdatetime Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change 1111 &reftitle.description;
1212 <methodsynopsis >
1313 <modifier >final</modifier > <modifier >public</modifier > <methodname >MongoDB\BSON\UTCDateTime::__construct</methodname >
14- <methodparam choice =" opt" ><type class =" union" ><type >int</type ><type >float</type ><type >string</type ><type >DateTimeInterface</type ><type >null</type ></type ><parameter >milliseconds</parameter ><initializer >&null; </initializer ></methodparam >
14+ <methodparam choice =" opt" ><type class =" union" ><type >int</type ><type >float</type ><type >string</type ><type >MongoDB\BSON\Int64</ type >< type > DateTimeInterface</type ><type >null</type ></type ><parameter >milliseconds</parameter ><initializer >&null; </initializer ></methodparam >
1515 </methodsynopsis >
1616 </refsect1 >
1717
2525 Number of milliseconds since the Unix epoch (Jan 1, 1970). Negative values
2626 represent dates before 1970. This value may be provided as a 64-bit
2727 <type >int</type >. For compatibility on 32-bit systems, this parameter
28- may also be provided as a <type >float</ type > or < type >string</ type >.
28+ may also be provided as a <classname >MongoDB\BSON\Int64</ classname >.
2929 </para >
3030 <para >
3131 If the argument is a <classname >DateTimeInterface</classname >, the number
5858 </row >
5959 </thead >
6060 <tbody >
61+ <row >
62+ <entry >PECL mongodb 1.20.0</entry >
63+ <entry >
64+ <para >
65+ The <parameter >milliseconds</parameter > argument now accepts a
66+ <classname >MongoDB\BSON\Int64</classname > object (for compatibility on
67+ 32-bit platforms). Specifying a <type >string</type > or
68+ <type >float</type > is deprecated.
69+ </para >
70+ </entry >
71+ </row >
6172 <row >
6273 <entry >PECL mongodb 1.2.0</entry >
6374 <entry >
You can’t perform that action at this time.
0 commit comments