reference/phar/constants.xml
37280533a76693adac626a37ffc8daa2276400ce
...
...
@@ -1,6 +1,5 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-

4
3
<appendix xml:id="phar.constants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
&reftitle.constants;
6
5
&extension.constants;
...
...
@@ -18,7 +17,7 @@
18
17
<row xml:id="phar.constants.none">
19
18
<entry>
20
19
<constant>Phar::NONE</constant>
21
-
(<type>integer</type>)
20
+
(<type>int</type>)
22
21
</entry>
23
22
<entry>0x00000000</entry>
24
23
<entry>no compression</entry>
...
...
@@ -26,7 +25,7 @@
26
25
<row xml:id="phar.constants.compressed">
27
26
<entry>
28
27
<constant>Phar::COMPRESSED</constant>
29
-
(<type>integer</type>)
28
+
(<type>int</type>)
30
29
</entry>
31
30
<entry>0x0000F000</entry>
32
31
<entry>bitmask that can be used with file flags to determine if any compression is present</entry>
...
...
@@ -34,7 +33,7 @@
34
33
<row xml:id="phar.constants.gz">
35
34
<entry>
36
35
<constant>Phar::GZ</constant>
37
-
(<type>integer</type>)
36
+
(<type>int</type>)
38
37
</entry>
39
38
<entry>0x00001000</entry>
40
39
<entry>zlib (gzip) compression</entry>
...
...
@@ -42,7 +41,7 @@
42
41
<row xml:id="phar.constants.bz2">
43
42
<entry>
44
43
<constant>Phar::BZ2</constant>
45
-
(<type>integer</type>)
44
+
(<type>int</type>)
46
45
</entry>
47
46
<entry>0x00002000</entry>
48
47
<entry>bzip2 compression</entry>
...
...
@@ -61,18 +60,10 @@
61
60
</row>
62
61
</thead>
63
62
<tbody>
64
-
<row xml:id="phar.constants.same">
65
-
<entry>
66
-
<constant>Phar::SAME</constant>
67
-
(<type>integer</type>)
68
-
</entry>
69
-
<entry>0</entry>
70
-
<entry>retain the same file format</entry>
71
-
</row>
72
63
<row xml:id="phar.constants.phar">
73
64
<entry>
74
65
<constant>Phar::PHAR</constant>
75
-
(<type>integer</type>)
66
+
(<type>int</type>)
76
67
</entry>
77
68
<entry>1</entry>
78
69
<entry>phar file format</entry>
...
...
@@ -80,7 +71,7 @@
80
71
<row xml:id="phar.constants.tar">
81
72
<entry>
82
73
<constant>Phar::TAR</constant>
83
-
(<type>integer</type>)
74
+
(<type>int</type>)
84
75
</entry>
85
76
<entry>2</entry>
86
77
<entry>tar file format</entry>
...
...
@@ -88,7 +79,7 @@
88
79
<row xml:id="phar.constants.zip">
89
80
<entry>
90
81
<constant>Phar::ZIP</constant>
91
-
(<type>integer</type>)
82
+
(<type>int</type>)
92
83
</entry>
93
84
<entry>3</entry>
94
85
<entry>zip file format</entry>
...
...
@@ -110,7 +101,7 @@
110
101
<row xml:id="phar.constants.md5">
111
102
<entry>
112
103
<constant>Phar::MD5</constant>
113
-
(<type>integer</type>)
104
+
(<type>int</type>)
114
105
</entry>
115
106
<entry>0x0001</entry>
116
107
<entry>signature with md5 hash algorithm</entry>
...
...
@@ -118,7 +109,7 @@
118
109
<row xml:id="phar.constants.sha1">
119
110
<entry>
120
111
<constant>Phar::SHA1</constant>
121
-
(<type>integer</type>)
112
+
(<type>int</type>)
122
113
</entry>
123
114
<entry>0x0002</entry>
124
115
<entry>signature with sha1 hash algorithm</entry>
...
...
@@ -126,7 +117,7 @@
126
117
<row xml:id="phar.constants.sha256">
127
118
<entry>
128
119
<constant>Phar::SHA256</constant>
129
-
(<type>integer</type>)
120
+
(<type>int</type>)
130
121
</entry>
131
122
<entry>0x0003</entry>
132
123
<entry>signature with sha256 hash algorithm (requires hash extension)</entry>
...
...
@@ -134,7 +125,7 @@
134
125
<row xml:id="phar.constants.sha512">
135
126
<entry>
136
127
<constant>Phar::SHA512</constant>
137
-
(<type>integer</type>)
128
+
(<type>int</type>)
138
129
</entry>
139
130
<entry>0x0004</entry>
140
131
<entry>signature with sha512 hash algorithm (requires hash extension)</entry>
...
...
@@ -142,12 +133,28 @@
142
133
<row xml:id="phar.constants.openssl">
143
134
<entry>
144
135
<constant>Phar::OPENSSL</constant>
145
-
(<type>integer</type>)
136
+
(<type>int</type>)
146
137
</entry>
147
138
<entry>0x0010</entry>
148
139
<entry>signature with OpenSSL public/private key pair. This is a true,
149
140
asymmetric key signature.</entry>
150
141
</row>
142
+
<row xml:id="phar.constants.openssl-sha256">
143
+
<entry>
144
+
<constant>Phar::OPENSSL_SHA256</constant>
145
+
(<type>int</type>)
146
+
</entry>
147
+
<entry/>
148
+
<entry/>
149
+
</row>
150
+
<row xml:id="phar.constants.openssl-sha512">
151
+
<entry>
152
+
<constant>Phar::OPENSSL_SHA512</constant>
153
+
(<type>int</type>)
154
+
</entry>
155
+
<entry/>
156
+
<entry/>
157
+
</row>
151
158
</tbody>
152
159
</tgroup>
153
160
</table>
...
...
@@ -165,9 +172,9 @@
165
172
<row xml:id="phar.constants.php">
166
173
<entry>
167
174
<constant>Phar::PHP</constant>
168
-
(<type>integer</type>)
175
+
(<type>int</type>)
169
176
</entry>
170
-
<entry>1</entry>
177
+
<entry>0</entry>
171
178
<entry>used to instruct the mimeoverrides parameter
172
179
of <function>Phar::webPhar</function> that the extension should be
173
180
parsed as a PHP file</entry>
...
...
@@ -175,9 +182,9 @@
175
182
<row xml:id="phar.constants.phps">
176
183
<entry>
177
184
<constant>Phar::PHPS</constant>
178
-
(<type>integer</type>)
185
+
(<type>int</type>)
179
186
</entry>
180
-
<entry>2</entry>
187
+
<entry>1</entry>
181
188
<entry>used to instruct the mimeoverrides parameter
182
189
of <function>Phar::webPhar</function> that the extension should be
183
190
parsed as a PHP source file through <function>highlight_file</function></entry>
...
...
@@ -186,7 +193,6 @@
186
193
</tgroup>
187
194
</table>
188
195
</appendix>
189
-

190
196
<!-- Keep this comment at the end of the file
191
197
Local variables:
192
198
mode: sgml
...
...
@@ -207,4 +213,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
207
213
vim: et tw=78 syn=sgml
208
214
vi: ts=1 sw=1
209
215
-->
210
-

211
216