File tree 1 file changed +13
-2
lines changed
reference/mongodb/bson/utcdatetime 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change 11
11
&reftitle.description;
12
12
<methodsynopsis >
13
13
<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 >
15
15
</methodsynopsis >
16
16
</refsect1 >
17
17
25
25
Number of milliseconds since the Unix epoch (Jan 1, 1970). Negative values
26
26
represent dates before 1970. This value may be provided as a 64-bit
27
27
<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 >.
29
29
</para >
30
30
<para >
31
31
If the argument is a <classname >DateTimeInterface</classname >, the number
58
58
</row >
59
59
</thead >
60
60
<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 >
61
72
<row >
62
73
<entry >PECL mongodb 1.2.0</entry >
63
74
<entry >
You can’t perform that action at this time.
0 commit comments