reference/filesystem/functions/filesize.xml
871a231f4a1caa5fb258ae53b1bb7d1fb2a0f949
...
...
@@ -1,6 +1,6 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.filesize">
3
+
<refentry xml:id="function.filesize" xmlns="http://docbook.org/ns/docbook">
4
4
<refnamediv>
5
5
<refname>filesize</refname>
6
6
<refpurpose>Gets file size</refpurpose>
...
...
@@ -9,7 +9,7 @@
9
9
<refsect1 role="description">
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
-
<type>int</type><methodname>filesize</methodname>
12
+
<type class="union"><type>int</type><type>false</type></type><methodname>filesize</methodname>
13
13
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
14
14
</methodsynopsis>
15
15
<para>
...
...
@@ -42,6 +42,11 @@
42
42
&fs.file.32bit;
43
43
</refsect1>
44
44

45
+
<refsect1 role="errors">
46
+
&reftitle.errors;
47
+
&fs.emits.warning.on.failure;
48
+
</refsect1>
49
+

45
50
<refsect1 role="examples">
46
51
&reftitle.examples;
47
52
<para>
...
...
@@ -63,11 +68,6 @@ echo $filename . ': ' . filesize($filename) . ' bytes';
63
68
</para>
64
69
</refsect1>
65
70

66
-
<refsect1 role="errors">
67
-
&reftitle.errors;
68
-
&fs.emits.warning.on.failure;
69
-
</refsect1>
70
-

71
71
<refsect1 role="notes">
72
72
&reftitle.notes;
73
73
&note.clearstatcache;
...
...
@@ -84,7 +84,6 @@ echo $filename . ': ' . filesize($filename) . ' bytes';
84
84
</refsect1>
85
85

86
86
</refentry>
87
-

88
87
<!-- Keep this comment at the end of the file
89
88
Local variables:
90
89
mode: sgml
91
90