1 /* This is a generated file, edit the .stub.php file instead.
2 * Stub hash: 00f5d4fc74e8b7dc67da6f12180c9fae343954cc */
3
4 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Phar___construct, 0, 0, 1)
5 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
6 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flags, IS_LONG, 0, "FilesystemIterator::SKIP_DOTS | FilesystemIterator::UNIX_PATHS")
7 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, alias, IS_STRING, 1, "null")
8 ZEND_END_ARG_INFO()
9
10 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Phar___destruct, 0, 0, 0)
11 ZEND_END_ARG_INFO()
12
13 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_Phar_addEmptyDir, 0, 1, IS_VOID, 0)
14 ZEND_ARG_TYPE_INFO(0, directory, IS_STRING, 0)
15 ZEND_END_ARG_INFO()
16
17 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_Phar_addFile, 0, 1, IS_VOID, 0)
18 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
19 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, localName, IS_STRING, 1, "null")
20 ZEND_END_ARG_INFO()
21
22 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_Phar_addFromString, 0, 2, IS_VOID, 0)
23 ZEND_ARG_TYPE_INFO(0, localName, IS_STRING, 0)
24 ZEND_ARG_TYPE_INFO(0, contents, IS_STRING, 0)
25 ZEND_END_ARG_INFO()
26
27 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_Phar_buildFromDirectory, 0, 1, IS_ARRAY, 0)
28 ZEND_ARG_TYPE_INFO(0, directory, IS_STRING, 0)
29 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, pattern, IS_STRING, 0, "\"\"")
30 ZEND_END_ARG_INFO()
31
32 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_Phar_buildFromIterator, 0, 1, IS_ARRAY, 0)
33 ZEND_ARG_OBJ_INFO(0, iterator, Traversable, 0)
34 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, baseDirectory, IS_STRING, 1, "null")
35 ZEND_END_ARG_INFO()
36
37 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_Phar_compressFiles, 0, 1, IS_VOID, 0)
38 ZEND_ARG_TYPE_INFO(0, compression, IS_LONG, 0)
39 ZEND_END_ARG_INFO()
40
41 #define arginfo_class_Phar_decompressFiles arginfo_class_Phar___destruct
42
43 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_Phar_compress, 0, 1, Phar, 1)
44 ZEND_ARG_TYPE_INFO(0, compression, IS_LONG, 0)
45 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, extension, IS_STRING, 1, "null")
46 ZEND_END_ARG_INFO()
47
48 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_Phar_decompress, 0, 0, Phar, 1)
49 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, extension, IS_STRING, 1, "null")
50 ZEND_END_ARG_INFO()
51
52 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_Phar_convertToExecutable, 0, 0, Phar, 1)
53 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, format, IS_LONG, 1, "null")
54 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, compression, IS_LONG, 1, "null")
55 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, extension, IS_STRING, 1, "null")
56 ZEND_END_ARG_INFO()
57
58 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_Phar_convertToData, 0, 0, PharData, 1)
59 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, format, IS_LONG, 1, "null")
60 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, compression, IS_LONG, 1, "null")
61 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, extension, IS_STRING, 1, "null")
62 ZEND_END_ARG_INFO()
63
64 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Phar_copy, 0, 0, 2)
65 ZEND_ARG_TYPE_INFO(0, from, IS_STRING, 0)
66 ZEND_ARG_TYPE_INFO(0, to, IS_STRING, 0)
67 ZEND_END_ARG_INFO()
68
69 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_Phar_count, 0, 0, IS_LONG, 0)
70 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, mode, IS_LONG, 0, "COUNT_NORMAL")
71 ZEND_END_ARG_INFO()
72
73 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Phar_delete, 0, 0, 1)
74 ZEND_ARG_TYPE_INFO(0, localName, IS_STRING, 0)
75 ZEND_END_ARG_INFO()
76
77 #define arginfo_class_Phar_delMetadata arginfo_class_Phar___destruct
78
79 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_Phar_extractTo, 0, 1, _IS_BOOL, 0)
80 ZEND_ARG_TYPE_INFO(0, directory, IS_STRING, 0)
81 ZEND_ARG_TYPE_MASK(0, files, MAY_BE_ARRAY|MAY_BE_STRING|MAY_BE_NULL, "null")
82 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, overwrite, _IS_BOOL, 0, "false")
83 ZEND_END_ARG_INFO()
84
85 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_Phar_getAlias, 0, 0, IS_STRING, 1)
86 ZEND_END_ARG_INFO()
87
88 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_Phar_getPath, 0, 0, IS_STRING, 0)
89 ZEND_END_ARG_INFO()
90
91 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_Phar_getMetadata, 0, 0, IS_MIXED, 0)
92 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, unserializeOptions, IS_ARRAY, 0, "[]")
93 ZEND_END_ARG_INFO()
94
95 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_Phar_getModified, 0, 0, _IS_BOOL, 0)
96 ZEND_END_ARG_INFO()
97
98 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_Phar_getSignature, 0, 0, MAY_BE_ARRAY|MAY_BE_FALSE)
99 ZEND_END_ARG_INFO()
100
101 #define arginfo_class_Phar_getStub arginfo_class_Phar_getPath
102
103 #define arginfo_class_Phar_getVersion arginfo_class_Phar_getPath
104
105 #define arginfo_class_Phar_hasMetadata arginfo_class_Phar_getModified
106
107 #define arginfo_class_Phar_isBuffering arginfo_class_Phar_getModified
108
109 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_Phar_isCompressed, 0, 0, MAY_BE_LONG|MAY_BE_FALSE)
110 ZEND_END_ARG_INFO()
111
112 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_Phar_isFileFormat, 0, 1, _IS_BOOL, 0)
113 ZEND_ARG_TYPE_INFO(0, format, IS_LONG, 0)
114 ZEND_END_ARG_INFO()
115
116 #define arginfo_class_Phar_isWritable arginfo_class_Phar_getModified
117
118 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_Phar_offsetExists, 0, 1, _IS_BOOL, 0)
119 ZEND_ARG_INFO(0, localName)
120 ZEND_END_ARG_INFO()
121
122 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_Phar_offsetGet, 0, 1, SplFileInfo, 0)
123 ZEND_ARG_INFO(0, localName)
124 ZEND_END_ARG_INFO()
125
126 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_Phar_offsetSet, 0, 2, IS_VOID, 0)
127 ZEND_ARG_INFO(0, localName)
128 ZEND_ARG_INFO(0, value)
129 ZEND_END_ARG_INFO()
130
131 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_Phar_offsetUnset, 0, 1, IS_VOID, 0)
132 ZEND_ARG_INFO(0, localName)
133 ZEND_END_ARG_INFO()
134
135 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_Phar_setAlias, 0, 1, _IS_BOOL, 0)
136 ZEND_ARG_TYPE_INFO(0, alias, IS_STRING, 0)
137 ZEND_END_ARG_INFO()
138
139 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_Phar_setDefaultStub, 0, 0, _IS_BOOL, 0)
140 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, index, IS_STRING, 1, "null")
141 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, webIndex, IS_STRING, 1, "null")
142 ZEND_END_ARG_INFO()
143
144 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_Phar_setMetadata, 0, 1, IS_VOID, 0)
145 ZEND_ARG_TYPE_INFO(0, metadata, IS_MIXED, 0)
146 ZEND_END_ARG_INFO()
147
148 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_Phar_setSignatureAlgorithm, 0, 1, IS_VOID, 0)
149 ZEND_ARG_TYPE_INFO(0, algo, IS_LONG, 0)
150 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, privateKey, IS_STRING, 1, "null")
151 ZEND_END_ARG_INFO()
152
153 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Phar_setStub, 0, 0, 1)
154 ZEND_ARG_INFO(0, stub)
155 ZEND_ARG_TYPE_INFO(0, length, IS_LONG, 0)
156 ZEND_END_ARG_INFO()
157
158 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_Phar_startBuffering, 0, 0, IS_VOID, 0)
159 ZEND_END_ARG_INFO()
160
161 #define arginfo_class_Phar_stopBuffering arginfo_class_Phar_startBuffering
162
163 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Phar_apiVersion, 0, 0, IS_STRING, 0)
164 ZEND_END_ARG_INFO()
165
166 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Phar_canCompress, 0, 0, _IS_BOOL, 0)
167 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, compression, IS_LONG, 0, "0")
168 ZEND_END_ARG_INFO()
169
170 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Phar_canWrite, 0, 0, _IS_BOOL, 0)
171 ZEND_END_ARG_INFO()
172
173 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Phar_createDefaultStub, 0, 0, IS_STRING, 0)
174 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, index, IS_STRING, 1, "null")
175 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, webIndex, IS_STRING, 1, "null")
176 ZEND_END_ARG_INFO()
177
178 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Phar_getSupportedCompression, 0, 0, IS_ARRAY, 0)
179 ZEND_END_ARG_INFO()
180
181 #define arginfo_class_Phar_getSupportedSignatures arginfo_class_Phar_getSupportedCompression
182
183 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Phar_interceptFileFuncs, 0, 0, IS_VOID, 0)
184 ZEND_END_ARG_INFO()
185
186 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Phar_isValidPharFilename, 0, 1, _IS_BOOL, 0)
187 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
188 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, executable, _IS_BOOL, 0, "true")
189 ZEND_END_ARG_INFO()
190
191 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Phar_loadPhar, 0, 1, _IS_BOOL, 0)
192 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
193 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, alias, IS_STRING, 1, "null")
194 ZEND_END_ARG_INFO()
195
196 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Phar_mapPhar, 0, 0, _IS_BOOL, 0)
197 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, alias, IS_STRING, 1, "null")
198 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, offset, IS_LONG, 0, "0")
199 ZEND_END_ARG_INFO()
200
201 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Phar_running, 0, 0, IS_STRING, 0)
202 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, returnPhar, _IS_BOOL, 0, "true")
203 ZEND_END_ARG_INFO()
204
205 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Phar_mount, 0, 2, IS_VOID, 0)
206 ZEND_ARG_TYPE_INFO(0, pharPath, IS_STRING, 0)
207 ZEND_ARG_TYPE_INFO(0, externalPath, IS_STRING, 0)
208 ZEND_END_ARG_INFO()
209
210 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Phar_mungServer, 0, 1, IS_VOID, 0)
211 ZEND_ARG_TYPE_INFO(0, variables, IS_ARRAY, 0)
212 ZEND_END_ARG_INFO()
213
214 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Phar_unlinkArchive, 0, 1, _IS_BOOL, 0)
215 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
216 ZEND_END_ARG_INFO()
217
218 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Phar_webPhar, 0, 0, IS_VOID, 0)
219 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, alias, IS_STRING, 1, "null")
220 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, index, IS_STRING, 1, "null")
221 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, fileNotFoundScript, IS_STRING, 1, "null")
222 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, mimeTypes, IS_ARRAY, 0, "[]")
223 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, rewrite, IS_CALLABLE, 1, "null")
224 ZEND_END_ARG_INFO()
225
226 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_PharData___construct, 0, 0, 1)
227 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
228 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flags, IS_LONG, 0, "FilesystemIterator::SKIP_DOTS | FilesystemIterator::UNIX_PATHS")
229 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, alias, IS_STRING, 1, "null")
230 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, format, IS_LONG, 0, "0")
231 ZEND_END_ARG_INFO()
232
233 #define arginfo_class_PharData___destruct arginfo_class_Phar___destruct
234
235 #define arginfo_class_PharData_addEmptyDir arginfo_class_Phar_addEmptyDir
236
237 #define arginfo_class_PharData_addFile arginfo_class_Phar_addFile
238
239 #define arginfo_class_PharData_addFromString arginfo_class_Phar_addFromString
240
241 #define arginfo_class_PharData_buildFromDirectory arginfo_class_Phar_buildFromDirectory
242
243 #define arginfo_class_PharData_buildFromIterator arginfo_class_Phar_buildFromIterator
244
245 #define arginfo_class_PharData_compressFiles arginfo_class_Phar_compressFiles
246
247 #define arginfo_class_PharData_decompressFiles arginfo_class_Phar___destruct
248
249 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_PharData_compress, 0, 1, PharData, 1)
250 ZEND_ARG_TYPE_INFO(0, compression, IS_LONG, 0)
251 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, extension, IS_STRING, 1, "null")
252 ZEND_END_ARG_INFO()
253
254 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_PharData_decompress, 0, 0, PharData, 1)
255 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, extension, IS_STRING, 1, "null")
256 ZEND_END_ARG_INFO()
257
258 #define arginfo_class_PharData_convertToExecutable arginfo_class_Phar_convertToExecutable
259
260 #define arginfo_class_PharData_convertToData arginfo_class_Phar_convertToData
261
262 #define arginfo_class_PharData_copy arginfo_class_Phar_copy
263
264 #define arginfo_class_PharData_count arginfo_class_Phar_count
265
266 #define arginfo_class_PharData_delete arginfo_class_Phar_delete
267
268 #define arginfo_class_PharData_delMetadata arginfo_class_Phar___destruct
269
270 #define arginfo_class_PharData_extractTo arginfo_class_Phar_extractTo
271
272 #define arginfo_class_PharData_getAlias arginfo_class_Phar_getAlias
273
274 #define arginfo_class_PharData_getPath arginfo_class_Phar_getPath
275
276 #define arginfo_class_PharData_getMetadata arginfo_class_Phar_getMetadata
277
278 #define arginfo_class_PharData_getModified arginfo_class_Phar_getModified
279
280 #define arginfo_class_PharData_getSignature arginfo_class_Phar_getSignature
281
282 #define arginfo_class_PharData_getStub arginfo_class_Phar_getPath
283
284 #define arginfo_class_PharData_getVersion arginfo_class_Phar_getPath
285
286 #define arginfo_class_PharData_hasMetadata arginfo_class_Phar_getModified
287
288 #define arginfo_class_PharData_isBuffering arginfo_class_Phar_getModified
289
290 #define arginfo_class_PharData_isCompressed arginfo_class_Phar_isCompressed
291
292 #define arginfo_class_PharData_isFileFormat arginfo_class_Phar_isFileFormat
293
294 #define arginfo_class_PharData_isWritable arginfo_class_Phar_getModified
295
296 #define arginfo_class_PharData_offsetExists arginfo_class_Phar_offsetExists
297
298 #define arginfo_class_PharData_offsetGet arginfo_class_Phar_offsetGet
299
300 #define arginfo_class_PharData_offsetSet arginfo_class_Phar_offsetSet
301
302 #define arginfo_class_PharData_offsetUnset arginfo_class_Phar_offsetUnset
303
304 #define arginfo_class_PharData_setAlias arginfo_class_Phar_setAlias
305
306 #define arginfo_class_PharData_setDefaultStub arginfo_class_Phar_setDefaultStub
307
308 #define arginfo_class_PharData_setMetadata arginfo_class_Phar_setMetadata
309
310 #define arginfo_class_PharData_setSignatureAlgorithm arginfo_class_Phar_setSignatureAlgorithm
311
312 #define arginfo_class_PharData_setStub arginfo_class_Phar_setStub
313
314 #define arginfo_class_PharData_startBuffering arginfo_class_Phar_startBuffering
315
316 #define arginfo_class_PharData_stopBuffering arginfo_class_Phar_startBuffering
317
318 #define arginfo_class_PharData_apiVersion arginfo_class_Phar_apiVersion
319
320 #define arginfo_class_PharData_canCompress arginfo_class_Phar_canCompress
321
322 #define arginfo_class_PharData_canWrite arginfo_class_Phar_canWrite
323
324 #define arginfo_class_PharData_createDefaultStub arginfo_class_Phar_createDefaultStub
325
326 #define arginfo_class_PharData_getSupportedCompression arginfo_class_Phar_getSupportedCompression
327
328 #define arginfo_class_PharData_getSupportedSignatures arginfo_class_Phar_getSupportedCompression
329
330 #define arginfo_class_PharData_interceptFileFuncs arginfo_class_Phar_interceptFileFuncs
331
332 #define arginfo_class_PharData_isValidPharFilename arginfo_class_Phar_isValidPharFilename
333
334 #define arginfo_class_PharData_loadPhar arginfo_class_Phar_loadPhar
335
336 #define arginfo_class_PharData_mapPhar arginfo_class_Phar_mapPhar
337
338 #define arginfo_class_PharData_running arginfo_class_Phar_running
339
340 #define arginfo_class_PharData_mount arginfo_class_Phar_mount
341
342 #define arginfo_class_PharData_mungServer arginfo_class_Phar_mungServer
343
344 #define arginfo_class_PharData_unlinkArchive arginfo_class_Phar_unlinkArchive
345
346 #define arginfo_class_PharData_webPhar arginfo_class_Phar_webPhar
347
348 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_PharFileInfo___construct, 0, 0, 1)
349 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
350 ZEND_END_ARG_INFO()
351
352 #define arginfo_class_PharFileInfo___destruct arginfo_class_Phar___destruct
353
354 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_PharFileInfo_chmod, 0, 1, IS_VOID, 0)
355 ZEND_ARG_TYPE_INFO(0, perms, IS_LONG, 0)
356 ZEND_END_ARG_INFO()
357
358 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_PharFileInfo_compress, 0, 0, 1)
359 ZEND_ARG_TYPE_INFO(0, compression, IS_LONG, 0)
360 ZEND_END_ARG_INFO()
361
362 #define arginfo_class_PharFileInfo_decompress arginfo_class_Phar___destruct
363
364 #define arginfo_class_PharFileInfo_delMetadata arginfo_class_Phar___destruct
365
366 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_PharFileInfo_getCompressedSize, 0, 0, IS_LONG, 0)
367 ZEND_END_ARG_INFO()
368
369 #define arginfo_class_PharFileInfo_getCRC32 arginfo_class_PharFileInfo_getCompressedSize
370
371 #define arginfo_class_PharFileInfo_getContent arginfo_class_Phar_getPath
372
373 #define arginfo_class_PharFileInfo_getMetadata arginfo_class_Phar_getMetadata
374
375 #define arginfo_class_PharFileInfo_getPharFlags arginfo_class_PharFileInfo_getCompressedSize
376
377 #define arginfo_class_PharFileInfo_hasMetadata arginfo_class_Phar_getModified
378
379 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_PharFileInfo_isCompressed, 0, 0, _IS_BOOL, 0)
380 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, compression, IS_LONG, 1, "null")
381 ZEND_END_ARG_INFO()
382
383 #define arginfo_class_PharFileInfo_isCRCChecked arginfo_class_Phar_getModified
384
385 #define arginfo_class_PharFileInfo_setMetadata arginfo_class_Phar_setMetadata
386
387
388 ZEND_METHOD(Phar, __construct);
389 ZEND_METHOD(Phar, __destruct);
390 ZEND_METHOD(Phar, addEmptyDir);
391 ZEND_METHOD(Phar, addFile);
392 ZEND_METHOD(Phar, addFromString);
393 ZEND_METHOD(Phar, buildFromDirectory);
394 ZEND_METHOD(Phar, buildFromIterator);
395 ZEND_METHOD(Phar, compressFiles);
396 ZEND_METHOD(Phar, decompressFiles);
397 ZEND_METHOD(Phar, compress);
398 ZEND_METHOD(Phar, decompress);
399 ZEND_METHOD(Phar, convertToExecutable);
400 ZEND_METHOD(Phar, convertToData);
401 ZEND_METHOD(Phar, copy);
402 ZEND_METHOD(Phar, count);
403 ZEND_METHOD(Phar, delete);
404 ZEND_METHOD(Phar, delMetadata);
405 ZEND_METHOD(Phar, extractTo);
406 ZEND_METHOD(Phar, getAlias);
407 ZEND_METHOD(Phar, getPath);
408 ZEND_METHOD(Phar, getMetadata);
409 ZEND_METHOD(Phar, getModified);
410 ZEND_METHOD(Phar, getSignature);
411 ZEND_METHOD(Phar, getStub);
412 ZEND_METHOD(Phar, getVersion);
413 ZEND_METHOD(Phar, hasMetadata);
414 ZEND_METHOD(Phar, isBuffering);
415 ZEND_METHOD(Phar, isCompressed);
416 ZEND_METHOD(Phar, isFileFormat);
417 ZEND_METHOD(Phar, isWritable);
418 ZEND_METHOD(Phar, offsetExists);
419 ZEND_METHOD(Phar, offsetGet);
420 ZEND_METHOD(Phar, offsetSet);
421 ZEND_METHOD(Phar, offsetUnset);
422 ZEND_METHOD(Phar, setAlias);
423 ZEND_METHOD(Phar, setDefaultStub);
424 ZEND_METHOD(Phar, setMetadata);
425 ZEND_METHOD(Phar, setSignatureAlgorithm);
426 ZEND_METHOD(Phar, setStub);
427 ZEND_METHOD(Phar, startBuffering);
428 ZEND_METHOD(Phar, stopBuffering);
429 ZEND_METHOD(Phar, apiVersion);
430 ZEND_METHOD(Phar, canCompress);
431 ZEND_METHOD(Phar, canWrite);
432 ZEND_METHOD(Phar, createDefaultStub);
433 ZEND_METHOD(Phar, getSupportedCompression);
434 ZEND_METHOD(Phar, getSupportedSignatures);
435 ZEND_METHOD(Phar, interceptFileFuncs);
436 ZEND_METHOD(Phar, isValidPharFilename);
437 ZEND_METHOD(Phar, loadPhar);
438 ZEND_METHOD(Phar, mapPhar);
439 ZEND_METHOD(Phar, running);
440 ZEND_METHOD(Phar, mount);
441 ZEND_METHOD(Phar, mungServer);
442 ZEND_METHOD(Phar, unlinkArchive);
443 ZEND_METHOD(Phar, webPhar);
444 ZEND_METHOD(PharFileInfo, __construct);
445 ZEND_METHOD(PharFileInfo, __destruct);
446 ZEND_METHOD(PharFileInfo, chmod);
447 ZEND_METHOD(PharFileInfo, compress);
448 ZEND_METHOD(PharFileInfo, decompress);
449 ZEND_METHOD(PharFileInfo, delMetadata);
450 ZEND_METHOD(PharFileInfo, getCompressedSize);
451 ZEND_METHOD(PharFileInfo, getCRC32);
452 ZEND_METHOD(PharFileInfo, getContent);
453 ZEND_METHOD(PharFileInfo, getMetadata);
454 ZEND_METHOD(PharFileInfo, getPharFlags);
455 ZEND_METHOD(PharFileInfo, hasMetadata);
456 ZEND_METHOD(PharFileInfo, isCompressed);
457 ZEND_METHOD(PharFileInfo, isCRCChecked);
458 ZEND_METHOD(PharFileInfo, setMetadata);
459
460
461 static const zend_function_entry class_PharException_methods[] = {
462 ZEND_FE_END
463 };
464
465
466 static const zend_function_entry class_Phar_methods[] = {
467 ZEND_ME(Phar, __construct, arginfo_class_Phar___construct, ZEND_ACC_PUBLIC)
468 ZEND_ME(Phar, __destruct, arginfo_class_Phar___destruct, ZEND_ACC_PUBLIC)
469 ZEND_ME(Phar, addEmptyDir, arginfo_class_Phar_addEmptyDir, ZEND_ACC_PUBLIC)
470 ZEND_ME(Phar, addFile, arginfo_class_Phar_addFile, ZEND_ACC_PUBLIC)
471 ZEND_ME(Phar, addFromString, arginfo_class_Phar_addFromString, ZEND_ACC_PUBLIC)
472 ZEND_ME(Phar, buildFromDirectory, arginfo_class_Phar_buildFromDirectory, ZEND_ACC_PUBLIC)
473 ZEND_ME(Phar, buildFromIterator, arginfo_class_Phar_buildFromIterator, ZEND_ACC_PUBLIC)
474 ZEND_ME(Phar, compressFiles, arginfo_class_Phar_compressFiles, ZEND_ACC_PUBLIC)
475 ZEND_ME(Phar, decompressFiles, arginfo_class_Phar_decompressFiles, ZEND_ACC_PUBLIC)
476 ZEND_ME(Phar, compress, arginfo_class_Phar_compress, ZEND_ACC_PUBLIC)
477 ZEND_ME(Phar, decompress, arginfo_class_Phar_decompress, ZEND_ACC_PUBLIC)
478 ZEND_ME(Phar, convertToExecutable, arginfo_class_Phar_convertToExecutable, ZEND_ACC_PUBLIC)
479 ZEND_ME(Phar, convertToData, arginfo_class_Phar_convertToData, ZEND_ACC_PUBLIC)
480 ZEND_ME(Phar, copy, arginfo_class_Phar_copy, ZEND_ACC_PUBLIC)
481 ZEND_ME(Phar, count, arginfo_class_Phar_count, ZEND_ACC_PUBLIC)
482 ZEND_ME(Phar, delete, arginfo_class_Phar_delete, ZEND_ACC_PUBLIC)
483 ZEND_ME(Phar, delMetadata, arginfo_class_Phar_delMetadata, ZEND_ACC_PUBLIC)
484 ZEND_ME(Phar, extractTo, arginfo_class_Phar_extractTo, ZEND_ACC_PUBLIC)
485 ZEND_ME(Phar, getAlias, arginfo_class_Phar_getAlias, ZEND_ACC_PUBLIC)
486 ZEND_ME(Phar, getPath, arginfo_class_Phar_getPath, ZEND_ACC_PUBLIC)
487 ZEND_ME(Phar, getMetadata, arginfo_class_Phar_getMetadata, ZEND_ACC_PUBLIC)
488 ZEND_ME(Phar, getModified, arginfo_class_Phar_getModified, ZEND_ACC_PUBLIC)
489 ZEND_ME(Phar, getSignature, arginfo_class_Phar_getSignature, ZEND_ACC_PUBLIC)
490 ZEND_ME(Phar, getStub, arginfo_class_Phar_getStub, ZEND_ACC_PUBLIC)
491 ZEND_ME(Phar, getVersion, arginfo_class_Phar_getVersion, ZEND_ACC_PUBLIC)
492 ZEND_ME(Phar, hasMetadata, arginfo_class_Phar_hasMetadata, ZEND_ACC_PUBLIC)
493 ZEND_ME(Phar, isBuffering, arginfo_class_Phar_isBuffering, ZEND_ACC_PUBLIC)
494 ZEND_ME(Phar, isCompressed, arginfo_class_Phar_isCompressed, ZEND_ACC_PUBLIC)
495 ZEND_ME(Phar, isFileFormat, arginfo_class_Phar_isFileFormat, ZEND_ACC_PUBLIC)
496 ZEND_ME(Phar, isWritable, arginfo_class_Phar_isWritable, ZEND_ACC_PUBLIC)
497 ZEND_ME(Phar, offsetExists, arginfo_class_Phar_offsetExists, ZEND_ACC_PUBLIC)
498 ZEND_ME(Phar, offsetGet, arginfo_class_Phar_offsetGet, ZEND_ACC_PUBLIC)
499 ZEND_ME(Phar, offsetSet, arginfo_class_Phar_offsetSet, ZEND_ACC_PUBLIC)
500 ZEND_ME(Phar, offsetUnset, arginfo_class_Phar_offsetUnset, ZEND_ACC_PUBLIC)
501 ZEND_ME(Phar, setAlias, arginfo_class_Phar_setAlias, ZEND_ACC_PUBLIC)
502 ZEND_ME(Phar, setDefaultStub, arginfo_class_Phar_setDefaultStub, ZEND_ACC_PUBLIC)
503 ZEND_ME(Phar, setMetadata, arginfo_class_Phar_setMetadata, ZEND_ACC_PUBLIC)
504 ZEND_ME(Phar, setSignatureAlgorithm, arginfo_class_Phar_setSignatureAlgorithm, ZEND_ACC_PUBLIC)
505 ZEND_ME(Phar, setStub, arginfo_class_Phar_setStub, ZEND_ACC_PUBLIC)
506 ZEND_ME(Phar, startBuffering, arginfo_class_Phar_startBuffering, ZEND_ACC_PUBLIC)
507 ZEND_ME(Phar, stopBuffering, arginfo_class_Phar_stopBuffering, ZEND_ACC_PUBLIC)
508 ZEND_ME(Phar, apiVersion, arginfo_class_Phar_apiVersion, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC|ZEND_ACC_FINAL)
509 ZEND_ME(Phar, canCompress, arginfo_class_Phar_canCompress, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC|ZEND_ACC_FINAL)
510 ZEND_ME(Phar, canWrite, arginfo_class_Phar_canWrite, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC|ZEND_ACC_FINAL)
511 ZEND_ME(Phar, createDefaultStub, arginfo_class_Phar_createDefaultStub, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC|ZEND_ACC_FINAL)
512 ZEND_ME(Phar, getSupportedCompression, arginfo_class_Phar_getSupportedCompression, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC|ZEND_ACC_FINAL)
513 ZEND_ME(Phar, getSupportedSignatures, arginfo_class_Phar_getSupportedSignatures, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC|ZEND_ACC_FINAL)
514 ZEND_ME(Phar, interceptFileFuncs, arginfo_class_Phar_interceptFileFuncs, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC|ZEND_ACC_FINAL)
515 ZEND_ME(Phar, isValidPharFilename, arginfo_class_Phar_isValidPharFilename, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC|ZEND_ACC_FINAL)
516 ZEND_ME(Phar, loadPhar, arginfo_class_Phar_loadPhar, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC|ZEND_ACC_FINAL)
517 ZEND_ME(Phar, mapPhar, arginfo_class_Phar_mapPhar, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC|ZEND_ACC_FINAL)
518 ZEND_ME(Phar, running, arginfo_class_Phar_running, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC|ZEND_ACC_FINAL)
519 ZEND_ME(Phar, mount, arginfo_class_Phar_mount, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC|ZEND_ACC_FINAL)
520 ZEND_ME(Phar, mungServer, arginfo_class_Phar_mungServer, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC|ZEND_ACC_FINAL)
521 ZEND_ME(Phar, unlinkArchive, arginfo_class_Phar_unlinkArchive, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC|ZEND_ACC_FINAL)
522 ZEND_ME(Phar, webPhar, arginfo_class_Phar_webPhar, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC|ZEND_ACC_FINAL)
523 ZEND_FE_END
524 };
525
526
527 static const zend_function_entry class_PharData_methods[] = {
528 ZEND_MALIAS(Phar, __construct, __construct, arginfo_class_PharData___construct, ZEND_ACC_PUBLIC)
529 ZEND_MALIAS(Phar, __destruct, __destruct, arginfo_class_PharData___destruct, ZEND_ACC_PUBLIC)
530 ZEND_MALIAS(Phar, addEmptyDir, addEmptyDir, arginfo_class_PharData_addEmptyDir, ZEND_ACC_PUBLIC)
531 ZEND_MALIAS(Phar, addFile, addFile, arginfo_class_PharData_addFile, ZEND_ACC_PUBLIC)
532 ZEND_MALIAS(Phar, addFromString, addFromString, arginfo_class_PharData_addFromString, ZEND_ACC_PUBLIC)
533 ZEND_MALIAS(Phar, buildFromDirectory, buildFromDirectory, arginfo_class_PharData_buildFromDirectory, ZEND_ACC_PUBLIC)
534 ZEND_MALIAS(Phar, buildFromIterator, buildFromIterator, arginfo_class_PharData_buildFromIterator, ZEND_ACC_PUBLIC)
535 ZEND_MALIAS(Phar, compressFiles, compressFiles, arginfo_class_PharData_compressFiles, ZEND_ACC_PUBLIC)
536 ZEND_MALIAS(Phar, decompressFiles, decompressFiles, arginfo_class_PharData_decompressFiles, ZEND_ACC_PUBLIC)
537 ZEND_MALIAS(Phar, compress, compress, arginfo_class_PharData_compress, ZEND_ACC_PUBLIC)
538 ZEND_MALIAS(Phar, decompress, decompress, arginfo_class_PharData_decompress, ZEND_ACC_PUBLIC)
539 ZEND_MALIAS(Phar, convertToExecutable, convertToExecutable, arginfo_class_PharData_convertToExecutable, ZEND_ACC_PUBLIC)
540 ZEND_MALIAS(Phar, convertToData, convertToData, arginfo_class_PharData_convertToData, ZEND_ACC_PUBLIC)
541 ZEND_MALIAS(Phar, copy, copy, arginfo_class_PharData_copy, ZEND_ACC_PUBLIC)
542 ZEND_MALIAS(Phar, count, count, arginfo_class_PharData_count, ZEND_ACC_PUBLIC)
543 ZEND_MALIAS(Phar, delete, delete, arginfo_class_PharData_delete, ZEND_ACC_PUBLIC)
544 ZEND_MALIAS(Phar, delMetadata, delMetadata, arginfo_class_PharData_delMetadata, ZEND_ACC_PUBLIC)
545 ZEND_MALIAS(Phar, extractTo, extractTo, arginfo_class_PharData_extractTo, ZEND_ACC_PUBLIC)
546 ZEND_MALIAS(Phar, getAlias, getAlias, arginfo_class_PharData_getAlias, ZEND_ACC_PUBLIC)
547 ZEND_MALIAS(Phar, getPath, getPath, arginfo_class_PharData_getPath, ZEND_ACC_PUBLIC)
548 ZEND_MALIAS(Phar, getMetadata, getMetadata, arginfo_class_PharData_getMetadata, ZEND_ACC_PUBLIC)
549 ZEND_MALIAS(Phar, getModified, getModified, arginfo_class_PharData_getModified, ZEND_ACC_PUBLIC)
550 ZEND_MALIAS(Phar, getSignature, getSignature, arginfo_class_PharData_getSignature, ZEND_ACC_PUBLIC)
551 ZEND_MALIAS(Phar, getStub, getStub, arginfo_class_PharData_getStub, ZEND_ACC_PUBLIC)
552 ZEND_MALIAS(Phar, getVersion, getVersion, arginfo_class_PharData_getVersion, ZEND_ACC_PUBLIC)
553 ZEND_MALIAS(Phar, hasMetadata, hasMetadata, arginfo_class_PharData_hasMetadata, ZEND_ACC_PUBLIC)
554 ZEND_MALIAS(Phar, isBuffering, isBuffering, arginfo_class_PharData_isBuffering, ZEND_ACC_PUBLIC)
555 ZEND_MALIAS(Phar, isCompressed, isCompressed, arginfo_class_PharData_isCompressed, ZEND_ACC_PUBLIC)
556 ZEND_MALIAS(Phar, isFileFormat, isFileFormat, arginfo_class_PharData_isFileFormat, ZEND_ACC_PUBLIC)
557 ZEND_MALIAS(Phar, isWritable, isWritable, arginfo_class_PharData_isWritable, ZEND_ACC_PUBLIC)
558 ZEND_MALIAS(Phar, offsetExists, offsetExists, arginfo_class_PharData_offsetExists, ZEND_ACC_PUBLIC)
559 ZEND_MALIAS(Phar, offsetGet, offsetGet, arginfo_class_PharData_offsetGet, ZEND_ACC_PUBLIC)
560 ZEND_MALIAS(Phar, offsetSet, offsetSet, arginfo_class_PharData_offsetSet, ZEND_ACC_PUBLIC)
561 ZEND_MALIAS(Phar, offsetUnset, offsetUnset, arginfo_class_PharData_offsetUnset, ZEND_ACC_PUBLIC)
562 ZEND_MALIAS(Phar, setAlias, setAlias, arginfo_class_PharData_setAlias, ZEND_ACC_PUBLIC)
563 ZEND_MALIAS(Phar, setDefaultStub, setDefaultStub, arginfo_class_PharData_setDefaultStub, ZEND_ACC_PUBLIC)
564 ZEND_MALIAS(Phar, setMetadata, setMetadata, arginfo_class_PharData_setMetadata, ZEND_ACC_PUBLIC)
565 ZEND_MALIAS(Phar, setSignatureAlgorithm, setSignatureAlgorithm, arginfo_class_PharData_setSignatureAlgorithm, ZEND_ACC_PUBLIC)
566 ZEND_MALIAS(Phar, setStub, setStub, arginfo_class_PharData_setStub, ZEND_ACC_PUBLIC)
567 ZEND_MALIAS(Phar, startBuffering, startBuffering, arginfo_class_PharData_startBuffering, ZEND_ACC_PUBLIC)
568 ZEND_MALIAS(Phar, stopBuffering, stopBuffering, arginfo_class_PharData_stopBuffering, ZEND_ACC_PUBLIC)
569 ZEND_MALIAS(Phar, apiVersion, apiVersion, arginfo_class_PharData_apiVersion, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC|ZEND_ACC_FINAL)
570 ZEND_MALIAS(Phar, canCompress, canCompress, arginfo_class_PharData_canCompress, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC|ZEND_ACC_FINAL)
571 ZEND_MALIAS(Phar, canWrite, canWrite, arginfo_class_PharData_canWrite, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC|ZEND_ACC_FINAL)
572 ZEND_MALIAS(Phar, createDefaultStub, createDefaultStub, arginfo_class_PharData_createDefaultStub, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC|ZEND_ACC_FINAL)
573 ZEND_MALIAS(Phar, getSupportedCompression, getSupportedCompression, arginfo_class_PharData_getSupportedCompression, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC|ZEND_ACC_FINAL)
574 ZEND_MALIAS(Phar, getSupportedSignatures, getSupportedSignatures, arginfo_class_PharData_getSupportedSignatures, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC|ZEND_ACC_FINAL)
575 ZEND_MALIAS(Phar, interceptFileFuncs, interceptFileFuncs, arginfo_class_PharData_interceptFileFuncs, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC|ZEND_ACC_FINAL)
576 ZEND_MALIAS(Phar, isValidPharFilename, isValidPharFilename, arginfo_class_PharData_isValidPharFilename, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC|ZEND_ACC_FINAL)
577 ZEND_MALIAS(Phar, loadPhar, loadPhar, arginfo_class_PharData_loadPhar, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC|ZEND_ACC_FINAL)
578 ZEND_MALIAS(Phar, mapPhar, mapPhar, arginfo_class_PharData_mapPhar, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC|ZEND_ACC_FINAL)
579 ZEND_MALIAS(Phar, running, running, arginfo_class_PharData_running, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC|ZEND_ACC_FINAL)
580 ZEND_MALIAS(Phar, mount, mount, arginfo_class_PharData_mount, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC|ZEND_ACC_FINAL)
581 ZEND_MALIAS(Phar, mungServer, mungServer, arginfo_class_PharData_mungServer, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC|ZEND_ACC_FINAL)
582 ZEND_MALIAS(Phar, unlinkArchive, unlinkArchive, arginfo_class_PharData_unlinkArchive, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC|ZEND_ACC_FINAL)
583 ZEND_MALIAS(Phar, webPhar, webPhar, arginfo_class_PharData_webPhar, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC|ZEND_ACC_FINAL)
584 ZEND_FE_END
585 };
586
587
588 static const zend_function_entry class_PharFileInfo_methods[] = {
589 ZEND_ME(PharFileInfo, __construct, arginfo_class_PharFileInfo___construct, ZEND_ACC_PUBLIC)
590 ZEND_ME(PharFileInfo, __destruct, arginfo_class_PharFileInfo___destruct, ZEND_ACC_PUBLIC)
591 ZEND_ME(PharFileInfo, chmod, arginfo_class_PharFileInfo_chmod, ZEND_ACC_PUBLIC)
592 ZEND_ME(PharFileInfo, compress, arginfo_class_PharFileInfo_compress, ZEND_ACC_PUBLIC)
593 ZEND_ME(PharFileInfo, decompress, arginfo_class_PharFileInfo_decompress, ZEND_ACC_PUBLIC)
594 ZEND_ME(PharFileInfo, delMetadata, arginfo_class_PharFileInfo_delMetadata, ZEND_ACC_PUBLIC)
595 ZEND_ME(PharFileInfo, getCompressedSize, arginfo_class_PharFileInfo_getCompressedSize, ZEND_ACC_PUBLIC)
596 ZEND_ME(PharFileInfo, getCRC32, arginfo_class_PharFileInfo_getCRC32, ZEND_ACC_PUBLIC)
597 ZEND_ME(PharFileInfo, getContent, arginfo_class_PharFileInfo_getContent, ZEND_ACC_PUBLIC)
598 ZEND_ME(PharFileInfo, getMetadata, arginfo_class_PharFileInfo_getMetadata, ZEND_ACC_PUBLIC)
599 ZEND_ME(PharFileInfo, getPharFlags, arginfo_class_PharFileInfo_getPharFlags, ZEND_ACC_PUBLIC)
600 ZEND_ME(PharFileInfo, hasMetadata, arginfo_class_PharFileInfo_hasMetadata, ZEND_ACC_PUBLIC)
601 ZEND_ME(PharFileInfo, isCompressed, arginfo_class_PharFileInfo_isCompressed, ZEND_ACC_PUBLIC)
602 ZEND_ME(PharFileInfo, isCRCChecked, arginfo_class_PharFileInfo_isCRCChecked, ZEND_ACC_PUBLIC)
603 ZEND_ME(PharFileInfo, setMetadata, arginfo_class_PharFileInfo_setMetadata, ZEND_ACC_PUBLIC)
604 ZEND_FE_END
605 };
606
register_class_PharException(zend_class_entry * class_entry_Exception)607 static zend_class_entry *register_class_PharException(zend_class_entry *class_entry_Exception)
608 {
609 zend_class_entry ce, *class_entry;
610
611 INIT_CLASS_ENTRY(ce, "PharException", class_PharException_methods);
612 class_entry = zend_register_internal_class_ex(&ce, class_entry_Exception);
613
614 return class_entry;
615 }
616
register_class_Phar(zend_class_entry * class_entry_RecursiveDirectoryIterator,zend_class_entry * class_entry_Countable,zend_class_entry * class_entry_ArrayAccess)617 static zend_class_entry *register_class_Phar(zend_class_entry *class_entry_RecursiveDirectoryIterator, zend_class_entry *class_entry_Countable, zend_class_entry *class_entry_ArrayAccess)
618 {
619 zend_class_entry ce, *class_entry;
620
621 INIT_CLASS_ENTRY(ce, "Phar", class_Phar_methods);
622 class_entry = zend_register_internal_class_ex(&ce, class_entry_RecursiveDirectoryIterator);
623 zend_class_implements(class_entry, 2, class_entry_Countable, class_entry_ArrayAccess);
624
625 zval const_BZ2_value;
626 ZVAL_LONG(&const_BZ2_value, PHAR_ENT_COMPRESSED_BZ2);
627 zend_string *const_BZ2_name = zend_string_init_interned("BZ2", sizeof("BZ2") - 1, 1);
628 zend_declare_typed_class_constant(class_entry, const_BZ2_name, &const_BZ2_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
629 zend_string_release(const_BZ2_name);
630
631 zval const_GZ_value;
632 ZVAL_LONG(&const_GZ_value, PHAR_ENT_COMPRESSED_GZ);
633 zend_string *const_GZ_name = zend_string_init_interned("GZ", sizeof("GZ") - 1, 1);
634 zend_declare_typed_class_constant(class_entry, const_GZ_name, &const_GZ_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
635 zend_string_release(const_GZ_name);
636
637 zval const_NONE_value;
638 ZVAL_LONG(&const_NONE_value, PHAR_ENT_COMPRESSED_NONE);
639 zend_string *const_NONE_name = zend_string_init_interned("NONE", sizeof("NONE") - 1, 1);
640 zend_declare_typed_class_constant(class_entry, const_NONE_name, &const_NONE_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
641 zend_string_release(const_NONE_name);
642
643 zval const_PHAR_value;
644 ZVAL_LONG(&const_PHAR_value, PHAR_FORMAT_PHAR);
645 zend_string *const_PHAR_name = zend_string_init_interned("PHAR", sizeof("PHAR") - 1, 1);
646 zend_declare_typed_class_constant(class_entry, const_PHAR_name, &const_PHAR_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
647 zend_string_release(const_PHAR_name);
648
649 zval const_TAR_value;
650 ZVAL_LONG(&const_TAR_value, PHAR_FORMAT_TAR);
651 zend_string *const_TAR_name = zend_string_init_interned("TAR", sizeof("TAR") - 1, 1);
652 zend_declare_typed_class_constant(class_entry, const_TAR_name, &const_TAR_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
653 zend_string_release(const_TAR_name);
654
655 zval const_ZIP_value;
656 ZVAL_LONG(&const_ZIP_value, PHAR_FORMAT_ZIP);
657 zend_string *const_ZIP_name = zend_string_init_interned("ZIP", sizeof("ZIP") - 1, 1);
658 zend_declare_typed_class_constant(class_entry, const_ZIP_name, &const_ZIP_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
659 zend_string_release(const_ZIP_name);
660
661 zval const_COMPRESSED_value;
662 ZVAL_LONG(&const_COMPRESSED_value, PHAR_ENT_COMPRESSION_MASK);
663 zend_string *const_COMPRESSED_name = zend_string_init_interned("COMPRESSED", sizeof("COMPRESSED") - 1, 1);
664 zend_declare_typed_class_constant(class_entry, const_COMPRESSED_name, &const_COMPRESSED_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
665 zend_string_release(const_COMPRESSED_name);
666
667 zval const_PHP_value;
668 ZVAL_LONG(&const_PHP_value, PHAR_MIME_PHP);
669 zend_string *const_PHP_name = zend_string_init_interned("PHP", sizeof("PHP") - 1, 1);
670 zend_declare_typed_class_constant(class_entry, const_PHP_name, &const_PHP_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
671 zend_string_release(const_PHP_name);
672
673 zval const_PHPS_value;
674 ZVAL_LONG(&const_PHPS_value, PHAR_MIME_PHPS);
675 zend_string *const_PHPS_name = zend_string_init_interned("PHPS", sizeof("PHPS") - 1, 1);
676 zend_declare_typed_class_constant(class_entry, const_PHPS_name, &const_PHPS_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
677 zend_string_release(const_PHPS_name);
678
679 zval const_MD5_value;
680 ZVAL_LONG(&const_MD5_value, PHAR_SIG_MD5);
681 zend_string *const_MD5_name = zend_string_init_interned("MD5", sizeof("MD5") - 1, 1);
682 zend_declare_typed_class_constant(class_entry, const_MD5_name, &const_MD5_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
683 zend_string_release(const_MD5_name);
684
685 zval const_OPENSSL_value;
686 ZVAL_LONG(&const_OPENSSL_value, PHAR_SIG_OPENSSL);
687 zend_string *const_OPENSSL_name = zend_string_init_interned("OPENSSL", sizeof("OPENSSL") - 1, 1);
688 zend_declare_typed_class_constant(class_entry, const_OPENSSL_name, &const_OPENSSL_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
689 zend_string_release(const_OPENSSL_name);
690
691 zval const_OPENSSL_SHA256_value;
692 ZVAL_LONG(&const_OPENSSL_SHA256_value, PHAR_SIG_OPENSSL_SHA256);
693 zend_string *const_OPENSSL_SHA256_name = zend_string_init_interned("OPENSSL_SHA256", sizeof("OPENSSL_SHA256") - 1, 1);
694 zend_declare_typed_class_constant(class_entry, const_OPENSSL_SHA256_name, &const_OPENSSL_SHA256_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
695 zend_string_release(const_OPENSSL_SHA256_name);
696
697 zval const_OPENSSL_SHA512_value;
698 ZVAL_LONG(&const_OPENSSL_SHA512_value, PHAR_SIG_OPENSSL_SHA512);
699 zend_string *const_OPENSSL_SHA512_name = zend_string_init_interned("OPENSSL_SHA512", sizeof("OPENSSL_SHA512") - 1, 1);
700 zend_declare_typed_class_constant(class_entry, const_OPENSSL_SHA512_name, &const_OPENSSL_SHA512_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
701 zend_string_release(const_OPENSSL_SHA512_name);
702
703 zval const_SHA1_value;
704 ZVAL_LONG(&const_SHA1_value, PHAR_SIG_SHA1);
705 zend_string *const_SHA1_name = zend_string_init_interned("SHA1", sizeof("SHA1") - 1, 1);
706 zend_declare_typed_class_constant(class_entry, const_SHA1_name, &const_SHA1_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
707 zend_string_release(const_SHA1_name);
708
709 zval const_SHA256_value;
710 ZVAL_LONG(&const_SHA256_value, PHAR_SIG_SHA256);
711 zend_string *const_SHA256_name = zend_string_init_interned("SHA256", sizeof("SHA256") - 1, 1);
712 zend_declare_typed_class_constant(class_entry, const_SHA256_name, &const_SHA256_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
713 zend_string_release(const_SHA256_name);
714
715 zval const_SHA512_value;
716 ZVAL_LONG(&const_SHA512_value, PHAR_SIG_SHA512);
717 zend_string *const_SHA512_name = zend_string_init_interned("SHA512", sizeof("SHA512") - 1, 1);
718 zend_declare_typed_class_constant(class_entry, const_SHA512_name, &const_SHA512_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
719 zend_string_release(const_SHA512_name);
720
721 return class_entry;
722 }
723
register_class_PharData(zend_class_entry * class_entry_RecursiveDirectoryIterator,zend_class_entry * class_entry_Countable,zend_class_entry * class_entry_ArrayAccess)724 static zend_class_entry *register_class_PharData(zend_class_entry *class_entry_RecursiveDirectoryIterator, zend_class_entry *class_entry_Countable, zend_class_entry *class_entry_ArrayAccess)
725 {
726 zend_class_entry ce, *class_entry;
727
728 INIT_CLASS_ENTRY(ce, "PharData", class_PharData_methods);
729 class_entry = zend_register_internal_class_ex(&ce, class_entry_RecursiveDirectoryIterator);
730 zend_class_implements(class_entry, 2, class_entry_Countable, class_entry_ArrayAccess);
731
732 return class_entry;
733 }
734
register_class_PharFileInfo(zend_class_entry * class_entry_SplFileInfo)735 static zend_class_entry *register_class_PharFileInfo(zend_class_entry *class_entry_SplFileInfo)
736 {
737 zend_class_entry ce, *class_entry;
738
739 INIT_CLASS_ENTRY(ce, "PharFileInfo", class_PharFileInfo_methods);
740 class_entry = zend_register_internal_class_ex(&ce, class_entry_SplFileInfo);
741
742 return class_entry;
743 }
744