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
...
...
@@ -87,7 +87,6 @@ foreach(glob('/home/Kalle/myproject/*.php') as $ent)
87
87
</para>
88
88
</refsect1>
89
89
</refentry>
90
-

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