File tree Expand file tree Collapse file tree 17 files changed +66
-29
lines changed
reflection/reflectionfiber Expand file tree Collapse file tree 17 files changed +66
-29
lines changed Original file line number Diff line number Diff line change 11
11
&reftitle.description;
12
12
<para >&style.procedural; </para >
13
13
<methodsynopsis >
14
- <type >bool </type ><methodname >finfo_set_flags</methodname >
14
+ <type >true </type ><methodname >finfo_set_flags</methodname >
15
15
<methodparam ><type >finfo</type ><parameter >finfo</parameter ></methodparam >
16
16
<methodparam ><type >int</type ><parameter >flags</parameter ></methodparam >
17
17
</methodsynopsis >
52
52
<refsect1 role =" returnvalues" >
53
53
&reftitle.returnvalues;
54
54
<para >
55
- &return.success ;
55
+ &return.true.always ;
56
56
</para >
57
57
</refsect1 >
58
58
Original file line number Diff line number Diff line change 50
50
<term ><parameter >options</parameter ></term >
51
51
<listitem >
52
52
<para >
53
- An array of options for the various hashing algorithms. Currently, only the "seed" parameter is
53
+ An array of options for the various hashing algorithms.
54
+ Currently, only the <literal >"seed"</literal > parameter is
54
55
supported by the MurmurHash variants.
55
56
</para >
56
57
</listitem >
Original file line number Diff line number Diff line change 53
53
<term ><parameter >options</parameter ></term >
54
54
<listitem >
55
55
<para >
56
- An array of options for the various hashing algorithms. Currently, only the "seed" parameter is
56
+ An array of options for the various hashing algorithms.
57
+ Currently, only the <literal >"seed"</literal > parameter is
57
58
supported by the MurmurHash variants.
58
59
</para >
59
60
</listitem >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<!-- $Revision$ -->
3
- <refentry xmlns =" http://docbook.org/ns/docbook" xmlns : xlink =" http://www.w3.org/1999/xlink" xml : id = " function.hash-pbkdf2 " >
3
+ <refentry xml : id = " function.hash-pbkdf2 " xmlns =" http://docbook.org/ns/docbook" xmlns : xlink =" http://www.w3.org/1999/xlink" >
4
4
<refnamediv >
5
5
<refname >hash_pbkdf2</refname >
6
6
<refpurpose >Generate a PBKDF2 key derivation of a supplied password</refpurpose >
16
16
<methodparam ><type >int</type ><parameter >iterations</parameter ></methodparam >
17
17
<methodparam choice =" opt" ><type >int</type ><parameter >length</parameter ><initializer >0</initializer ></methodparam >
18
18
<methodparam choice =" opt" ><type >bool</type ><parameter >binary</parameter ><initializer >&false; </initializer ></methodparam >
19
+ <methodparam choice =" opt" ><type >array</type ><parameter >options</parameter ><initializer >[]</initializer ></methodparam >
19
20
</methodsynopsis >
20
21
</refsect1 >
21
22
82
83
</para >
83
84
</listitem >
84
85
</varlistentry >
86
+ <varlistentry >
87
+ <term ><parameter >options</parameter ></term >
88
+ <listitem >
89
+ <para >
90
+ An array of options for the various hashing algorithms.
91
+ Currently, only the <literal >"seed"</literal > key is
92
+ supported by the MurmurHash variants.
93
+ </para >
94
+ </listitem >
95
+ </varlistentry >
85
96
</variablelist >
86
97
</para >
87
98
</refsect1 >
Original file line number Diff line number Diff line change 8
8
<refsect1 role =" description" >
9
9
&reftitle.description;
10
10
<methodsynopsis >
11
- <type >bool </type ><methodname >hash_update</methodname >
11
+ <type >true </type ><methodname >hash_update</methodname >
12
12
<methodparam ><type >HashContext</type ><parameter >context</parameter ></methodparam >
13
13
<methodparam ><type >string</type ><parameter >data</parameter ></methodparam >
14
14
</methodsynopsis >
41
41
<refsect1 role =" returnvalues" >
42
42
&reftitle.returnvalues;
43
43
<para >
44
- Returns & true; .
44
+ &return. true.always;
45
45
</para >
46
46
</refsect1 >
47
47
82
82
</refsect1 >
83
83
84
84
</refentry >
85
-
86
85
<!-- Keep this comment at the end of the file
87
86
Local variables:
88
87
mode: sgml
Original file line number Diff line number Diff line change 49
49
<term ><parameter >options</parameter ></term >
50
50
<listitem >
51
51
<para >
52
- An array of options for the various hashing algorithms. Currently, only the "seed" parameter is
52
+ An array of options for the various hashing algorithms.
53
+ Currently, only the <literal >"seed"</literal > parameter is
53
54
supported by the MurmurHash variants.
54
55
</para >
55
56
</listitem >
Original file line number Diff line number Diff line change 11
11
<type class =" union" ><type >LDAP\Result</type ><type >bool</type ></type ><methodname >ldap_exop_sync</methodname >
12
12
<methodparam ><type >LDAP\Connection</type ><parameter >ldap</parameter ></methodparam >
13
13
<methodparam ><type >string</type ><parameter >request_oid</parameter ></methodparam >
14
- <methodparam choice =" opt" ><type > string</type ><parameter >request_data</parameter ><initializer >&null; </initializer ></methodparam >
15
- <methodparam choice =" opt" ><type > array</type ><parameter >controls</parameter ><initializer >&null; </initializer ></methodparam >
14
+ <methodparam choice =" opt" ><type class = " union " >< type > string</ type >< type >null</ type > </type ><parameter >request_data</parameter ><initializer >&null; </initializer ></methodparam >
15
+ <methodparam choice =" opt" ><type class = " union " >< type > array</ type >< type >null</ type > </type ><parameter >controls</parameter ><initializer >&null; </initializer ></methodparam >
16
16
<methodparam choice =" opt" ><type >string</type ><parameter role =" reference" >response_data</parameter ><initializer >&null; </initializer ></methodparam >
17
17
<methodparam choice =" opt" ><type >string</type ><parameter role =" reference" >response_oid</parameter ><initializer >&null; </initializer ></methodparam >
18
18
</methodsynopsis >
Original file line number Diff line number Diff line change 9
9
<refsect1 role =" description" >
10
10
&reftitle.description;
11
11
<methodsynopsis >
12
- <type class =" union" ><type >array</type ><type >string</type ><type >int</type ><type >false</type ></type ><methodname >mb_get_info</methodname >
12
+ <type class =" union" ><type >array</type ><type >string</type ><type >int</type ><type >false</type ><type >null</ type >< /type ><methodname >mb_get_info</methodname >
13
13
<methodparam choice =" opt" ><type >string</type ><parameter >type</parameter ><initializer >"all"</initializer ></methodparam >
14
14
</methodsynopsis >
15
15
<simpara >
Original file line number Diff line number Diff line change 9
9
<refsect1 role =" description" >
10
10
&reftitle.description;
11
11
<methodsynopsis >
12
- <type >bool </type ><methodname >openlog</methodname >
12
+ <type >true </type ><methodname >openlog</methodname >
13
13
<methodparam ><type >string</type ><parameter >prefix</parameter ></methodparam >
14
14
<methodparam ><type >int</type ><parameter >flags</parameter ></methodparam >
15
15
<methodparam ><type >int</type ><parameter >facility</parameter ></methodparam >
181
181
<refsect1 role =" returnvalues" >
182
182
&reftitle.returnvalues;
183
183
<para >
184
- &return.success ;
184
+ &return.true.always ;
185
185
</para >
186
186
</refsect1 >
187
187
188
+ <refsect1 role =" changelog" >
189
+ &reftitle.changelog;
190
+ <informaltable >
191
+ <tgroup cols =" 2" >
192
+ <thead >
193
+ <row >
194
+ <entry >&Version; </entry >
195
+ <entry >&Description; </entry >
196
+ </row >
197
+ </thead >
198
+ <tbody >
199
+ <row >
200
+ <entry >8.2.0</entry >
201
+ <entry >
202
+ The function now always returns &true; . Previously it returned &false; on failure.
203
+ </entry >
204
+ </row >
205
+ </tbody >
206
+ </tgroup >
207
+ </informaltable >
208
+ </refsect1 >
209
+
188
210
<refsect1 role =" seealso" >
189
211
&reftitle.seealso;
190
212
<para >
Original file line number Diff line number Diff line change 8
8
<refsect1 role =" description" >
9
9
&reftitle.description;
10
10
<methodsynopsis role =" ReflectionFiber" >
11
- <modifier >public</modifier > <type > string</type ><methodname >ReflectionFiber::getExecutingFile</methodname >
11
+ <modifier >public</modifier > <type class = " union " >< type > string</ type >< type >null</ type > </type ><methodname >ReflectionFiber::getExecutingFile</methodname >
12
12
<void />
13
13
</methodsynopsis >
14
14
<para >
26
26
&reftitle.returnvalues;
27
27
<para >
28
28
The full path and file name of the reflected fiber.
29
+ If the reflected fiber is used outside a user-defined function, &null; is returned.
29
30
</para >
30
31
</refsect1 >
31
32
Original file line number Diff line number Diff line change 8
8
<refsect1 role =" description" >
9
9
&reftitle.description;
10
10
<methodsynopsis role =" ReflectionFiber" >
11
- <modifier >public</modifier > <type > int</type ><methodname >ReflectionFiber::getExecutingLine</methodname >
11
+ <modifier >public</modifier > <type class = " union " >< type > int</ type >< type >null</ type > </type ><methodname >ReflectionFiber::getExecutingLine</methodname >
12
12
<void />
13
13
</methodsynopsis >
14
14
<para >
15
- Returns the line number of the current execution point in the reflected <classname >Fiber</classname >. If the fiber
16
- has not been started or has terminated, an <classname >Error</classname > is thrown.
15
+ Returns the line number of the current execution point in the reflected <classname >Fiber</classname >.
16
+ If the reflected fiber is used outside a user-defined function, &null; is returned.
17
+ If the fiber has not been started or has terminated, an <classname >Error</classname > is thrown.
17
18
</para >
18
19
</refsect1 >
19
20
Original file line number Diff line number Diff line change 11
11
<methodsynopsis >
12
12
<type class =" union" ><type >Socket</type ><type >false</type ></type ><methodname >socket_create_listen</methodname >
13
13
<methodparam ><type >int</type ><parameter >port</parameter ></methodparam >
14
- <methodparam choice =" opt" ><type >int</type ><parameter >backlog</parameter ><initializer >128 </initializer ></methodparam >
14
+ <methodparam choice =" opt" ><type >int</type ><parameter >backlog</parameter ><initializer >< constant >SOMAXCONN</ constant > </initializer ></methodparam >
15
15
</methodsynopsis >
16
16
<para >
17
17
<function >socket_create_listen</function > creates a new <classname >Socket</classname > instance of
Original file line number Diff line number Diff line change 10
10
<methodsynopsis >
11
11
<type class =" union" ><type >int</type ><type >bool</type ></type ><methodname >odbc_autocommit</methodname >
12
12
<methodparam ><type >resource</type ><parameter >odbc</parameter ></methodparam >
13
- <methodparam choice =" opt" ><type > bool</type ><parameter >enable</parameter ><initializer >&null; </initializer ></methodparam >
13
+ <methodparam choice =" opt" ><type class = " union " >< type > bool</ type >< type >null</ type > </type ><parameter >enable</parameter ><initializer >&null; </initializer ></methodparam >
14
14
</methodsynopsis >
15
15
<para >
16
16
Toggles autocommit behaviour.
47
47
<refsect1 role =" returnvalues" >
48
48
&reftitle.returnvalues;
49
49
<para >
50
- Without the <parameter >enable</parameter > parameter, this function returns
50
+ With a &null; <parameter >enable</parameter > parameter, this function returns
51
51
auto-commit status for <parameter >odbc</parameter >. Non-zero is
52
52
returned if auto-commit is on, 0 if it is off, or &false; if an error
53
53
occurs.
54
54
</para >
55
55
<para >
56
- If <parameter >enable</parameter > is set , this function returns &true; on
56
+ If <parameter >enable</parameter > is non-null , this function returns &true; on
57
57
success and &false; on failure.
58
58
</para >
59
59
</refsect1 >
Original file line number Diff line number Diff line change 8
8
<refsect1 role =" description" >
9
9
&reftitle.description;
10
10
<methodsynopsis >
11
- <type >bool </type ><methodname >odbc_binmode</methodname >
11
+ <type >true </type ><methodname >odbc_binmode</methodname >
12
12
<methodparam ><type >resource</type ><parameter >statement</parameter ></methodparam >
13
13
<methodparam ><type >int</type ><parameter >mode</parameter ></methodparam >
14
14
</methodsynopsis >
137
137
<refsect1 role =" returnvalues" >
138
138
&reftitle.returnvalues;
139
139
<para >
140
- &return.success ;
140
+ &return.true.always ;
141
141
</para >
142
142
</refsect1 >
143
143
</refentry >
Original file line number Diff line number Diff line change 8
8
<refsect1 role =" description" >
9
9
&reftitle.description;
10
10
<methodsynopsis >
11
- <type class =" union" ><type >array</type ><type >false</type ></type ><methodname >odbc_data_source</methodname >
11
+ <type class =" union" ><type >array</type ><type >null</ type >< type > false</type ></type ><methodname >odbc_data_source</methodname >
12
12
<methodparam ><type >resource</type ><parameter >odbc</parameter ></methodparam >
13
13
<methodparam ><type >int</type ><parameter >fetch_type</parameter ></methodparam >
14
14
</methodsynopsis >
Original file line number Diff line number Diff line change 8
8
<refsect1 role =" description" >
9
9
&reftitle.description;
10
10
<methodsynopsis >
11
- <type >bool </type ><methodname >odbc_free_result</methodname >
11
+ <type >true </type ><methodname >odbc_free_result</methodname >
12
12
<methodparam ><type >resource</type ><parameter >statement</parameter ></methodparam >
13
13
</methodsynopsis >
14
14
<para >
38
38
<refsect1 role =" returnvalues" >
39
39
&reftitle.returnvalues;
40
40
<para >
41
- Always returns & true; .
41
+ &return. true.always;
42
42
</para >
43
43
</refsect1 >
44
44
<refsect1 role =" notes" >
Original file line number Diff line number Diff line change 8
8
<refsect1 role =" description" >
9
9
&reftitle.description;
10
10
<methodsynopsis >
11
- <type >bool </type ><methodname >odbc_longreadlen</methodname >
11
+ <type >true </type ><methodname >odbc_longreadlen</methodname >
12
12
<methodparam ><type >resource</type ><parameter >statement</parameter ></methodparam >
13
13
<methodparam ><type >int</type ><parameter >length</parameter ></methodparam >
14
14
</methodsynopsis >
46
46
<refsect1 role =" returnvalues" >
47
47
&reftitle.returnvalues;
48
48
<para >
49
- &return.success ;
49
+ &return.true.always ;
50
50
</para >
51
51
</refsect1 >
52
52
<refsect1 role =" notes" >
You can’t perform that action at this time.
0 commit comments