reference/strings/functions/sha1-file.xml
e095023e408c8cb6378ae16bb6870343a3946919
...
...
@@ -8,9 +8,9 @@
8
8
<refsect1 role="description">
9
9
&reftitle.description;
10
10
<methodsynopsis>
11
-
<type>string</type><methodname>sha1_file</methodname>
11
+
<type class="union"><type>string</type><type>false</type></type><methodname>sha1_file</methodname>
12
12
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
13
-
<methodparam choice="opt"><type>bool</type><parameter>raw_output</parameter><initializer>&false;</initializer></methodparam>
13
+
<methodparam choice="opt"><type>bool</type><parameter>binary</parameter><initializer>&false;</initializer></methodparam>
14
14
</methodsynopsis>
15
15
<simpara>
16
16
Calculates the sha1 hash of the file specified by
...
...
@@ -33,7 +33,7 @@
33
33
</listitem>
34
34
</varlistentry>
35
35
<varlistentry>
36
-
<term><parameter>raw_output</parameter></term>
36
+
<term><parameter>binary</parameter></term>
37
37
<listitem>
38
38
<para>
39
39
When &true;, returns the digest in raw binary format with a length of
...
...
@@ -75,30 +75,6 @@ foreach(glob('/home/Kalle/myproject/*.php') as $ent)
75
75
</example>
76
76
</para>
77
77
</refsect1>
78
-
<refsect1 role="changelog">
79
-
&reftitle.changelog;
80
-
<para>
81
-
<informaltable>
82
-
<tgroup cols="2">
83
-
<thead>
84
-
<row>
85
-
<entry>&Version;</entry>
86
-
<entry>&Description;</entry>
87
-
</row>
88
-
</thead>
89
-
<tbody>
90
-
<row>
91
-
<entry>5.1.0</entry>
92
-
<entry>
93
-
Changed the function to use the streams API. It means that you can use
94
-
it with wrappers, like <literal>sha1_file('http://example.com/..')</literal>
95
-
</entry>
96
-
</row>
97
-
</tbody>
98
-
</tgroup>
99
-
</informaltable>
100
-
</para>
101
-
</refsect1>
102
78

103
79
<refsect1 role="seealso">
104
80
&reftitle.seealso;
...
...
@@ -111,7 +87,6 @@ foreach(glob('/home/Kalle/myproject/*.php') as $ent)
111
87
</para>
112
88
</refsect1>
113
89
</refentry>
114
-

115
90
<!-- Keep this comment at the end of the file
116
91
Local variables:
117
92
mode: sgml
118
93