reference/hash/functions/hash-update-file.xml
dabaf662b17f594cd536ff68ea807b0fbc99d0ee
...
...
@@ -9,9 +9,9 @@
9
9
&reftitle.description;
10
10
<methodsynopsis>
11
11
<type>bool</type><methodname>hash_update_file</methodname>
12
-
<methodparam><type>resource</type><parameter>hcontext</parameter></methodparam>
12
+
<methodparam><type>HashContext</type><parameter>context</parameter></methodparam>
13
13
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
14
-
<methodparam choice="opt"><type>resource</type><parameter>scontext</parameter><initializer>&null;</initializer></methodparam>
14
+
<methodparam choice="opt"><type class="union"><type>resource</type><type>null</type></type><parameter>stream_context</parameter><initializer>&null;</initializer></methodparam>
15
15
</methodsynopsis>
16
16

17
17
</refsect1>
...
...
@@ -20,7 +20,7 @@
20
20
<para>
21
21
<variablelist>
22
22
<varlistentry>
23
-
<term><parameter>hcontext</parameter></term>
23
+
<term><parameter>context</parameter></term>
24
24
<listitem>
25
25
<para>
26
26
Hashing context returned by <function>hash_init</function>.
...
...
@@ -36,7 +36,7 @@
36
36
</listitem>
37
37
</varlistentry>
38
38
<varlistentry>
39
-
<term><parameter>scontext</parameter></term>
39
+
<term><parameter>stream_context</parameter></term>
40
40
<listitem>
41
41
<para>
42
42
Stream context as returned by <function>stream_context_create</function>.
...
...
@@ -54,6 +54,36 @@
54
54
</para>
55
55
</refsect1>
56
56

57
+
<refsect1 role="changelog">
58
+
&reftitle.changelog;
59
+
<para>
60
+
<informaltable>
61
+
<tgroup cols="2">
62
+
<thead>
63
+
<row>
64
+
<entry>&Version;</entry>
65
+
<entry>&Description;</entry>
66
+
</row>
67
+
</thead>
68
+
<tbody>
69
+
<row>
70
+
<entry>8.0.0</entry>
71
+
<entry>
72
+
<parameter>stream_context</parameter> is now nullable.
73
+
</entry>
74
+
</row>
75
+
<row>
76
+
<entry>7.2.0</entry>
77
+
<entry>
78
+
Accept <classname>HashContext</classname> instead of resource.
79
+
</entry>
80
+
</row>
81
+
</tbody>
82
+
</tgroup>
83
+
</informaltable>
84
+
</para>
85
+
</refsect1>
86
+
57
87
<refsect1 role="seealso">
58
88
&reftitle.seealso;
59
89
<para>
...
...
@@ -69,7 +99,6 @@
69
99
</refsect1>
70
100

71
101
</refentry>
72
-

73
102
<!-- Keep this comment at the end of the file
74
103
Local variables:
75
104
mode: sgml
76
105