reference/fileinfo/constants.xml
5e9500ddad6dbc2f1b01d7da8b53379c8b7c386c
...
...
@@ -8,7 +8,7 @@
8
8
<varlistentry xml:id="constant.fileinfo-none">
9
9
<term>
10
10
<constant>FILEINFO_NONE</constant>
11
-
(<type>integer</type>)
11
+
(<type>int</type>)
12
12
</term>
13
13
<listitem>
14
14
<simpara>
...
...
@@ -19,7 +19,7 @@
19
19
<varlistentry xml:id="constant.fileinfo-symlink">
20
20
<term>
21
21
<constant>FILEINFO_SYMLINK</constant>
22
-
(<type>integer</type>)
22
+
(<type>int</type>)
23
23
</term>
24
24
<listitem>
25
25
<simpara>
...
...
@@ -30,35 +30,29 @@
30
30
<varlistentry xml:id="constant.fileinfo-mime-type">
31
31
<term>
32
32
<constant>FILEINFO_MIME_TYPE</constant>
33
-
(<type>integer</type>)
33
+
(<type>int</type>)
34
34
</term>
35
35
<listitem>
36
36
<simpara>
37
37
Return the mime type.
38
38
</simpara>
39
-
<simpara>
40
-
Available since PHP 5.3.0.
41
-
</simpara>
42
39
</listitem>
43
40
</varlistentry>
44
41
<varlistentry xml:id="constant.fileinfo-mime-encoding">
45
42
<term>
46
43
<constant>FILEINFO_MIME_ENCODING</constant>
47
-
(<type>integer</type>)
44
+
(<type>int</type>)
48
45
</term>
49
46
<listitem>
50
47
<simpara>
51
48
Return the mime encoding of the file.
52
49
</simpara>
53
-
<simpara>
54
-
Available since PHP 5.3.0.
55
-
</simpara>
56
50
</listitem>
57
51
</varlistentry>
58
52
<varlistentry xml:id="constant.fileinfo-mime">
59
53
<term>
60
54
<constant>FILEINFO_MIME</constant>
61
-
(<type>integer</type>)
55
+
(<type>int</type>)
62
56
</term>
63
57
<listitem>
64
58
<simpara>
...
...
@@ -69,21 +63,21 @@
69
63
<varlistentry xml:id="constant.fileinfo-compress">
70
64
<term>
71
65
<constant>FILEINFO_COMPRESS</constant>
72
-
(<type>integer</type>)
66
+
(<type>int</type>)
73
67
</term>
74
68
<listitem>
75
69
<simpara>
76
70
Decompress compressed files.
77
71
</simpara>
78
72
<simpara>
79
-
Disabled since PHP 5.3.0 due to thread safety issues.
73
+
Disabled due to thread safety issues.
80
74
</simpara>
81
75
</listitem>
82
76
</varlistentry>
83
77
<varlistentry xml:id="constant.fileinfo-devices">
84
78
<term>
85
79
<constant>FILEINFO_DEVICES</constant>
86
-
(<type>integer</type>)
80
+
(<type>int</type>)
87
81
</term>
88
82
<listitem>
89
83
<simpara>
...
...
@@ -94,7 +88,7 @@
94
88
<varlistentry xml:id="constant.fileinfo-continue">
95
89
<term>
96
90
<constant>FILEINFO_CONTINUE</constant>
97
-
(<type>integer</type>)
91
+
(<type>int</type>)
98
92
</term>
99
93
<listitem>
100
94
<simpara>
...
...
@@ -105,7 +99,7 @@
105
99
<varlistentry xml:id="constant.fileinfo-preserve-atime">
106
100
<term>
107
101
<constant>FILEINFO_PRESERVE_ATIME</constant>
108
-
(<type>integer</type>)
102
+
(<type>int</type>)
109
103
</term>
110
104
<listitem>
111
105
<simpara>
...
...
@@ -116,7 +110,7 @@
116
110
<varlistentry xml:id="constant.fileinfo-raw">
117
111
<term>
118
112
<constant>FILEINFO_RAW</constant>
119
-
(<type>integer</type>)
113
+
(<type>int</type>)
120
114
</term>
121
115
<listitem>
122
116
<simpara>
...
...
@@ -128,16 +122,16 @@
128
122
<varlistentry xml:id="constant.fileinfo-extension">
129
123
<term>
130
124
<constant>FILEINFO_EXTENSION</constant>
131
-
(<type>integer</type>)
125
+
(<type>int</type>)
132
126
</term>
133
127
<listitem>
134
128
<simpara>
135
-
Returns the file extension appropiate for a the MIME type detected in
129
+
Returns the file extension appropriate for the MIME type detected in
136
130
the file.
137
131
</simpara>
138
132
<simpara>
139
133
For types that commonly have multiple file extensions, such as <literal>JPEG</literal>
140
-
images, then the return value is multiple extensions speparated by a forward slash e.g.:
134
+
images, then the return value is multiple extensions separated by a forward slash e.g.:
141
135
<literal>"jpeg/jpg/jpe/jfif"</literal>. For unknown types not available in the
142
136
<filename>magic.mime</filename> database, then return value is <literal>"???"</literal>.
143
137
</simpara>
...
...
@@ -148,7 +142,6 @@
148
142
</varlistentry>
149
143
</variablelist>
150
144
</appendix>
151
-

152
145
<!-- Keep this comment at the end of the file
153
146
Local variables:
154
147
mode: sgml
155
148