1 /* This is a generated file, edit the .stub.php file instead.
2 * Stub hash: e277d3a5699db6aeedb08642720be841dc37d683 */
3
4 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_set_time_limit, 0, 1, _IS_BOOL, 0)
5 ZEND_ARG_TYPE_INFO(0, seconds, IS_LONG, 0)
6 ZEND_END_ARG_INFO()
7
8 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_header_register_callback, 0, 1, _IS_BOOL, 0)
9 ZEND_ARG_TYPE_INFO(0, callback, IS_CALLABLE, 0)
10 ZEND_END_ARG_INFO()
11
12 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_ob_start, 0, 0, _IS_BOOL, 0)
13 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, callback, "null")
14 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, chunk_size, IS_LONG, 0, "0")
15 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flags, IS_LONG, 0, "PHP_OUTPUT_HANDLER_STDFLAGS")
16 ZEND_END_ARG_INFO()
17
18 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_ob_flush, 0, 0, _IS_BOOL, 0)
19 ZEND_END_ARG_INFO()
20
21 #define arginfo_ob_clean arginfo_ob_flush
22
23 #define arginfo_ob_end_flush arginfo_ob_flush
24
25 #define arginfo_ob_end_clean arginfo_ob_flush
26
27 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_ob_get_flush, 0, 0, MAY_BE_STRING|MAY_BE_FALSE)
28 ZEND_END_ARG_INFO()
29
30 #define arginfo_ob_get_clean arginfo_ob_get_flush
31
32 #define arginfo_ob_get_contents arginfo_ob_get_flush
33
34 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_ob_get_level, 0, 0, IS_LONG, 0)
35 ZEND_END_ARG_INFO()
36
37 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_ob_get_length, 0, 0, MAY_BE_LONG|MAY_BE_FALSE)
38 ZEND_END_ARG_INFO()
39
40 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_ob_list_handlers, 0, 0, IS_ARRAY, 0)
41 ZEND_END_ARG_INFO()
42
43 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_ob_get_status, 0, 0, IS_ARRAY, 0)
44 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, full_status, _IS_BOOL, 0, "false")
45 ZEND_END_ARG_INFO()
46
47 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_ob_implicit_flush, 0, 0, IS_VOID, 0)
48 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, enable, _IS_BOOL, 0, "true")
49 ZEND_END_ARG_INFO()
50
51 #define arginfo_output_reset_rewrite_vars arginfo_ob_flush
52
53 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_output_add_rewrite_var, 0, 2, _IS_BOOL, 0)
54 ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
55 ZEND_ARG_TYPE_INFO(0, value, IS_STRING, 0)
56 ZEND_END_ARG_INFO()
57
58 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_stream_wrapper_register, 0, 2, _IS_BOOL, 0)
59 ZEND_ARG_TYPE_INFO(0, protocol, IS_STRING, 0)
60 ZEND_ARG_TYPE_INFO(0, class, IS_STRING, 0)
61 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flags, IS_LONG, 0, "0")
62 ZEND_END_ARG_INFO()
63
64 #define arginfo_stream_register_wrapper arginfo_stream_wrapper_register
65
66 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_stream_wrapper_unregister, 0, 1, _IS_BOOL, 0)
67 ZEND_ARG_TYPE_INFO(0, protocol, IS_STRING, 0)
68 ZEND_END_ARG_INFO()
69
70 #define arginfo_stream_wrapper_restore arginfo_stream_wrapper_unregister
71
72 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_array_push, 0, 1, IS_LONG, 0)
73 ZEND_ARG_TYPE_INFO(1, array, IS_ARRAY, 0)
74 ZEND_ARG_VARIADIC_TYPE_INFO(0, values, IS_MIXED, 0)
75 ZEND_END_ARG_INFO()
76
77 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_krsort, 0, 1, IS_TRUE, 0)
78 ZEND_ARG_TYPE_INFO(1, array, IS_ARRAY, 0)
79 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flags, IS_LONG, 0, "SORT_REGULAR")
80 ZEND_END_ARG_INFO()
81
82 #define arginfo_ksort arginfo_krsort
83
84 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_count, 0, 1, IS_LONG, 0)
85 ZEND_ARG_OBJ_TYPE_MASK(0, value, Countable, MAY_BE_ARRAY, NULL)
86 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, mode, IS_LONG, 0, "COUNT_NORMAL")
87 ZEND_END_ARG_INFO()
88
89 #define arginfo_sizeof arginfo_count
90
91 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_natsort, 0, 1, IS_TRUE, 0)
92 ZEND_ARG_TYPE_INFO(1, array, IS_ARRAY, 0)
93 ZEND_END_ARG_INFO()
94
95 #define arginfo_natcasesort arginfo_natsort
96
97 #define arginfo_asort arginfo_krsort
98
99 #define arginfo_arsort arginfo_krsort
100
101 #define arginfo_sort arginfo_krsort
102
103 #define arginfo_rsort arginfo_krsort
104
105 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_usort, 0, 2, IS_TRUE, 0)
106 ZEND_ARG_TYPE_INFO(1, array, IS_ARRAY, 0)
107 ZEND_ARG_TYPE_INFO(0, callback, IS_CALLABLE, 0)
108 ZEND_END_ARG_INFO()
109
110 #define arginfo_uasort arginfo_usort
111
112 #define arginfo_uksort arginfo_usort
113
114 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_end, 0, 1, IS_MIXED, 0)
115 ZEND_ARG_TYPE_MASK(1, array, MAY_BE_ARRAY|MAY_BE_OBJECT, NULL)
116 ZEND_END_ARG_INFO()
117
118 #define arginfo_prev arginfo_end
119
120 #define arginfo_next arginfo_end
121
122 #define arginfo_reset arginfo_end
123
124 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_current, 0, 1, IS_MIXED, 0)
125 ZEND_ARG_TYPE_MASK(0, array, MAY_BE_ARRAY|MAY_BE_OBJECT, NULL)
126 ZEND_END_ARG_INFO()
127
128 #define arginfo_pos arginfo_current
129
130 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_key, 0, 1, MAY_BE_LONG|MAY_BE_STRING|MAY_BE_NULL)
131 ZEND_ARG_TYPE_MASK(0, array, MAY_BE_ARRAY|MAY_BE_OBJECT, NULL)
132 ZEND_END_ARG_INFO()
133
134 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_min, 0, 1, IS_MIXED, 0)
135 ZEND_ARG_TYPE_INFO(0, value, IS_MIXED, 0)
136 ZEND_ARG_VARIADIC_TYPE_INFO(0, values, IS_MIXED, 0)
137 ZEND_END_ARG_INFO()
138
139 #define arginfo_max arginfo_min
140
141 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_array_walk, 0, 2, IS_TRUE, 0)
142 ZEND_ARG_TYPE_MASK(1, array, MAY_BE_ARRAY|MAY_BE_OBJECT, NULL)
143 ZEND_ARG_TYPE_INFO(0, callback, IS_CALLABLE, 0)
144 ZEND_ARG_TYPE_INFO(0, arg, IS_MIXED, 0)
145 ZEND_END_ARG_INFO()
146
147 #define arginfo_array_walk_recursive arginfo_array_walk
148
149 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_in_array, 0, 2, _IS_BOOL, 0)
150 ZEND_ARG_TYPE_INFO(0, needle, IS_MIXED, 0)
151 ZEND_ARG_TYPE_INFO(0, haystack, IS_ARRAY, 0)
152 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, strict, _IS_BOOL, 0, "false")
153 ZEND_END_ARG_INFO()
154
155 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_array_search, 0, 2, MAY_BE_LONG|MAY_BE_STRING|MAY_BE_FALSE)
156 ZEND_ARG_TYPE_INFO(0, needle, IS_MIXED, 0)
157 ZEND_ARG_TYPE_INFO(0, haystack, IS_ARRAY, 0)
158 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, strict, _IS_BOOL, 0, "false")
159 ZEND_END_ARG_INFO()
160
161 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_extract, 0, 1, IS_LONG, 0)
162 ZEND_ARG_TYPE_INFO(ZEND_SEND_PREFER_REF, array, IS_ARRAY, 0)
163 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flags, IS_LONG, 0, "EXTR_OVERWRITE")
164 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, prefix, IS_STRING, 0, "\"\"")
165 ZEND_END_ARG_INFO()
166
167 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_compact, 0, 1, IS_ARRAY, 0)
168 ZEND_ARG_INFO(0, var_name)
169 ZEND_ARG_VARIADIC_INFO(0, var_names)
170 ZEND_END_ARG_INFO()
171
172 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_array_fill, 0, 3, IS_ARRAY, 0)
173 ZEND_ARG_TYPE_INFO(0, start_index, IS_LONG, 0)
174 ZEND_ARG_TYPE_INFO(0, count, IS_LONG, 0)
175 ZEND_ARG_TYPE_INFO(0, value, IS_MIXED, 0)
176 ZEND_END_ARG_INFO()
177
178 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_array_fill_keys, 0, 2, IS_ARRAY, 0)
179 ZEND_ARG_TYPE_INFO(0, keys, IS_ARRAY, 0)
180 ZEND_ARG_TYPE_INFO(0, value, IS_MIXED, 0)
181 ZEND_END_ARG_INFO()
182
183 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_range, 0, 2, IS_ARRAY, 0)
184 ZEND_ARG_TYPE_MASK(0, start, MAY_BE_STRING|MAY_BE_LONG|MAY_BE_DOUBLE, NULL)
185 ZEND_ARG_TYPE_MASK(0, end, MAY_BE_STRING|MAY_BE_LONG|MAY_BE_DOUBLE, NULL)
186 ZEND_ARG_TYPE_MASK(0, step, MAY_BE_LONG|MAY_BE_DOUBLE, "1")
187 ZEND_END_ARG_INFO()
188
189 #define arginfo_shuffle arginfo_natsort
190
191 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_array_pop, 0, 1, IS_MIXED, 0)
192 ZEND_ARG_TYPE_INFO(1, array, IS_ARRAY, 0)
193 ZEND_END_ARG_INFO()
194
195 #define arginfo_array_shift arginfo_array_pop
196
197 #define arginfo_array_unshift arginfo_array_push
198
199 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_array_splice, 0, 2, IS_ARRAY, 0)
200 ZEND_ARG_TYPE_INFO(1, array, IS_ARRAY, 0)
201 ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0)
202 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, length, IS_LONG, 1, "null")
203 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, replacement, IS_MIXED, 0, "[]")
204 ZEND_END_ARG_INFO()
205
206 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_array_slice, 0, 2, IS_ARRAY, 0)
207 ZEND_ARG_TYPE_INFO(0, array, IS_ARRAY, 0)
208 ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0)
209 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, length, IS_LONG, 1, "null")
210 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, preserve_keys, _IS_BOOL, 0, "false")
211 ZEND_END_ARG_INFO()
212
213 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_array_merge, 0, 0, IS_ARRAY, 0)
214 ZEND_ARG_VARIADIC_TYPE_INFO(0, arrays, IS_ARRAY, 0)
215 ZEND_END_ARG_INFO()
216
217 #define arginfo_array_merge_recursive arginfo_array_merge
218
219 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_array_replace, 0, 1, IS_ARRAY, 0)
220 ZEND_ARG_TYPE_INFO(0, array, IS_ARRAY, 0)
221 ZEND_ARG_VARIADIC_TYPE_INFO(0, replacements, IS_ARRAY, 0)
222 ZEND_END_ARG_INFO()
223
224 #define arginfo_array_replace_recursive arginfo_array_replace
225
226 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_array_keys, 0, 1, IS_ARRAY, 0)
227 ZEND_ARG_TYPE_INFO(0, array, IS_ARRAY, 0)
228 ZEND_ARG_TYPE_INFO(0, filter_value, IS_MIXED, 0)
229 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, strict, _IS_BOOL, 0, "false")
230 ZEND_END_ARG_INFO()
231
232 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_array_key_first, 0, 1, MAY_BE_LONG|MAY_BE_STRING|MAY_BE_NULL)
233 ZEND_ARG_TYPE_INFO(0, array, IS_ARRAY, 0)
234 ZEND_END_ARG_INFO()
235
236 #define arginfo_array_key_last arginfo_array_key_first
237
238 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_array_values, 0, 1, IS_ARRAY, 0)
239 ZEND_ARG_TYPE_INFO(0, array, IS_ARRAY, 0)
240 ZEND_END_ARG_INFO()
241
242 #define arginfo_array_count_values arginfo_array_values
243
244 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_array_column, 0, 2, IS_ARRAY, 0)
245 ZEND_ARG_TYPE_INFO(0, array, IS_ARRAY, 0)
246 ZEND_ARG_TYPE_MASK(0, column_key, MAY_BE_LONG|MAY_BE_STRING|MAY_BE_NULL, NULL)
247 ZEND_ARG_TYPE_MASK(0, index_key, MAY_BE_LONG|MAY_BE_STRING|MAY_BE_NULL, "null")
248 ZEND_END_ARG_INFO()
249
250 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_array_reverse, 0, 1, IS_ARRAY, 0)
251 ZEND_ARG_TYPE_INFO(0, array, IS_ARRAY, 0)
252 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, preserve_keys, _IS_BOOL, 0, "false")
253 ZEND_END_ARG_INFO()
254
255 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_array_pad, 0, 3, IS_ARRAY, 0)
256 ZEND_ARG_TYPE_INFO(0, array, IS_ARRAY, 0)
257 ZEND_ARG_TYPE_INFO(0, length, IS_LONG, 0)
258 ZEND_ARG_TYPE_INFO(0, value, IS_MIXED, 0)
259 ZEND_END_ARG_INFO()
260
261 #define arginfo_array_flip arginfo_array_values
262
263 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_array_change_key_case, 0, 1, IS_ARRAY, 0)
264 ZEND_ARG_TYPE_INFO(0, array, IS_ARRAY, 0)
265 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, case, IS_LONG, 0, "CASE_LOWER")
266 ZEND_END_ARG_INFO()
267
268 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_array_unique, 0, 1, IS_ARRAY, 0)
269 ZEND_ARG_TYPE_INFO(0, array, IS_ARRAY, 0)
270 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flags, IS_LONG, 0, "SORT_STRING")
271 ZEND_END_ARG_INFO()
272
273 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_array_intersect_key, 0, 1, IS_ARRAY, 0)
274 ZEND_ARG_TYPE_INFO(0, array, IS_ARRAY, 0)
275 ZEND_ARG_VARIADIC_TYPE_INFO(0, arrays, IS_ARRAY, 0)
276 ZEND_END_ARG_INFO()
277
278 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_array_intersect_ukey, 0, 1, IS_ARRAY, 0)
279 ZEND_ARG_TYPE_INFO(0, array, IS_ARRAY, 0)
280 ZEND_ARG_VARIADIC_INFO(0, rest)
281 ZEND_END_ARG_INFO()
282
283 #define arginfo_array_intersect arginfo_array_intersect_key
284
285 #define arginfo_array_uintersect arginfo_array_intersect_ukey
286
287 #define arginfo_array_intersect_assoc arginfo_array_intersect_key
288
289 #define arginfo_array_uintersect_assoc arginfo_array_intersect_ukey
290
291 #define arginfo_array_intersect_uassoc arginfo_array_intersect_ukey
292
293 #define arginfo_array_uintersect_uassoc arginfo_array_intersect_ukey
294
295 #define arginfo_array_diff_key arginfo_array_intersect_key
296
297 #define arginfo_array_diff_ukey arginfo_array_intersect_ukey
298
299 #define arginfo_array_diff arginfo_array_intersect_key
300
301 #define arginfo_array_udiff arginfo_array_intersect_ukey
302
303 #define arginfo_array_diff_assoc arginfo_array_intersect_key
304
305 #define arginfo_array_diff_uassoc arginfo_array_intersect_ukey
306
307 #define arginfo_array_udiff_assoc arginfo_array_intersect_ukey
308
309 #define arginfo_array_udiff_uassoc arginfo_array_intersect_ukey
310
311 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_array_multisort, 0, 1, IS_TRUE, 0)
312 ZEND_ARG_INFO(ZEND_SEND_PREFER_REF, array)
313 ZEND_ARG_VARIADIC_INFO(ZEND_SEND_PREFER_REF, rest)
314 ZEND_END_ARG_INFO()
315
316 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_array_rand, 0, 1, MAY_BE_LONG|MAY_BE_STRING|MAY_BE_ARRAY)
317 ZEND_ARG_TYPE_INFO(0, array, IS_ARRAY, 0)
318 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, num, IS_LONG, 0, "1")
319 ZEND_END_ARG_INFO()
320
321 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_array_sum, 0, 1, MAY_BE_LONG|MAY_BE_DOUBLE)
322 ZEND_ARG_TYPE_INFO(0, array, IS_ARRAY, 0)
323 ZEND_END_ARG_INFO()
324
325 #define arginfo_array_product arginfo_array_sum
326
327 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_array_reduce, 0, 2, IS_MIXED, 0)
328 ZEND_ARG_TYPE_INFO(0, array, IS_ARRAY, 0)
329 ZEND_ARG_TYPE_INFO(0, callback, IS_CALLABLE, 0)
330 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, initial, IS_MIXED, 0, "null")
331 ZEND_END_ARG_INFO()
332
333 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_array_filter, 0, 1, IS_ARRAY, 0)
334 ZEND_ARG_TYPE_INFO(0, array, IS_ARRAY, 0)
335 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, callback, IS_CALLABLE, 1, "null")
336 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, mode, IS_LONG, 0, "0")
337 ZEND_END_ARG_INFO()
338
339 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_array_find, 0, 2, IS_MIXED, 0)
340 ZEND_ARG_TYPE_INFO(0, array, IS_ARRAY, 0)
341 ZEND_ARG_TYPE_INFO(0, callback, IS_CALLABLE, 0)
342 ZEND_END_ARG_INFO()
343
344 #define arginfo_array_find_key arginfo_array_find
345
346 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_array_any, 0, 2, _IS_BOOL, 0)
347 ZEND_ARG_TYPE_INFO(0, array, IS_ARRAY, 0)
348 ZEND_ARG_TYPE_INFO(0, callback, IS_CALLABLE, 0)
349 ZEND_END_ARG_INFO()
350
351 #define arginfo_array_all arginfo_array_any
352
353 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_array_map, 0, 2, IS_ARRAY, 0)
354 ZEND_ARG_TYPE_INFO(0, callback, IS_CALLABLE, 1)
355 ZEND_ARG_TYPE_INFO(0, array, IS_ARRAY, 0)
356 ZEND_ARG_VARIADIC_TYPE_INFO(0, arrays, IS_ARRAY, 0)
357 ZEND_END_ARG_INFO()
358
359 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_array_key_exists, 0, 2, _IS_BOOL, 0)
360 ZEND_ARG_INFO(0, key)
361 ZEND_ARG_TYPE_INFO(0, array, IS_ARRAY, 0)
362 ZEND_END_ARG_INFO()
363
364 #define arginfo_key_exists arginfo_array_key_exists
365
366 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_array_chunk, 0, 2, IS_ARRAY, 0)
367 ZEND_ARG_TYPE_INFO(0, array, IS_ARRAY, 0)
368 ZEND_ARG_TYPE_INFO(0, length, IS_LONG, 0)
369 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, preserve_keys, _IS_BOOL, 0, "false")
370 ZEND_END_ARG_INFO()
371
372 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_array_combine, 0, 2, IS_ARRAY, 0)
373 ZEND_ARG_TYPE_INFO(0, keys, IS_ARRAY, 0)
374 ZEND_ARG_TYPE_INFO(0, values, IS_ARRAY, 0)
375 ZEND_END_ARG_INFO()
376
377 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_array_is_list, 0, 1, _IS_BOOL, 0)
378 ZEND_ARG_TYPE_INFO(0, array, IS_ARRAY, 0)
379 ZEND_END_ARG_INFO()
380
381 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_base64_encode, 0, 1, IS_STRING, 0)
382 ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
383 ZEND_END_ARG_INFO()
384
385 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_base64_decode, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
386 ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
387 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, strict, _IS_BOOL, 0, "false")
388 ZEND_END_ARG_INFO()
389
390 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_constant, 0, 1, IS_MIXED, 0)
391 ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
392 ZEND_END_ARG_INFO()
393
394 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_ip2long, 0, 1, MAY_BE_LONG|MAY_BE_FALSE)
395 ZEND_ARG_TYPE_INFO(0, ip, IS_STRING, 0)
396 ZEND_END_ARG_INFO()
397
398 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_long2ip, 0, 1, IS_STRING, 0)
399 ZEND_ARG_TYPE_INFO(0, ip, IS_LONG, 0)
400 ZEND_END_ARG_INFO()
401
402 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_getenv, 0, 0, MAY_BE_STRING|MAY_BE_ARRAY|MAY_BE_FALSE)
403 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, name, IS_STRING, 1, "null")
404 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, local_only, _IS_BOOL, 0, "false")
405 ZEND_END_ARG_INFO()
406
407 #if defined(HAVE_PUTENV)
408 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_putenv, 0, 1, _IS_BOOL, 0)
409 ZEND_ARG_TYPE_INFO(0, assignment, IS_STRING, 0)
410 ZEND_END_ARG_INFO()
411 #endif
412
413 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_getopt, 0, 1, MAY_BE_ARRAY|MAY_BE_FALSE)
414 ZEND_ARG_TYPE_INFO(0, short_options, IS_STRING, 0)
415 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, long_options, IS_ARRAY, 0, "[]")
416 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, rest_index, "null")
417 ZEND_END_ARG_INFO()
418
419 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_flush, 0, 0, IS_VOID, 0)
420 ZEND_END_ARG_INFO()
421
422 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_sleep, 0, 1, IS_LONG, 0)
423 ZEND_ARG_TYPE_INFO(0, seconds, IS_LONG, 0)
424 ZEND_END_ARG_INFO()
425
426 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_usleep, 0, 1, IS_VOID, 0)
427 ZEND_ARG_TYPE_INFO(0, microseconds, IS_LONG, 0)
428 ZEND_END_ARG_INFO()
429
430 #if defined(HAVE_NANOSLEEP)
431 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_time_nanosleep, 0, 2, MAY_BE_ARRAY|MAY_BE_BOOL)
432 ZEND_ARG_TYPE_INFO(0, seconds, IS_LONG, 0)
433 ZEND_ARG_TYPE_INFO(0, nanoseconds, IS_LONG, 0)
434 ZEND_END_ARG_INFO()
435
436 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_time_sleep_until, 0, 1, _IS_BOOL, 0)
437 ZEND_ARG_TYPE_INFO(0, timestamp, IS_DOUBLE, 0)
438 ZEND_END_ARG_INFO()
439 #endif
440
441 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_get_current_user, 0, 0, IS_STRING, 0)
442 ZEND_END_ARG_INFO()
443
444 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_get_cfg_var, 0, 1, MAY_BE_STRING|MAY_BE_ARRAY|MAY_BE_FALSE)
445 ZEND_ARG_TYPE_INFO(0, option, IS_STRING, 0)
446 ZEND_END_ARG_INFO()
447
448 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_error_log, 0, 1, _IS_BOOL, 0)
449 ZEND_ARG_TYPE_INFO(0, message, IS_STRING, 0)
450 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, message_type, IS_LONG, 0, "0")
451 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, destination, IS_STRING, 1, "null")
452 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, additional_headers, IS_STRING, 1, "null")
453 ZEND_END_ARG_INFO()
454
455 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_error_get_last, 0, 0, IS_ARRAY, 1)
456 ZEND_END_ARG_INFO()
457
458 #define arginfo_error_clear_last arginfo_flush
459
460 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_call_user_func, 0, 1, IS_MIXED, 0)
461 ZEND_ARG_TYPE_INFO(0, callback, IS_CALLABLE, 0)
462 ZEND_ARG_VARIADIC_TYPE_INFO(0, args, IS_MIXED, 0)
463 ZEND_END_ARG_INFO()
464
465 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_call_user_func_array, 0, 2, IS_MIXED, 0)
466 ZEND_ARG_TYPE_INFO(0, callback, IS_CALLABLE, 0)
467 ZEND_ARG_TYPE_INFO(0, args, IS_ARRAY, 0)
468 ZEND_END_ARG_INFO()
469
470 #define arginfo_forward_static_call arginfo_call_user_func
471
472 #define arginfo_forward_static_call_array arginfo_call_user_func_array
473
474 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_register_shutdown_function, 0, 1, IS_VOID, 0)
475 ZEND_ARG_TYPE_INFO(0, callback, IS_CALLABLE, 0)
476 ZEND_ARG_VARIADIC_TYPE_INFO(0, args, IS_MIXED, 0)
477 ZEND_END_ARG_INFO()
478
479 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_highlight_file, 0, 1, MAY_BE_STRING|MAY_BE_BOOL)
480 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
481 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, return, _IS_BOOL, 0, "false")
482 ZEND_END_ARG_INFO()
483
484 #define arginfo_show_source arginfo_highlight_file
485
486 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_php_strip_whitespace, 0, 1, IS_STRING, 0)
487 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
488 ZEND_END_ARG_INFO()
489
490 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_highlight_string, 0, 1, MAY_BE_STRING|MAY_BE_TRUE)
491 ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
492 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, return, _IS_BOOL, 0, "false")
493 ZEND_END_ARG_INFO()
494
495 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_ini_get, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
496 ZEND_ARG_TYPE_INFO(0, option, IS_STRING, 0)
497 ZEND_END_ARG_INFO()
498
499 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_ini_get_all, 0, 0, MAY_BE_ARRAY|MAY_BE_FALSE)
500 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, extension, IS_STRING, 1, "null")
501 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, details, _IS_BOOL, 0, "true")
502 ZEND_END_ARG_INFO()
503
504 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_ini_set, 0, 2, MAY_BE_STRING|MAY_BE_FALSE)
505 ZEND_ARG_TYPE_INFO(0, option, IS_STRING, 0)
506 ZEND_ARG_TYPE_MASK(0, value, MAY_BE_STRING|MAY_BE_LONG|MAY_BE_DOUBLE|MAY_BE_BOOL|MAY_BE_NULL, NULL)
507 ZEND_END_ARG_INFO()
508
509 #define arginfo_ini_alter arginfo_ini_set
510
511 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_ini_restore, 0, 1, IS_VOID, 0)
512 ZEND_ARG_TYPE_INFO(0, option, IS_STRING, 0)
513 ZEND_END_ARG_INFO()
514
515 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_ini_parse_quantity, 0, 1, IS_LONG, 0)
516 ZEND_ARG_TYPE_INFO(0, shorthand, IS_STRING, 0)
517 ZEND_END_ARG_INFO()
518
519 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_set_include_path, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
520 ZEND_ARG_TYPE_INFO(0, include_path, IS_STRING, 0)
521 ZEND_END_ARG_INFO()
522
523 #define arginfo_get_include_path arginfo_ob_get_flush
524
525 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_print_r, 0, 1, MAY_BE_STRING|MAY_BE_TRUE)
526 ZEND_ARG_TYPE_INFO(0, value, IS_MIXED, 0)
527 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, return, _IS_BOOL, 0, "false")
528 ZEND_END_ARG_INFO()
529
530 #define arginfo_connection_aborted arginfo_ob_get_level
531
532 #define arginfo_connection_status arginfo_ob_get_level
533
534 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_ignore_user_abort, 0, 0, IS_LONG, 0)
535 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, enable, _IS_BOOL, 1, "null")
536 ZEND_END_ARG_INFO()
537
538 #if defined(HAVE_GETSERVBYNAME)
539 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_getservbyname, 0, 2, MAY_BE_LONG|MAY_BE_FALSE)
540 ZEND_ARG_TYPE_INFO(0, service, IS_STRING, 0)
541 ZEND_ARG_TYPE_INFO(0, protocol, IS_STRING, 0)
542 ZEND_END_ARG_INFO()
543 #endif
544
545 #if defined(HAVE_GETSERVBYPORT)
546 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_getservbyport, 0, 2, MAY_BE_STRING|MAY_BE_FALSE)
547 ZEND_ARG_TYPE_INFO(0, port, IS_LONG, 0)
548 ZEND_ARG_TYPE_INFO(0, protocol, IS_STRING, 0)
549 ZEND_END_ARG_INFO()
550 #endif
551
552 #if defined(HAVE_GETPROTOBYNAME)
553 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_getprotobyname, 0, 1, MAY_BE_LONG|MAY_BE_FALSE)
554 ZEND_ARG_TYPE_INFO(0, protocol, IS_STRING, 0)
555 ZEND_END_ARG_INFO()
556 #endif
557
558 #if defined(HAVE_GETPROTOBYNUMBER)
559 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_getprotobynumber, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
560 ZEND_ARG_TYPE_INFO(0, protocol, IS_LONG, 0)
561 ZEND_END_ARG_INFO()
562 #endif
563
564 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_register_tick_function, 0, 1, _IS_BOOL, 0)
565 ZEND_ARG_TYPE_INFO(0, callback, IS_CALLABLE, 0)
566 ZEND_ARG_VARIADIC_TYPE_INFO(0, args, IS_MIXED, 0)
567 ZEND_END_ARG_INFO()
568
569 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_unregister_tick_function, 0, 1, IS_VOID, 0)
570 ZEND_ARG_TYPE_INFO(0, callback, IS_CALLABLE, 0)
571 ZEND_END_ARG_INFO()
572
573 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_is_uploaded_file, 0, 1, _IS_BOOL, 0)
574 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
575 ZEND_END_ARG_INFO()
576
577 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_move_uploaded_file, 0, 2, _IS_BOOL, 0)
578 ZEND_ARG_TYPE_INFO(0, from, IS_STRING, 0)
579 ZEND_ARG_TYPE_INFO(0, to, IS_STRING, 0)
580 ZEND_END_ARG_INFO()
581
582 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_parse_ini_file, 0, 1, MAY_BE_ARRAY|MAY_BE_FALSE)
583 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
584 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, process_sections, _IS_BOOL, 0, "false")
585 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, scanner_mode, IS_LONG, 0, "INI_SCANNER_NORMAL")
586 ZEND_END_ARG_INFO()
587
588 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_parse_ini_string, 0, 1, MAY_BE_ARRAY|MAY_BE_FALSE)
589 ZEND_ARG_TYPE_INFO(0, ini_string, IS_STRING, 0)
590 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, process_sections, _IS_BOOL, 0, "false")
591 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, scanner_mode, IS_LONG, 0, "INI_SCANNER_NORMAL")
592 ZEND_END_ARG_INFO()
593
594 #if ZEND_DEBUG
595 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_config_get_hash, 0, 0, IS_ARRAY, 0)
596 ZEND_END_ARG_INFO()
597 #endif
598
599 #if defined(HAVE_GETLOADAVG)
600 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_sys_getloadavg, 0, 0, MAY_BE_ARRAY|MAY_BE_FALSE)
601 ZEND_END_ARG_INFO()
602 #endif
603
604 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_get_browser, 0, 0, MAY_BE_OBJECT|MAY_BE_ARRAY|MAY_BE_FALSE)
605 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, user_agent, IS_STRING, 1, "null")
606 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, return_array, _IS_BOOL, 0, "false")
607 ZEND_END_ARG_INFO()
608
609 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_crc32, 0, 1, IS_LONG, 0)
610 ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
611 ZEND_END_ARG_INFO()
612
613 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_crypt, 0, 2, IS_STRING, 0)
614 ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
615 ZEND_ARG_TYPE_INFO(0, salt, IS_STRING, 0)
616 ZEND_END_ARG_INFO()
617
618 #if defined(HAVE_STRPTIME)
619 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_strptime, 0, 2, MAY_BE_ARRAY|MAY_BE_FALSE)
620 ZEND_ARG_TYPE_INFO(0, timestamp, IS_STRING, 0)
621 ZEND_ARG_TYPE_INFO(0, format, IS_STRING, 0)
622 ZEND_END_ARG_INFO()
623 #endif
624
625 #if defined(HAVE_GETHOSTNAME)
626 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_gethostname, 0, 0, MAY_BE_STRING|MAY_BE_FALSE)
627 ZEND_END_ARG_INFO()
628 #endif
629
630 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_gethostbyaddr, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
631 ZEND_ARG_TYPE_INFO(0, ip, IS_STRING, 0)
632 ZEND_END_ARG_INFO()
633
634 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_gethostbyname, 0, 1, IS_STRING, 0)
635 ZEND_ARG_TYPE_INFO(0, hostname, IS_STRING, 0)
636 ZEND_END_ARG_INFO()
637
638 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_gethostbynamel, 0, 1, MAY_BE_ARRAY|MAY_BE_FALSE)
639 ZEND_ARG_TYPE_INFO(0, hostname, IS_STRING, 0)
640 ZEND_END_ARG_INFO()
641
642 #if (defined(PHP_WIN32) || defined(HAVE_DNS_SEARCH_FUNC))
643 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_dns_check_record, 0, 1, _IS_BOOL, 0)
644 ZEND_ARG_TYPE_INFO(0, hostname, IS_STRING, 0)
645 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, type, IS_STRING, 0, "\"MX\"")
646 ZEND_END_ARG_INFO()
647
648 #define arginfo_checkdnsrr arginfo_dns_check_record
649
650 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_dns_get_record, 0, 1, MAY_BE_ARRAY|MAY_BE_FALSE)
651 ZEND_ARG_TYPE_INFO(0, hostname, IS_STRING, 0)
652 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, type, IS_LONG, 0, "DNS_ANY")
653 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, authoritative_name_servers, "null")
654 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, additional_records, "null")
655 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, raw, _IS_BOOL, 0, "false")
656 ZEND_END_ARG_INFO()
657
658 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_dns_get_mx, 0, 2, _IS_BOOL, 0)
659 ZEND_ARG_TYPE_INFO(0, hostname, IS_STRING, 0)
660 ZEND_ARG_INFO(1, hosts)
661 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, weights, "null")
662 ZEND_END_ARG_INFO()
663
664 #define arginfo_getmxrr arginfo_dns_get_mx
665 #endif
666
667 #if (defined(PHP_WIN32) || defined(HAVE_GETIFADDRS) || defined(__PASE__))
668 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_net_get_interfaces, 0, 0, MAY_BE_ARRAY|MAY_BE_FALSE)
669 ZEND_END_ARG_INFO()
670 #endif
671
672 #if defined(HAVE_FTOK)
673 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_ftok, 0, 2, IS_LONG, 0)
674 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
675 ZEND_ARG_TYPE_INFO(0, project_id, IS_STRING, 0)
676 ZEND_END_ARG_INFO()
677 #endif
678
679 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_hrtime, 0, 0, MAY_BE_ARRAY|MAY_BE_LONG|MAY_BE_DOUBLE|MAY_BE_FALSE)
680 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, as_number, _IS_BOOL, 0, "false")
681 ZEND_END_ARG_INFO()
682
683 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_md5, 0, 1, IS_STRING, 0)
684 ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
685 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, binary, _IS_BOOL, 0, "false")
686 ZEND_END_ARG_INFO()
687
688 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_md5_file, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
689 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
690 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, binary, _IS_BOOL, 0, "false")
691 ZEND_END_ARG_INFO()
692
693 #define arginfo_getmyuid arginfo_ob_get_length
694
695 #define arginfo_getmygid arginfo_ob_get_length
696
697 #define arginfo_getmypid arginfo_ob_get_length
698
699 #define arginfo_getmyinode arginfo_ob_get_length
700
701 #define arginfo_getlastmod arginfo_ob_get_length
702
703 #define arginfo_sha1 arginfo_md5
704
705 #define arginfo_sha1_file arginfo_md5_file
706
707 #if defined(HAVE_SYSLOG_H)
708 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_openlog, 0, 3, IS_TRUE, 0)
709 ZEND_ARG_TYPE_INFO(0, prefix, IS_STRING, 0)
710 ZEND_ARG_TYPE_INFO(0, flags, IS_LONG, 0)
711 ZEND_ARG_TYPE_INFO(0, facility, IS_LONG, 0)
712 ZEND_END_ARG_INFO()
713
714 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_closelog, 0, 0, IS_TRUE, 0)
715 ZEND_END_ARG_INFO()
716
717 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_syslog, 0, 2, IS_TRUE, 0)
718 ZEND_ARG_TYPE_INFO(0, priority, IS_LONG, 0)
719 ZEND_ARG_TYPE_INFO(0, message, IS_STRING, 0)
720 ZEND_END_ARG_INFO()
721 #endif
722
723 #define arginfo_inet_ntop arginfo_gethostbyaddr
724
725 #define arginfo_inet_pton arginfo_gethostbyaddr
726
727 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_metaphone, 0, 1, IS_STRING, 0)
728 ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
729 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, max_phonemes, IS_LONG, 0, "0")
730 ZEND_END_ARG_INFO()
731
732 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_header, 0, 1, IS_VOID, 0)
733 ZEND_ARG_TYPE_INFO(0, header, IS_STRING, 0)
734 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, replace, _IS_BOOL, 0, "true")
735 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, response_code, IS_LONG, 0, "0")
736 ZEND_END_ARG_INFO()
737
738 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_header_remove, 0, 0, IS_VOID, 0)
739 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, name, IS_STRING, 1, "null")
740 ZEND_END_ARG_INFO()
741
742 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_setrawcookie, 0, 1, _IS_BOOL, 0)
743 ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
744 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, value, IS_STRING, 0, "\"\"")
745 ZEND_ARG_TYPE_MASK(0, expires_or_options, MAY_BE_ARRAY|MAY_BE_LONG, "0")
746 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, path, IS_STRING, 0, "\"\"")
747 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, domain, IS_STRING, 0, "\"\"")
748 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, secure, _IS_BOOL, 0, "false")
749 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, httponly, _IS_BOOL, 0, "false")
750 ZEND_END_ARG_INFO()
751
752 #define arginfo_setcookie arginfo_setrawcookie
753
754 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_http_response_code, 0, 0, MAY_BE_LONG|MAY_BE_BOOL)
755 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, response_code, IS_LONG, 0, "0")
756 ZEND_END_ARG_INFO()
757
758 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_headers_sent, 0, 0, _IS_BOOL, 0)
759 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, filename, "null")
760 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, line, "null")
761 ZEND_END_ARG_INFO()
762
763 #define arginfo_headers_list arginfo_ob_list_handlers
764
765 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_htmlspecialchars, 0, 1, IS_STRING, 0)
766 ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
767 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flags, IS_LONG, 0, "ENT_QUOTES | ENT_SUBSTITUTE | ENT_HTML401")
768 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, encoding, IS_STRING, 1, "null")
769 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, double_encode, _IS_BOOL, 0, "true")
770 ZEND_END_ARG_INFO()
771
772 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_htmlspecialchars_decode, 0, 1, IS_STRING, 0)
773 ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
774 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flags, IS_LONG, 0, "ENT_QUOTES | ENT_SUBSTITUTE | ENT_HTML401")
775 ZEND_END_ARG_INFO()
776
777 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_html_entity_decode, 0, 1, IS_STRING, 0)
778 ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
779 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flags, IS_LONG, 0, "ENT_QUOTES | ENT_SUBSTITUTE | ENT_HTML401")
780 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, encoding, IS_STRING, 1, "null")
781 ZEND_END_ARG_INFO()
782
783 #define arginfo_htmlentities arginfo_htmlspecialchars
784
785 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_get_html_translation_table, 0, 0, IS_ARRAY, 0)
786 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, table, IS_LONG, 0, "HTML_SPECIALCHARS")
787 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flags, IS_LONG, 0, "ENT_QUOTES | ENT_SUBSTITUTE | ENT_HTML401")
788 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, encoding, IS_STRING, 0, "\"UTF-8\"")
789 ZEND_END_ARG_INFO()
790
791 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_assert, 0, 1, _IS_BOOL, 0)
792 ZEND_ARG_TYPE_INFO(0, assertion, IS_MIXED, 0)
793 ZEND_ARG_OBJ_TYPE_MASK(0, description, Throwable, MAY_BE_STRING|MAY_BE_NULL, "null")
794 ZEND_END_ARG_INFO()
795
796 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_assert_options, 0, 1, IS_MIXED, 0)
797 ZEND_ARG_TYPE_INFO(0, option, IS_LONG, 0)
798 ZEND_ARG_TYPE_INFO(0, value, IS_MIXED, 0)
799 ZEND_END_ARG_INFO()
800
801 #define arginfo_bin2hex arginfo_base64_encode
802
803 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_hex2bin, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
804 ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
805 ZEND_END_ARG_INFO()
806
807 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_strspn, 0, 2, IS_LONG, 0)
808 ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
809 ZEND_ARG_TYPE_INFO(0, characters, IS_STRING, 0)
810 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, offset, IS_LONG, 0, "0")
811 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, length, IS_LONG, 1, "null")
812 ZEND_END_ARG_INFO()
813
814 #define arginfo_strcspn arginfo_strspn
815
816 #if defined(HAVE_NL_LANGINFO)
817 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_nl_langinfo, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
818 ZEND_ARG_TYPE_INFO(0, item, IS_LONG, 0)
819 ZEND_END_ARG_INFO()
820 #endif
821
822 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_strcoll, 0, 2, IS_LONG, 0)
823 ZEND_ARG_TYPE_INFO(0, string1, IS_STRING, 0)
824 ZEND_ARG_TYPE_INFO(0, string2, IS_STRING, 0)
825 ZEND_END_ARG_INFO()
826
827 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_trim, 0, 1, IS_STRING, 0)
828 ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
829 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, characters, IS_STRING, 0, "\" \\n\\r\\t\\v\\x00\"")
830 ZEND_END_ARG_INFO()
831
832 #define arginfo_rtrim arginfo_trim
833
834 #define arginfo_chop arginfo_trim
835
836 #define arginfo_ltrim arginfo_trim
837
838 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_wordwrap, 0, 1, IS_STRING, 0)
839 ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
840 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, width, IS_LONG, 0, "75")
841 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, break, IS_STRING, 0, "\"\\n\"")
842 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, cut_long_words, _IS_BOOL, 0, "false")
843 ZEND_END_ARG_INFO()
844
845 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_explode, 0, 2, IS_ARRAY, 0)
846 ZEND_ARG_TYPE_INFO(0, separator, IS_STRING, 0)
847 ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
848 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, limit, IS_LONG, 0, "PHP_INT_MAX")
849 ZEND_END_ARG_INFO()
850
851 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_implode, 0, 1, IS_STRING, 0)
852 ZEND_ARG_TYPE_MASK(0, separator, MAY_BE_STRING|MAY_BE_ARRAY, NULL)
853 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, array, IS_ARRAY, 1, "null")
854 ZEND_END_ARG_INFO()
855
856 #define arginfo_join arginfo_implode
857
858 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_strtok, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
859 ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
860 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, token, IS_STRING, 1, "null")
861 ZEND_END_ARG_INFO()
862
863 #define arginfo_strtoupper arginfo_base64_encode
864
865 #define arginfo_strtolower arginfo_base64_encode
866
867 #define arginfo_str_increment arginfo_base64_encode
868
869 #define arginfo_str_decrement arginfo_base64_encode
870
871 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_basename, 0, 1, IS_STRING, 0)
872 ZEND_ARG_TYPE_INFO(0, path, IS_STRING, 0)
873 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, suffix, IS_STRING, 0, "\"\"")
874 ZEND_END_ARG_INFO()
875
876 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_dirname, 0, 1, IS_STRING, 0)
877 ZEND_ARG_TYPE_INFO(0, path, IS_STRING, 0)
878 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, levels, IS_LONG, 0, "1")
879 ZEND_END_ARG_INFO()
880
881 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_pathinfo, 0, 1, MAY_BE_ARRAY|MAY_BE_STRING)
882 ZEND_ARG_TYPE_INFO(0, path, IS_STRING, 0)
883 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flags, IS_LONG, 0, "PATHINFO_ALL")
884 ZEND_END_ARG_INFO()
885
886 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_stristr, 0, 2, MAY_BE_STRING|MAY_BE_FALSE)
887 ZEND_ARG_TYPE_INFO(0, haystack, IS_STRING, 0)
888 ZEND_ARG_TYPE_INFO(0, needle, IS_STRING, 0)
889 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, before_needle, _IS_BOOL, 0, "false")
890 ZEND_END_ARG_INFO()
891
892 #define arginfo_strstr arginfo_stristr
893
894 #define arginfo_strchr arginfo_stristr
895
896 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_strpos, 0, 2, MAY_BE_LONG|MAY_BE_FALSE)
897 ZEND_ARG_TYPE_INFO(0, haystack, IS_STRING, 0)
898 ZEND_ARG_TYPE_INFO(0, needle, IS_STRING, 0)
899 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, offset, IS_LONG, 0, "0")
900 ZEND_END_ARG_INFO()
901
902 #define arginfo_stripos arginfo_strpos
903
904 #define arginfo_strrpos arginfo_strpos
905
906 #define arginfo_strripos arginfo_strpos
907
908 #define arginfo_strrchr arginfo_stristr
909
910 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_str_contains, 0, 2, _IS_BOOL, 0)
911 ZEND_ARG_TYPE_INFO(0, haystack, IS_STRING, 0)
912 ZEND_ARG_TYPE_INFO(0, needle, IS_STRING, 0)
913 ZEND_END_ARG_INFO()
914
915 #define arginfo_str_starts_with arginfo_str_contains
916
917 #define arginfo_str_ends_with arginfo_str_contains
918
919 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_chunk_split, 0, 1, IS_STRING, 0)
920 ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
921 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, length, IS_LONG, 0, "76")
922 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, separator, IS_STRING, 0, "\"\\r\\n\"")
923 ZEND_END_ARG_INFO()
924
925 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_substr, 0, 2, IS_STRING, 0)
926 ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
927 ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0)
928 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, length, IS_LONG, 1, "null")
929 ZEND_END_ARG_INFO()
930
931 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_substr_replace, 0, 3, MAY_BE_STRING|MAY_BE_ARRAY)
932 ZEND_ARG_TYPE_MASK(0, string, MAY_BE_ARRAY|MAY_BE_STRING, NULL)
933 ZEND_ARG_TYPE_MASK(0, replace, MAY_BE_ARRAY|MAY_BE_STRING, NULL)
934 ZEND_ARG_TYPE_MASK(0, offset, MAY_BE_ARRAY|MAY_BE_LONG, NULL)
935 ZEND_ARG_TYPE_MASK(0, length, MAY_BE_ARRAY|MAY_BE_LONG|MAY_BE_NULL, "null")
936 ZEND_END_ARG_INFO()
937
938 #define arginfo_quotemeta arginfo_base64_encode
939
940 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_ord, 0, 1, IS_LONG, 0)
941 ZEND_ARG_TYPE_INFO(0, character, IS_STRING, 0)
942 ZEND_END_ARG_INFO()
943
944 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_chr, 0, 1, IS_STRING, 0)
945 ZEND_ARG_TYPE_INFO(0, codepoint, IS_LONG, 0)
946 ZEND_END_ARG_INFO()
947
948 #define arginfo_ucfirst arginfo_base64_encode
949
950 #define arginfo_lcfirst arginfo_base64_encode
951
952 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_ucwords, 0, 1, IS_STRING, 0)
953 ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
954 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, separators, IS_STRING, 0, "\" \\t\\r\\n\\f\\v\"")
955 ZEND_END_ARG_INFO()
956
957 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_strtr, 0, 2, IS_STRING, 0)
958 ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
959 ZEND_ARG_TYPE_MASK(0, from, MAY_BE_STRING|MAY_BE_ARRAY, NULL)
960 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, to, IS_STRING, 1, "null")
961 ZEND_END_ARG_INFO()
962
963 #define arginfo_strrev arginfo_base64_encode
964
965 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_similar_text, 0, 2, IS_LONG, 0)
966 ZEND_ARG_TYPE_INFO(0, string1, IS_STRING, 0)
967 ZEND_ARG_TYPE_INFO(0, string2, IS_STRING, 0)
968 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, percent, "null")
969 ZEND_END_ARG_INFO()
970
971 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_addcslashes, 0, 2, IS_STRING, 0)
972 ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
973 ZEND_ARG_TYPE_INFO(0, characters, IS_STRING, 0)
974 ZEND_END_ARG_INFO()
975
976 #define arginfo_addslashes arginfo_base64_encode
977
978 #define arginfo_stripcslashes arginfo_base64_encode
979
980 #define arginfo_stripslashes arginfo_base64_encode
981
982 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_str_replace, 0, 3, MAY_BE_STRING|MAY_BE_ARRAY)
983 ZEND_ARG_TYPE_MASK(0, search, MAY_BE_ARRAY|MAY_BE_STRING, NULL)
984 ZEND_ARG_TYPE_MASK(0, replace, MAY_BE_ARRAY|MAY_BE_STRING, NULL)
985 ZEND_ARG_TYPE_MASK(0, subject, MAY_BE_STRING|MAY_BE_ARRAY, NULL)
986 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, count, "null")
987 ZEND_END_ARG_INFO()
988
989 #define arginfo_str_ireplace arginfo_str_replace
990
991 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_hebrev, 0, 1, IS_STRING, 0)
992 ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
993 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, max_chars_per_line, IS_LONG, 0, "0")
994 ZEND_END_ARG_INFO()
995
996 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_nl2br, 0, 1, IS_STRING, 0)
997 ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
998 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, use_xhtml, _IS_BOOL, 0, "true")
999 ZEND_END_ARG_INFO()
1000
1001 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_strip_tags, 0, 1, IS_STRING, 0)
1002 ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
1003 ZEND_ARG_TYPE_MASK(0, allowed_tags, MAY_BE_ARRAY|MAY_BE_STRING|MAY_BE_NULL, "null")
1004 ZEND_END_ARG_INFO()
1005
1006 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_setlocale, 0, 2, MAY_BE_STRING|MAY_BE_FALSE)
1007 ZEND_ARG_TYPE_INFO(0, category, IS_LONG, 0)
1008 ZEND_ARG_INFO(0, locales)
1009 ZEND_ARG_VARIADIC_INFO(0, rest)
1010 ZEND_END_ARG_INFO()
1011
1012 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_parse_str, 0, 2, IS_VOID, 0)
1013 ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
1014 ZEND_ARG_INFO(1, result)
1015 ZEND_END_ARG_INFO()
1016
1017 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_str_getcsv, 0, 1, IS_ARRAY, 0)
1018 ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
1019 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, separator, IS_STRING, 0, "\",\"")
1020 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, enclosure, IS_STRING, 0, "\"\\\"\"")
1021 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, escape, IS_STRING, 0, "\"\\\\\"")
1022 ZEND_END_ARG_INFO()
1023
1024 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_str_repeat, 0, 2, IS_STRING, 0)
1025 ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
1026 ZEND_ARG_TYPE_INFO(0, times, IS_LONG, 0)
1027 ZEND_END_ARG_INFO()
1028
1029 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_count_chars, 0, 1, MAY_BE_ARRAY|MAY_BE_STRING)
1030 ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
1031 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, mode, IS_LONG, 0, "0")
1032 ZEND_END_ARG_INFO()
1033
1034 #define arginfo_strnatcmp arginfo_strcoll
1035
1036 #define arginfo_localeconv arginfo_ob_list_handlers
1037
1038 #define arginfo_strnatcasecmp arginfo_strcoll
1039
1040 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_substr_count, 0, 2, IS_LONG, 0)
1041 ZEND_ARG_TYPE_INFO(0, haystack, IS_STRING, 0)
1042 ZEND_ARG_TYPE_INFO(0, needle, IS_STRING, 0)
1043 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, offset, IS_LONG, 0, "0")
1044 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, length, IS_LONG, 1, "null")
1045 ZEND_END_ARG_INFO()
1046
1047 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_str_pad, 0, 2, IS_STRING, 0)
1048 ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
1049 ZEND_ARG_TYPE_INFO(0, length, IS_LONG, 0)
1050 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, pad_string, IS_STRING, 0, "\" \"")
1051 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, pad_type, IS_LONG, 0, "STR_PAD_RIGHT")
1052 ZEND_END_ARG_INFO()
1053
1054 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_sscanf, 0, 2, MAY_BE_ARRAY|MAY_BE_LONG|MAY_BE_NULL)
1055 ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
1056 ZEND_ARG_TYPE_INFO(0, format, IS_STRING, 0)
1057 ZEND_ARG_VARIADIC_TYPE_INFO(1, vars, IS_MIXED, 0)
1058 ZEND_END_ARG_INFO()
1059
1060 #define arginfo_str_rot13 arginfo_base64_encode
1061
1062 #define arginfo_str_shuffle arginfo_base64_encode
1063
1064 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_str_word_count, 0, 1, MAY_BE_ARRAY|MAY_BE_LONG)
1065 ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
1066 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, format, IS_LONG, 0, "0")
1067 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, characters, IS_STRING, 1, "null")
1068 ZEND_END_ARG_INFO()
1069
1070 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_str_split, 0, 1, IS_ARRAY, 0)
1071 ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
1072 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, length, IS_LONG, 0, "1")
1073 ZEND_END_ARG_INFO()
1074
1075 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_strpbrk, 0, 2, MAY_BE_STRING|MAY_BE_FALSE)
1076 ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
1077 ZEND_ARG_TYPE_INFO(0, characters, IS_STRING, 0)
1078 ZEND_END_ARG_INFO()
1079
1080 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_substr_compare, 0, 3, IS_LONG, 0)
1081 ZEND_ARG_TYPE_INFO(0, haystack, IS_STRING, 0)
1082 ZEND_ARG_TYPE_INFO(0, needle, IS_STRING, 0)
1083 ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0)
1084 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, length, IS_LONG, 1, "null")
1085 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, case_insensitive, _IS_BOOL, 0, "false")
1086 ZEND_END_ARG_INFO()
1087
1088 #define arginfo_utf8_encode arginfo_base64_encode
1089
1090 #define arginfo_utf8_decode arginfo_base64_encode
1091
1092 ZEND_BEGIN_ARG_INFO_EX(arginfo_opendir, 0, 0, 1)
1093 ZEND_ARG_TYPE_INFO(0, directory, IS_STRING, 0)
1094 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, context, "null")
1095 ZEND_END_ARG_INFO()
1096
1097 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_dir, 0, 1, Directory, MAY_BE_FALSE)
1098 ZEND_ARG_TYPE_INFO(0, directory, IS_STRING, 0)
1099 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, context, "null")
1100 ZEND_END_ARG_INFO()
1101
1102 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_closedir, 0, 0, IS_VOID, 0)
1103 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, dir_handle, "null")
1104 ZEND_END_ARG_INFO()
1105
1106 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_chdir, 0, 1, _IS_BOOL, 0)
1107 ZEND_ARG_TYPE_INFO(0, directory, IS_STRING, 0)
1108 ZEND_END_ARG_INFO()
1109
1110 #if (defined(HAVE_CHROOT) && !defined(ZTS) && defined(ENABLE_CHROOT_FUNC))
1111 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_chroot, 0, 1, _IS_BOOL, 0)
1112 ZEND_ARG_TYPE_INFO(0, directory, IS_STRING, 0)
1113 ZEND_END_ARG_INFO()
1114 #endif
1115
1116 #define arginfo_getcwd arginfo_ob_get_flush
1117
1118 #define arginfo_rewinddir arginfo_closedir
1119
1120 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_readdir, 0, 0, MAY_BE_STRING|MAY_BE_FALSE)
1121 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, dir_handle, "null")
1122 ZEND_END_ARG_INFO()
1123
1124 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_scandir, 0, 1, MAY_BE_ARRAY|MAY_BE_FALSE)
1125 ZEND_ARG_TYPE_INFO(0, directory, IS_STRING, 0)
1126 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, sorting_order, IS_LONG, 0, "SCANDIR_SORT_ASCENDING")
1127 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, context, "null")
1128 ZEND_END_ARG_INFO()
1129
1130 #if defined(HAVE_GLOB)
1131 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_glob, 0, 1, MAY_BE_ARRAY|MAY_BE_FALSE)
1132 ZEND_ARG_TYPE_INFO(0, pattern, IS_STRING, 0)
1133 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flags, IS_LONG, 0, "0")
1134 ZEND_END_ARG_INFO()
1135 #endif
1136
1137 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_exec, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
1138 ZEND_ARG_TYPE_INFO(0, command, IS_STRING, 0)
1139 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, output, "null")
1140 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, result_code, "null")
1141 ZEND_END_ARG_INFO()
1142
1143 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_system, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
1144 ZEND_ARG_TYPE_INFO(0, command, IS_STRING, 0)
1145 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, result_code, "null")
1146 ZEND_END_ARG_INFO()
1147
1148 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_passthru, 0, 1, IS_FALSE, 1)
1149 ZEND_ARG_TYPE_INFO(0, command, IS_STRING, 0)
1150 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, result_code, "null")
1151 ZEND_END_ARG_INFO()
1152
1153 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_escapeshellcmd, 0, 1, IS_STRING, 0)
1154 ZEND_ARG_TYPE_INFO(0, command, IS_STRING, 0)
1155 ZEND_END_ARG_INFO()
1156
1157 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_escapeshellarg, 0, 1, IS_STRING, 0)
1158 ZEND_ARG_TYPE_INFO(0, arg, IS_STRING, 0)
1159 ZEND_END_ARG_INFO()
1160
1161 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_shell_exec, 0, 1, MAY_BE_STRING|MAY_BE_FALSE|MAY_BE_NULL)
1162 ZEND_ARG_TYPE_INFO(0, command, IS_STRING, 0)
1163 ZEND_END_ARG_INFO()
1164
1165 #if defined(HAVE_NICE)
1166 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_proc_nice, 0, 1, _IS_BOOL, 0)
1167 ZEND_ARG_TYPE_INFO(0, priority, IS_LONG, 0)
1168 ZEND_END_ARG_INFO()
1169 #endif
1170
1171 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_flock, 0, 2, _IS_BOOL, 0)
1172 ZEND_ARG_INFO(0, stream)
1173 ZEND_ARG_TYPE_INFO(0, operation, IS_LONG, 0)
1174 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, would_block, "null")
1175 ZEND_END_ARG_INFO()
1176
1177 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_get_meta_tags, 0, 1, MAY_BE_ARRAY|MAY_BE_FALSE)
1178 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
1179 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, use_include_path, _IS_BOOL, 0, "false")
1180 ZEND_END_ARG_INFO()
1181
1182 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_pclose, 0, 1, IS_LONG, 0)
1183 ZEND_ARG_INFO(0, handle)
1184 ZEND_END_ARG_INFO()
1185
1186 ZEND_BEGIN_ARG_INFO_EX(arginfo_popen, 0, 0, 2)
1187 ZEND_ARG_TYPE_INFO(0, command, IS_STRING, 0)
1188 ZEND_ARG_TYPE_INFO(0, mode, IS_STRING, 0)
1189 ZEND_END_ARG_INFO()
1190
1191 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_readfile, 0, 1, MAY_BE_LONG|MAY_BE_FALSE)
1192 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
1193 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, use_include_path, _IS_BOOL, 0, "false")
1194 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, context, "null")
1195 ZEND_END_ARG_INFO()
1196
1197 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_rewind, 0, 1, _IS_BOOL, 0)
1198 ZEND_ARG_INFO(0, stream)
1199 ZEND_END_ARG_INFO()
1200
1201 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_rmdir, 0, 1, _IS_BOOL, 0)
1202 ZEND_ARG_TYPE_INFO(0, directory, IS_STRING, 0)
1203 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, context, "null")
1204 ZEND_END_ARG_INFO()
1205
1206 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_umask, 0, 0, IS_LONG, 0)
1207 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, mask, IS_LONG, 1, "null")
1208 ZEND_END_ARG_INFO()
1209
1210 #define arginfo_fclose arginfo_rewind
1211
1212 #define arginfo_feof arginfo_rewind
1213
1214 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_fgetc, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
1215 ZEND_ARG_INFO(0, stream)
1216 ZEND_END_ARG_INFO()
1217
1218 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_fgets, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
1219 ZEND_ARG_INFO(0, stream)
1220 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, length, IS_LONG, 1, "null")
1221 ZEND_END_ARG_INFO()
1222
1223 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_fread, 0, 2, MAY_BE_STRING|MAY_BE_FALSE)
1224 ZEND_ARG_INFO(0, stream)
1225 ZEND_ARG_TYPE_INFO(0, length, IS_LONG, 0)
1226 ZEND_END_ARG_INFO()
1227
1228 ZEND_BEGIN_ARG_INFO_EX(arginfo_fopen, 0, 0, 2)
1229 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
1230 ZEND_ARG_TYPE_INFO(0, mode, IS_STRING, 0)
1231 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, use_include_path, _IS_BOOL, 0, "false")
1232 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, context, "null")
1233 ZEND_END_ARG_INFO()
1234
1235 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_fscanf, 0, 2, MAY_BE_ARRAY|MAY_BE_LONG|MAY_BE_FALSE|MAY_BE_NULL)
1236 ZEND_ARG_INFO(0, stream)
1237 ZEND_ARG_TYPE_INFO(0, format, IS_STRING, 0)
1238 ZEND_ARG_VARIADIC_TYPE_INFO(1, vars, IS_MIXED, 0)
1239 ZEND_END_ARG_INFO()
1240
1241 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_fpassthru, 0, 1, IS_LONG, 0)
1242 ZEND_ARG_INFO(0, stream)
1243 ZEND_END_ARG_INFO()
1244
1245 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_ftruncate, 0, 2, _IS_BOOL, 0)
1246 ZEND_ARG_INFO(0, stream)
1247 ZEND_ARG_TYPE_INFO(0, size, IS_LONG, 0)
1248 ZEND_END_ARG_INFO()
1249
1250 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_fstat, 0, 1, MAY_BE_ARRAY|MAY_BE_FALSE)
1251 ZEND_ARG_INFO(0, stream)
1252 ZEND_END_ARG_INFO()
1253
1254 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_fseek, 0, 2, IS_LONG, 0)
1255 ZEND_ARG_INFO(0, stream)
1256 ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0)
1257 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, whence, IS_LONG, 0, "SEEK_SET")
1258 ZEND_END_ARG_INFO()
1259
1260 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_ftell, 0, 1, MAY_BE_LONG|MAY_BE_FALSE)
1261 ZEND_ARG_INFO(0, stream)
1262 ZEND_END_ARG_INFO()
1263
1264 #define arginfo_fflush arginfo_rewind
1265
1266 #define arginfo_fsync arginfo_rewind
1267
1268 #define arginfo_fdatasync arginfo_rewind
1269
1270 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_fwrite, 0, 2, MAY_BE_LONG|MAY_BE_FALSE)
1271 ZEND_ARG_INFO(0, stream)
1272 ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0)
1273 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, length, IS_LONG, 1, "null")
1274 ZEND_END_ARG_INFO()
1275
1276 #define arginfo_fputs arginfo_fwrite
1277
1278 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_mkdir, 0, 1, _IS_BOOL, 0)
1279 ZEND_ARG_TYPE_INFO(0, directory, IS_STRING, 0)
1280 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, permissions, IS_LONG, 0, "0777")
1281 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, recursive, _IS_BOOL, 0, "false")
1282 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, context, "null")
1283 ZEND_END_ARG_INFO()
1284
1285 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_rename, 0, 2, _IS_BOOL, 0)
1286 ZEND_ARG_TYPE_INFO(0, from, IS_STRING, 0)
1287 ZEND_ARG_TYPE_INFO(0, to, IS_STRING, 0)
1288 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, context, "null")
1289 ZEND_END_ARG_INFO()
1290
1291 #define arginfo_copy arginfo_rename
1292
1293 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_tempnam, 0, 2, MAY_BE_STRING|MAY_BE_FALSE)
1294 ZEND_ARG_TYPE_INFO(0, directory, IS_STRING, 0)
1295 ZEND_ARG_TYPE_INFO(0, prefix, IS_STRING, 0)
1296 ZEND_END_ARG_INFO()
1297
1298 ZEND_BEGIN_ARG_INFO_EX(arginfo_tmpfile, 0, 0, 0)
1299 ZEND_END_ARG_INFO()
1300
1301 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_file, 0, 1, MAY_BE_ARRAY|MAY_BE_FALSE)
1302 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
1303 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flags, IS_LONG, 0, "0")
1304 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, context, "null")
1305 ZEND_END_ARG_INFO()
1306
1307 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_file_get_contents, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
1308 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
1309 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, use_include_path, _IS_BOOL, 0, "false")
1310 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, context, "null")
1311 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, offset, IS_LONG, 0, "0")
1312 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, length, IS_LONG, 1, "null")
1313 ZEND_END_ARG_INFO()
1314
1315 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_unlink, 0, 1, _IS_BOOL, 0)
1316 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
1317 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, context, "null")
1318 ZEND_END_ARG_INFO()
1319
1320 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_file_put_contents, 0, 2, MAY_BE_LONG|MAY_BE_FALSE)
1321 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
1322 ZEND_ARG_TYPE_INFO(0, data, IS_MIXED, 0)
1323 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flags, IS_LONG, 0, "0")
1324 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, context, "null")
1325 ZEND_END_ARG_INFO()
1326
1327 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_fputcsv, 0, 2, MAY_BE_LONG|MAY_BE_FALSE)
1328 ZEND_ARG_INFO(0, stream)
1329 ZEND_ARG_TYPE_INFO(0, fields, IS_ARRAY, 0)
1330 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, separator, IS_STRING, 0, "\",\"")
1331 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, enclosure, IS_STRING, 0, "\"\\\"\"")
1332 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, escape, IS_STRING, 0, "\"\\\\\"")
1333 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, eol, IS_STRING, 0, "\"\\n\"")
1334 ZEND_END_ARG_INFO()
1335
1336 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_fgetcsv, 0, 1, MAY_BE_ARRAY|MAY_BE_FALSE)
1337 ZEND_ARG_INFO(0, stream)
1338 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, length, IS_LONG, 1, "null")
1339 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, separator, IS_STRING, 0, "\",\"")
1340 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, enclosure, IS_STRING, 0, "\"\\\"\"")
1341 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, escape, IS_STRING, 0, "\"\\\\\"")
1342 ZEND_END_ARG_INFO()
1343
1344 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_realpath, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
1345 ZEND_ARG_TYPE_INFO(0, path, IS_STRING, 0)
1346 ZEND_END_ARG_INFO()
1347
1348 #if defined(HAVE_FNMATCH)
1349 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_fnmatch, 0, 2, _IS_BOOL, 0)
1350 ZEND_ARG_TYPE_INFO(0, pattern, IS_STRING, 0)
1351 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
1352 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flags, IS_LONG, 0, "0")
1353 ZEND_END_ARG_INFO()
1354 #endif
1355
1356 #define arginfo_sys_get_temp_dir arginfo_get_current_user
1357
1358 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_fileatime, 0, 1, MAY_BE_LONG|MAY_BE_FALSE)
1359 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
1360 ZEND_END_ARG_INFO()
1361
1362 #define arginfo_filectime arginfo_fileatime
1363
1364 #define arginfo_filegroup arginfo_fileatime
1365
1366 #define arginfo_fileinode arginfo_fileatime
1367
1368 #define arginfo_filemtime arginfo_fileatime
1369
1370 #define arginfo_fileowner arginfo_fileatime
1371
1372 #define arginfo_fileperms arginfo_fileatime
1373
1374 #define arginfo_filesize arginfo_fileatime
1375
1376 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_filetype, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
1377 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
1378 ZEND_END_ARG_INFO()
1379
1380 #define arginfo_file_exists arginfo_is_uploaded_file
1381
1382 #define arginfo_is_writable arginfo_is_uploaded_file
1383
1384 #define arginfo_is_writeable arginfo_is_uploaded_file
1385
1386 #define arginfo_is_readable arginfo_is_uploaded_file
1387
1388 #define arginfo_is_executable arginfo_is_uploaded_file
1389
1390 #define arginfo_is_file arginfo_is_uploaded_file
1391
1392 #define arginfo_is_dir arginfo_is_uploaded_file
1393
1394 #define arginfo_is_link arginfo_is_uploaded_file
1395
1396 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_stat, 0, 1, MAY_BE_ARRAY|MAY_BE_FALSE)
1397 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
1398 ZEND_END_ARG_INFO()
1399
1400 #define arginfo_lstat arginfo_stat
1401
1402 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_chown, 0, 2, _IS_BOOL, 0)
1403 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
1404 ZEND_ARG_TYPE_MASK(0, user, MAY_BE_STRING|MAY_BE_LONG, NULL)
1405 ZEND_END_ARG_INFO()
1406
1407 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_chgrp, 0, 2, _IS_BOOL, 0)
1408 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
1409 ZEND_ARG_TYPE_MASK(0, group, MAY_BE_STRING|MAY_BE_LONG, NULL)
1410 ZEND_END_ARG_INFO()
1411
1412 #if defined(HAVE_LCHOWN)
1413 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_lchown, 0, 2, _IS_BOOL, 0)
1414 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
1415 ZEND_ARG_TYPE_MASK(0, user, MAY_BE_STRING|MAY_BE_LONG, NULL)
1416 ZEND_END_ARG_INFO()
1417
1418 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_lchgrp, 0, 2, _IS_BOOL, 0)
1419 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
1420 ZEND_ARG_TYPE_MASK(0, group, MAY_BE_STRING|MAY_BE_LONG, NULL)
1421 ZEND_END_ARG_INFO()
1422 #endif
1423
1424 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_chmod, 0, 2, _IS_BOOL, 0)
1425 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
1426 ZEND_ARG_TYPE_INFO(0, permissions, IS_LONG, 0)
1427 ZEND_END_ARG_INFO()
1428
1429 #if defined(HAVE_UTIME)
1430 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_touch, 0, 1, _IS_BOOL, 0)
1431 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
1432 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, mtime, IS_LONG, 1, "null")
1433 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, atime, IS_LONG, 1, "null")
1434 ZEND_END_ARG_INFO()
1435 #endif
1436
1437 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_clearstatcache, 0, 0, IS_VOID, 0)
1438 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, clear_realpath_cache, _IS_BOOL, 0, "false")
1439 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, filename, IS_STRING, 0, "\"\"")
1440 ZEND_END_ARG_INFO()
1441
1442 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_disk_total_space, 0, 1, MAY_BE_DOUBLE|MAY_BE_FALSE)
1443 ZEND_ARG_TYPE_INFO(0, directory, IS_STRING, 0)
1444 ZEND_END_ARG_INFO()
1445
1446 #define arginfo_disk_free_space arginfo_disk_total_space
1447
1448 #define arginfo_diskfreespace arginfo_disk_total_space
1449
1450 #define arginfo_realpath_cache_get arginfo_ob_list_handlers
1451
1452 #define arginfo_realpath_cache_size arginfo_ob_get_level
1453
1454 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_sprintf, 0, 1, IS_STRING, 0)
1455 ZEND_ARG_TYPE_INFO(0, format, IS_STRING, 0)
1456 ZEND_ARG_VARIADIC_TYPE_INFO(0, values, IS_MIXED, 0)
1457 ZEND_END_ARG_INFO()
1458
1459 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_printf, 0, 1, IS_LONG, 0)
1460 ZEND_ARG_TYPE_INFO(0, format, IS_STRING, 0)
1461 ZEND_ARG_VARIADIC_TYPE_INFO(0, values, IS_MIXED, 0)
1462 ZEND_END_ARG_INFO()
1463
1464 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_vprintf, 0, 2, IS_LONG, 0)
1465 ZEND_ARG_TYPE_INFO(0, format, IS_STRING, 0)
1466 ZEND_ARG_TYPE_INFO(0, values, IS_ARRAY, 0)
1467 ZEND_END_ARG_INFO()
1468
1469 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_vsprintf, 0, 2, IS_STRING, 0)
1470 ZEND_ARG_TYPE_INFO(0, format, IS_STRING, 0)
1471 ZEND_ARG_TYPE_INFO(0, values, IS_ARRAY, 0)
1472 ZEND_END_ARG_INFO()
1473
1474 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_fprintf, 0, 2, IS_LONG, 0)
1475 ZEND_ARG_INFO(0, stream)
1476 ZEND_ARG_TYPE_INFO(0, format, IS_STRING, 0)
1477 ZEND_ARG_VARIADIC_TYPE_INFO(0, values, IS_MIXED, 0)
1478 ZEND_END_ARG_INFO()
1479
1480 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_vfprintf, 0, 3, IS_LONG, 0)
1481 ZEND_ARG_INFO(0, stream)
1482 ZEND_ARG_TYPE_INFO(0, format, IS_STRING, 0)
1483 ZEND_ARG_TYPE_INFO(0, values, IS_ARRAY, 0)
1484 ZEND_END_ARG_INFO()
1485
1486 ZEND_BEGIN_ARG_INFO_EX(arginfo_fsockopen, 0, 0, 1)
1487 ZEND_ARG_TYPE_INFO(0, hostname, IS_STRING, 0)
1488 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, port, IS_LONG, 0, "-1")
1489 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, error_code, "null")
1490 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, error_message, "null")
1491 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, timeout, IS_DOUBLE, 1, "null")
1492 ZEND_END_ARG_INFO()
1493
1494 #define arginfo_pfsockopen arginfo_fsockopen
1495
1496 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_http_build_query, 0, 1, IS_STRING, 0)
1497 ZEND_ARG_TYPE_MASK(0, data, MAY_BE_ARRAY|MAY_BE_OBJECT, NULL)
1498 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, numeric_prefix, IS_STRING, 0, "\"\"")
1499 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, arg_separator, IS_STRING, 1, "null")
1500 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, encoding_type, IS_LONG, 0, "PHP_QUERY_RFC1738")
1501 ZEND_END_ARG_INFO()
1502
1503 #define arginfo_http_get_last_response_headers arginfo_error_get_last
1504
1505 #define arginfo_http_clear_last_response_headers arginfo_flush
1506
1507 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_request_parse_body, 0, 0, IS_ARRAY, 0)
1508 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_ARRAY, 1, "null")
1509 ZEND_END_ARG_INFO()
1510
1511 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_image_type_to_mime_type, 0, 1, IS_STRING, 0)
1512 ZEND_ARG_TYPE_INFO(0, image_type, IS_LONG, 0)
1513 ZEND_END_ARG_INFO()
1514
1515 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_image_type_to_extension, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
1516 ZEND_ARG_TYPE_INFO(0, image_type, IS_LONG, 0)
1517 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, include_dot, _IS_BOOL, 0, "true")
1518 ZEND_END_ARG_INFO()
1519
1520 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_getimagesize, 0, 1, MAY_BE_ARRAY|MAY_BE_FALSE)
1521 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
1522 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, image_info, "null")
1523 ZEND_END_ARG_INFO()
1524
1525 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_getimagesizefromstring, 0, 1, MAY_BE_ARRAY|MAY_BE_FALSE)
1526 ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
1527 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, image_info, "null")
1528 ZEND_END_ARG_INFO()
1529
1530 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phpinfo, 0, 0, IS_TRUE, 0)
1531 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flags, IS_LONG, 0, "INFO_ALL")
1532 ZEND_END_ARG_INFO()
1533
1534 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_phpversion, 0, 0, MAY_BE_STRING|MAY_BE_FALSE)
1535 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, extension, IS_STRING, 1, "null")
1536 ZEND_END_ARG_INFO()
1537
1538 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phpcredits, 0, 0, IS_TRUE, 0)
1539 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flags, IS_LONG, 0, "CREDITS_ALL")
1540 ZEND_END_ARG_INFO()
1541
1542 #define arginfo_php_sapi_name arginfo_ob_get_flush
1543
1544 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_php_uname, 0, 0, IS_STRING, 0)
1545 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, mode, IS_STRING, 0, "\"a\"")
1546 ZEND_END_ARG_INFO()
1547
1548 #define arginfo_php_ini_scanned_files arginfo_ob_get_flush
1549
1550 #define arginfo_php_ini_loaded_file arginfo_ob_get_flush
1551
1552 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_iptcembed, 0, 2, MAY_BE_STRING|MAY_BE_BOOL)
1553 ZEND_ARG_TYPE_INFO(0, iptc_data, IS_STRING, 0)
1554 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
1555 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, spool, IS_LONG, 0, "0")
1556 ZEND_END_ARG_INFO()
1557
1558 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_iptcparse, 0, 1, MAY_BE_ARRAY|MAY_BE_FALSE)
1559 ZEND_ARG_TYPE_INFO(0, iptc_block, IS_STRING, 0)
1560 ZEND_END_ARG_INFO()
1561
1562 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_levenshtein, 0, 2, IS_LONG, 0)
1563 ZEND_ARG_TYPE_INFO(0, string1, IS_STRING, 0)
1564 ZEND_ARG_TYPE_INFO(0, string2, IS_STRING, 0)
1565 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, insertion_cost, IS_LONG, 0, "1")
1566 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, replacement_cost, IS_LONG, 0, "1")
1567 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, deletion_cost, IS_LONG, 0, "1")
1568 ZEND_END_ARG_INFO()
1569
1570 #if (defined(HAVE_SYMLINK) || defined(PHP_WIN32))
1571 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_readlink, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
1572 ZEND_ARG_TYPE_INFO(0, path, IS_STRING, 0)
1573 ZEND_END_ARG_INFO()
1574
1575 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_linkinfo, 0, 1, MAY_BE_LONG|MAY_BE_FALSE)
1576 ZEND_ARG_TYPE_INFO(0, path, IS_STRING, 0)
1577 ZEND_END_ARG_INFO()
1578
1579 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_symlink, 0, 2, _IS_BOOL, 0)
1580 ZEND_ARG_TYPE_INFO(0, target, IS_STRING, 0)
1581 ZEND_ARG_TYPE_INFO(0, link, IS_STRING, 0)
1582 ZEND_END_ARG_INFO()
1583
1584 #define arginfo_link arginfo_symlink
1585 #endif
1586
1587 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_mail, 0, 3, _IS_BOOL, 0)
1588 ZEND_ARG_TYPE_INFO(0, to, IS_STRING, 0)
1589 ZEND_ARG_TYPE_INFO(0, subject, IS_STRING, 0)
1590 ZEND_ARG_TYPE_INFO(0, message, IS_STRING, 0)
1591 ZEND_ARG_TYPE_MASK(0, additional_headers, MAY_BE_ARRAY|MAY_BE_STRING, "[]")
1592 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, additional_params, IS_STRING, 0, "\"\"")
1593 ZEND_END_ARG_INFO()
1594
1595 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_abs, 0, 1, MAY_BE_LONG|MAY_BE_DOUBLE)
1596 ZEND_ARG_TYPE_MASK(0, num, MAY_BE_LONG|MAY_BE_DOUBLE, NULL)
1597 ZEND_END_ARG_INFO()
1598
1599 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_ceil, 0, 1, IS_DOUBLE, 0)
1600 ZEND_ARG_TYPE_MASK(0, num, MAY_BE_LONG|MAY_BE_DOUBLE, NULL)
1601 ZEND_END_ARG_INFO()
1602
1603 #define arginfo_floor arginfo_ceil
1604
1605 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_round, 0, 1, IS_DOUBLE, 0)
1606 ZEND_ARG_TYPE_MASK(0, num, MAY_BE_LONG|MAY_BE_DOUBLE, NULL)
1607 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, precision, IS_LONG, 0, "0")
1608 ZEND_ARG_OBJ_TYPE_MASK(0, mode, RoundingMode, MAY_BE_LONG, "RoundingMode::HalfAwayFromZero")
1609 ZEND_END_ARG_INFO()
1610
1611 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_sin, 0, 1, IS_DOUBLE, 0)
1612 ZEND_ARG_TYPE_INFO(0, num, IS_DOUBLE, 0)
1613 ZEND_END_ARG_INFO()
1614
1615 #define arginfo_cos arginfo_sin
1616
1617 #define arginfo_tan arginfo_sin
1618
1619 #define arginfo_asin arginfo_sin
1620
1621 #define arginfo_acos arginfo_sin
1622
1623 #define arginfo_atan arginfo_sin
1624
1625 #define arginfo_atanh arginfo_sin
1626
1627 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_atan2, 0, 2, IS_DOUBLE, 0)
1628 ZEND_ARG_TYPE_INFO(0, y, IS_DOUBLE, 0)
1629 ZEND_ARG_TYPE_INFO(0, x, IS_DOUBLE, 0)
1630 ZEND_END_ARG_INFO()
1631
1632 #define arginfo_sinh arginfo_sin
1633
1634 #define arginfo_cosh arginfo_sin
1635
1636 #define arginfo_tanh arginfo_sin
1637
1638 #define arginfo_asinh arginfo_sin
1639
1640 #define arginfo_acosh arginfo_sin
1641
1642 #define arginfo_expm1 arginfo_sin
1643
1644 #define arginfo_log1p arginfo_sin
1645
1646 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_pi, 0, 0, IS_DOUBLE, 0)
1647 ZEND_END_ARG_INFO()
1648
1649 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_is_finite, 0, 1, _IS_BOOL, 0)
1650 ZEND_ARG_TYPE_INFO(0, num, IS_DOUBLE, 0)
1651 ZEND_END_ARG_INFO()
1652
1653 #define arginfo_is_nan arginfo_is_finite
1654
1655 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_intdiv, 0, 2, IS_LONG, 0)
1656 ZEND_ARG_TYPE_INFO(0, num1, IS_LONG, 0)
1657 ZEND_ARG_TYPE_INFO(0, num2, IS_LONG, 0)
1658 ZEND_END_ARG_INFO()
1659
1660 #define arginfo_is_infinite arginfo_is_finite
1661
1662 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_pow, 0, 2, MAY_BE_LONG|MAY_BE_DOUBLE|MAY_BE_OBJECT)
1663 ZEND_ARG_TYPE_INFO(0, num, IS_MIXED, 0)
1664 ZEND_ARG_TYPE_INFO(0, exponent, IS_MIXED, 0)
1665 ZEND_END_ARG_INFO()
1666
1667 #define arginfo_exp arginfo_sin
1668
1669 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_log, 0, 1, IS_DOUBLE, 0)
1670 ZEND_ARG_TYPE_INFO(0, num, IS_DOUBLE, 0)
1671 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, base, IS_DOUBLE, 0, "M_E")
1672 ZEND_END_ARG_INFO()
1673
1674 #define arginfo_log10 arginfo_sin
1675
1676 #define arginfo_sqrt arginfo_sin
1677
1678 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_hypot, 0, 2, IS_DOUBLE, 0)
1679 ZEND_ARG_TYPE_INFO(0, x, IS_DOUBLE, 0)
1680 ZEND_ARG_TYPE_INFO(0, y, IS_DOUBLE, 0)
1681 ZEND_END_ARG_INFO()
1682
1683 #define arginfo_deg2rad arginfo_sin
1684
1685 #define arginfo_rad2deg arginfo_sin
1686
1687 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_bindec, 0, 1, MAY_BE_LONG|MAY_BE_DOUBLE)
1688 ZEND_ARG_TYPE_INFO(0, binary_string, IS_STRING, 0)
1689 ZEND_END_ARG_INFO()
1690
1691 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_hexdec, 0, 1, MAY_BE_LONG|MAY_BE_DOUBLE)
1692 ZEND_ARG_TYPE_INFO(0, hex_string, IS_STRING, 0)
1693 ZEND_END_ARG_INFO()
1694
1695 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_octdec, 0, 1, MAY_BE_LONG|MAY_BE_DOUBLE)
1696 ZEND_ARG_TYPE_INFO(0, octal_string, IS_STRING, 0)
1697 ZEND_END_ARG_INFO()
1698
1699 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_decbin, 0, 1, IS_STRING, 0)
1700 ZEND_ARG_TYPE_INFO(0, num, IS_LONG, 0)
1701 ZEND_END_ARG_INFO()
1702
1703 #define arginfo_decoct arginfo_decbin
1704
1705 #define arginfo_dechex arginfo_decbin
1706
1707 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_base_convert, 0, 3, IS_STRING, 0)
1708 ZEND_ARG_TYPE_INFO(0, num, IS_STRING, 0)
1709 ZEND_ARG_TYPE_INFO(0, from_base, IS_LONG, 0)
1710 ZEND_ARG_TYPE_INFO(0, to_base, IS_LONG, 0)
1711 ZEND_END_ARG_INFO()
1712
1713 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_number_format, 0, 1, IS_STRING, 0)
1714 ZEND_ARG_TYPE_INFO(0, num, IS_DOUBLE, 0)
1715 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, decimals, IS_LONG, 0, "0")
1716 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, decimal_separator, IS_STRING, 1, "\".\"")
1717 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, thousands_separator, IS_STRING, 1, "\",\"")
1718 ZEND_END_ARG_INFO()
1719
1720 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_fmod, 0, 2, IS_DOUBLE, 0)
1721 ZEND_ARG_TYPE_INFO(0, num1, IS_DOUBLE, 0)
1722 ZEND_ARG_TYPE_INFO(0, num2, IS_DOUBLE, 0)
1723 ZEND_END_ARG_INFO()
1724
1725 #define arginfo_fdiv arginfo_fmod
1726
1727 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_fpow, 0, 2, IS_DOUBLE, 0)
1728 ZEND_ARG_TYPE_INFO(0, num, IS_DOUBLE, 0)
1729 ZEND_ARG_TYPE_INFO(0, exponent, IS_DOUBLE, 0)
1730 ZEND_END_ARG_INFO()
1731
1732 #if defined(HAVE_GETTIMEOFDAY)
1733 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_microtime, 0, 0, MAY_BE_STRING|MAY_BE_DOUBLE)
1734 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, as_float, _IS_BOOL, 0, "false")
1735 ZEND_END_ARG_INFO()
1736
1737 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_gettimeofday, 0, 0, MAY_BE_ARRAY|MAY_BE_DOUBLE)
1738 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, as_float, _IS_BOOL, 0, "false")
1739 ZEND_END_ARG_INFO()
1740 #endif
1741
1742 #if defined(HAVE_GETRUSAGE)
1743 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_getrusage, 0, 0, MAY_BE_ARRAY|MAY_BE_FALSE)
1744 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, mode, IS_LONG, 0, "0")
1745 ZEND_END_ARG_INFO()
1746 #endif
1747
1748 #define arginfo_pack arginfo_sprintf
1749
1750 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_unpack, 0, 2, MAY_BE_ARRAY|MAY_BE_FALSE)
1751 ZEND_ARG_TYPE_INFO(0, format, IS_STRING, 0)
1752 ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
1753 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, offset, IS_LONG, 0, "0")
1754 ZEND_END_ARG_INFO()
1755
1756 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_password_get_info, 0, 1, IS_ARRAY, 0)
1757 ZEND_ARG_TYPE_INFO(0, hash, IS_STRING, 0)
1758 ZEND_END_ARG_INFO()
1759
1760 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_password_hash, 0, 2, IS_STRING, 0)
1761 ZEND_ARG_TYPE_INFO(0, password, IS_STRING, 0)
1762 ZEND_ARG_TYPE_MASK(0, algo, MAY_BE_STRING|MAY_BE_LONG|MAY_BE_NULL, NULL)
1763 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_ARRAY, 0, "[]")
1764 ZEND_END_ARG_INFO()
1765
1766 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_password_needs_rehash, 0, 2, _IS_BOOL, 0)
1767 ZEND_ARG_TYPE_INFO(0, hash, IS_STRING, 0)
1768 ZEND_ARG_TYPE_MASK(0, algo, MAY_BE_STRING|MAY_BE_LONG|MAY_BE_NULL, NULL)
1769 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_ARRAY, 0, "[]")
1770 ZEND_END_ARG_INFO()
1771
1772 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_password_verify, 0, 2, _IS_BOOL, 0)
1773 ZEND_ARG_TYPE_INFO(0, password, IS_STRING, 0)
1774 ZEND_ARG_TYPE_INFO(0, hash, IS_STRING, 0)
1775 ZEND_END_ARG_INFO()
1776
1777 #define arginfo_password_algos arginfo_ob_list_handlers
1778
1779 #if defined(PHP_CAN_SUPPORT_PROC_OPEN)
1780 ZEND_BEGIN_ARG_INFO_EX(arginfo_proc_open, 0, 0, 3)
1781 ZEND_ARG_TYPE_MASK(0, command, MAY_BE_ARRAY|MAY_BE_STRING, NULL)
1782 ZEND_ARG_TYPE_INFO(0, descriptor_spec, IS_ARRAY, 0)
1783 ZEND_ARG_INFO(1, pipes)
1784 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, cwd, IS_STRING, 1, "null")
1785 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, env_vars, IS_ARRAY, 1, "null")
1786 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_ARRAY, 1, "null")
1787 ZEND_END_ARG_INFO()
1788
1789 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_proc_close, 0, 1, IS_LONG, 0)
1790 ZEND_ARG_INFO(0, process)
1791 ZEND_END_ARG_INFO()
1792
1793 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_proc_terminate, 0, 1, _IS_BOOL, 0)
1794 ZEND_ARG_INFO(0, process)
1795 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, signal, IS_LONG, 0, "15")
1796 ZEND_END_ARG_INFO()
1797
1798 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_proc_get_status, 0, 1, IS_ARRAY, 0)
1799 ZEND_ARG_INFO(0, process)
1800 ZEND_END_ARG_INFO()
1801 #endif
1802
1803 #define arginfo_quoted_printable_decode arginfo_base64_encode
1804
1805 #define arginfo_quoted_printable_encode arginfo_base64_encode
1806
1807 #define arginfo_soundex arginfo_base64_encode
1808
1809 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_stream_select, 0, 4, MAY_BE_LONG|MAY_BE_FALSE)
1810 ZEND_ARG_TYPE_INFO(1, read, IS_ARRAY, 1)
1811 ZEND_ARG_TYPE_INFO(1, write, IS_ARRAY, 1)
1812 ZEND_ARG_TYPE_INFO(1, except, IS_ARRAY, 1)
1813 ZEND_ARG_TYPE_INFO(0, seconds, IS_LONG, 1)
1814 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, microseconds, IS_LONG, 1, "null")
1815 ZEND_END_ARG_INFO()
1816
1817 ZEND_BEGIN_ARG_INFO_EX(arginfo_stream_context_create, 0, 0, 0)
1818 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_ARRAY, 1, "null")
1819 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, params, IS_ARRAY, 1, "null")
1820 ZEND_END_ARG_INFO()
1821
1822 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_stream_context_set_params, 0, 2, IS_TRUE, 0)
1823 ZEND_ARG_INFO(0, context)
1824 ZEND_ARG_TYPE_INFO(0, params, IS_ARRAY, 0)
1825 ZEND_END_ARG_INFO()
1826
1827 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_stream_context_get_params, 0, 1, IS_ARRAY, 0)
1828 ZEND_ARG_INFO(0, context)
1829 ZEND_END_ARG_INFO()
1830
1831 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_stream_context_set_option, 0, 2, IS_TRUE, 0)
1832 ZEND_ARG_INFO(0, context)
1833 ZEND_ARG_TYPE_MASK(0, wrapper_or_options, MAY_BE_ARRAY|MAY_BE_STRING, NULL)
1834 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, option_name, IS_STRING, 1, "null")
1835 ZEND_ARG_TYPE_INFO(0, value, IS_MIXED, 0)
1836 ZEND_END_ARG_INFO()
1837
1838 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_stream_context_set_options, 0, 2, IS_TRUE, 0)
1839 ZEND_ARG_INFO(0, context)
1840 ZEND_ARG_TYPE_INFO(0, options, IS_ARRAY, 0)
1841 ZEND_END_ARG_INFO()
1842
1843 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_stream_context_get_options, 0, 1, IS_ARRAY, 0)
1844 ZEND_ARG_INFO(0, stream_or_context)
1845 ZEND_END_ARG_INFO()
1846
1847 ZEND_BEGIN_ARG_INFO_EX(arginfo_stream_context_get_default, 0, 0, 0)
1848 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_ARRAY, 1, "null")
1849 ZEND_END_ARG_INFO()
1850
1851 ZEND_BEGIN_ARG_INFO_EX(arginfo_stream_context_set_default, 0, 0, 1)
1852 ZEND_ARG_TYPE_INFO(0, options, IS_ARRAY, 0)
1853 ZEND_END_ARG_INFO()
1854
1855 ZEND_BEGIN_ARG_INFO_EX(arginfo_stream_filter_prepend, 0, 0, 2)
1856 ZEND_ARG_INFO(0, stream)
1857 ZEND_ARG_TYPE_INFO(0, filter_name, IS_STRING, 0)
1858 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, mode, IS_LONG, 0, "0")
1859 ZEND_ARG_TYPE_INFO(0, params, IS_MIXED, 0)
1860 ZEND_END_ARG_INFO()
1861
1862 #define arginfo_stream_filter_append arginfo_stream_filter_prepend
1863
1864 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_stream_filter_remove, 0, 1, _IS_BOOL, 0)
1865 ZEND_ARG_INFO(0, stream_filter)
1866 ZEND_END_ARG_INFO()
1867
1868 ZEND_BEGIN_ARG_INFO_EX(arginfo_stream_socket_client, 0, 0, 1)
1869 ZEND_ARG_TYPE_INFO(0, address, IS_STRING, 0)
1870 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, error_code, "null")
1871 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, error_message, "null")
1872 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, timeout, IS_DOUBLE, 1, "null")
1873 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flags, IS_LONG, 0, "STREAM_CLIENT_CONNECT")
1874 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, context, "null")
1875 ZEND_END_ARG_INFO()
1876
1877 ZEND_BEGIN_ARG_INFO_EX(arginfo_stream_socket_server, 0, 0, 1)
1878 ZEND_ARG_TYPE_INFO(0, address, IS_STRING, 0)
1879 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, error_code, "null")
1880 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, error_message, "null")
1881 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flags, IS_LONG, 0, "STREAM_SERVER_BIND | STREAM_SERVER_LISTEN")
1882 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, context, "null")
1883 ZEND_END_ARG_INFO()
1884
1885 ZEND_BEGIN_ARG_INFO_EX(arginfo_stream_socket_accept, 0, 0, 1)
1886 ZEND_ARG_INFO(0, socket)
1887 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, timeout, IS_DOUBLE, 1, "null")
1888 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, peer_name, "null")
1889 ZEND_END_ARG_INFO()
1890
1891 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_stream_socket_get_name, 0, 2, MAY_BE_STRING|MAY_BE_FALSE)
1892 ZEND_ARG_INFO(0, socket)
1893 ZEND_ARG_TYPE_INFO(0, remote, _IS_BOOL, 0)
1894 ZEND_END_ARG_INFO()
1895
1896 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_stream_socket_recvfrom, 0, 2, MAY_BE_STRING|MAY_BE_FALSE)
1897 ZEND_ARG_INFO(0, socket)
1898 ZEND_ARG_TYPE_INFO(0, length, IS_LONG, 0)
1899 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flags, IS_LONG, 0, "0")
1900 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, address, "null")
1901 ZEND_END_ARG_INFO()
1902
1903 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_stream_socket_sendto, 0, 2, MAY_BE_LONG|MAY_BE_FALSE)
1904 ZEND_ARG_INFO(0, socket)
1905 ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0)
1906 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flags, IS_LONG, 0, "0")
1907 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, address, IS_STRING, 0, "\"\"")
1908 ZEND_END_ARG_INFO()
1909
1910 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_stream_socket_enable_crypto, 0, 2, MAY_BE_LONG|MAY_BE_BOOL)
1911 ZEND_ARG_INFO(0, stream)
1912 ZEND_ARG_TYPE_INFO(0, enable, _IS_BOOL, 0)
1913 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, crypto_method, IS_LONG, 1, "null")
1914 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, session_stream, "null")
1915 ZEND_END_ARG_INFO()
1916
1917 #if defined(HAVE_SHUTDOWN)
1918 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_stream_socket_shutdown, 0, 2, _IS_BOOL, 0)
1919 ZEND_ARG_INFO(0, stream)
1920 ZEND_ARG_TYPE_INFO(0, mode, IS_LONG, 0)
1921 ZEND_END_ARG_INFO()
1922 #endif
1923
1924 #if defined(HAVE_SOCKETPAIR)
1925 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_stream_socket_pair, 0, 3, MAY_BE_ARRAY|MAY_BE_FALSE)
1926 ZEND_ARG_TYPE_INFO(0, domain, IS_LONG, 0)
1927 ZEND_ARG_TYPE_INFO(0, type, IS_LONG, 0)
1928 ZEND_ARG_TYPE_INFO(0, protocol, IS_LONG, 0)
1929 ZEND_END_ARG_INFO()
1930 #endif
1931
1932 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_stream_copy_to_stream, 0, 2, MAY_BE_LONG|MAY_BE_FALSE)
1933 ZEND_ARG_INFO(0, from)
1934 ZEND_ARG_INFO(0, to)
1935 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, length, IS_LONG, 1, "null")
1936 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, offset, IS_LONG, 0, "0")
1937 ZEND_END_ARG_INFO()
1938
1939 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_stream_get_contents, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
1940 ZEND_ARG_INFO(0, stream)
1941 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, length, IS_LONG, 1, "null")
1942 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, offset, IS_LONG, 0, "-1")
1943 ZEND_END_ARG_INFO()
1944
1945 #define arginfo_stream_supports_lock arginfo_rewind
1946
1947 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_stream_set_write_buffer, 0, 2, IS_LONG, 0)
1948 ZEND_ARG_INFO(0, stream)
1949 ZEND_ARG_TYPE_INFO(0, size, IS_LONG, 0)
1950 ZEND_END_ARG_INFO()
1951
1952 #define arginfo_set_file_buffer arginfo_stream_set_write_buffer
1953
1954 #define arginfo_stream_set_read_buffer arginfo_stream_set_write_buffer
1955
1956 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_stream_set_blocking, 0, 2, _IS_BOOL, 0)
1957 ZEND_ARG_INFO(0, stream)
1958 ZEND_ARG_TYPE_INFO(0, enable, _IS_BOOL, 0)
1959 ZEND_END_ARG_INFO()
1960
1961 #define arginfo_socket_set_blocking arginfo_stream_set_blocking
1962
1963 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_stream_get_meta_data, 0, 1, IS_ARRAY, 0)
1964 ZEND_ARG_INFO(0, stream)
1965 ZEND_END_ARG_INFO()
1966
1967 #define arginfo_socket_get_status arginfo_stream_get_meta_data
1968
1969 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_stream_get_line, 0, 2, MAY_BE_STRING|MAY_BE_FALSE)
1970 ZEND_ARG_INFO(0, stream)
1971 ZEND_ARG_TYPE_INFO(0, length, IS_LONG, 0)
1972 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, ending, IS_STRING, 0, "\"\"")
1973 ZEND_END_ARG_INFO()
1974
1975 #define arginfo_stream_resolve_include_path arginfo_filetype
1976
1977 #define arginfo_stream_get_wrappers arginfo_ob_list_handlers
1978
1979 #define arginfo_stream_get_transports arginfo_ob_list_handlers
1980
1981 #define arginfo_stream_is_local arginfo_rewind
1982
1983 #define arginfo_stream_isatty arginfo_rewind
1984
1985 #if defined(PHP_WIN32)
1986 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_sapi_windows_vt100_support, 0, 1, _IS_BOOL, 0)
1987 ZEND_ARG_INFO(0, stream)
1988 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, enable, _IS_BOOL, 1, "null")
1989 ZEND_END_ARG_INFO()
1990 #endif
1991
1992 #define arginfo_stream_set_chunk_size arginfo_stream_set_write_buffer
1993
1994 #if (defined(HAVE_SYS_TIME_H) || defined(PHP_WIN32))
1995 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_stream_set_timeout, 0, 2, _IS_BOOL, 0)
1996 ZEND_ARG_INFO(0, stream)
1997 ZEND_ARG_TYPE_INFO(0, seconds, IS_LONG, 0)
1998 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, microseconds, IS_LONG, 0, "0")
1999 ZEND_END_ARG_INFO()
2000
2001 #define arginfo_socket_set_timeout arginfo_stream_set_timeout
2002 #endif
2003
2004 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_gettype, 0, 1, IS_STRING, 0)
2005 ZEND_ARG_TYPE_INFO(0, value, IS_MIXED, 0)
2006 ZEND_END_ARG_INFO()
2007
2008 #define arginfo_get_debug_type arginfo_gettype
2009
2010 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_settype, 0, 2, _IS_BOOL, 0)
2011 ZEND_ARG_TYPE_INFO(1, var, IS_MIXED, 0)
2012 ZEND_ARG_TYPE_INFO(0, type, IS_STRING, 0)
2013 ZEND_END_ARG_INFO()
2014
2015 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_intval, 0, 1, IS_LONG, 0)
2016 ZEND_ARG_TYPE_INFO(0, value, IS_MIXED, 0)
2017 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, base, IS_LONG, 0, "10")
2018 ZEND_END_ARG_INFO()
2019
2020 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_floatval, 0, 1, IS_DOUBLE, 0)
2021 ZEND_ARG_TYPE_INFO(0, value, IS_MIXED, 0)
2022 ZEND_END_ARG_INFO()
2023
2024 #define arginfo_doubleval arginfo_floatval
2025
2026 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_boolval, 0, 1, _IS_BOOL, 0)
2027 ZEND_ARG_TYPE_INFO(0, value, IS_MIXED, 0)
2028 ZEND_END_ARG_INFO()
2029
2030 #define arginfo_strval arginfo_gettype
2031
2032 #define arginfo_is_null arginfo_boolval
2033
2034 #define arginfo_is_resource arginfo_boolval
2035
2036 #define arginfo_is_bool arginfo_boolval
2037
2038 #define arginfo_is_int arginfo_boolval
2039
2040 #define arginfo_is_integer arginfo_boolval
2041
2042 #define arginfo_is_long arginfo_boolval
2043
2044 #define arginfo_is_float arginfo_boolval
2045
2046 #define arginfo_is_double arginfo_boolval
2047
2048 #define arginfo_is_numeric arginfo_boolval
2049
2050 #define arginfo_is_string arginfo_boolval
2051
2052 #define arginfo_is_array arginfo_boolval
2053
2054 #define arginfo_is_object arginfo_boolval
2055
2056 #define arginfo_is_scalar arginfo_boolval
2057
2058 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_is_callable, 0, 1, _IS_BOOL, 0)
2059 ZEND_ARG_TYPE_INFO(0, value, IS_MIXED, 0)
2060 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, syntax_only, _IS_BOOL, 0, "false")
2061 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, callable_name, "null")
2062 ZEND_END_ARG_INFO()
2063
2064 #define arginfo_is_iterable arginfo_boolval
2065
2066 #define arginfo_is_countable arginfo_boolval
2067
2068 #if defined(HAVE_GETTIMEOFDAY)
2069 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_uniqid, 0, 0, IS_STRING, 0)
2070 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, prefix, IS_STRING, 0, "\"\"")
2071 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, more_entropy, _IS_BOOL, 0, "false")
2072 ZEND_END_ARG_INFO()
2073 #endif
2074
2075 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_parse_url, 0, 1, MAY_BE_LONG|MAY_BE_STRING|MAY_BE_ARRAY|MAY_BE_NULL|MAY_BE_FALSE)
2076 ZEND_ARG_TYPE_INFO(0, url, IS_STRING, 0)
2077 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, component, IS_LONG, 0, "-1")
2078 ZEND_END_ARG_INFO()
2079
2080 #define arginfo_urlencode arginfo_base64_encode
2081
2082 #define arginfo_urldecode arginfo_base64_encode
2083
2084 #define arginfo_rawurlencode arginfo_base64_encode
2085
2086 #define arginfo_rawurldecode arginfo_base64_encode
2087
2088 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_get_headers, 0, 1, MAY_BE_ARRAY|MAY_BE_FALSE)
2089 ZEND_ARG_TYPE_INFO(0, url, IS_STRING, 0)
2090 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, associative, _IS_BOOL, 0, "false")
2091 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, context, "null")
2092 ZEND_END_ARG_INFO()
2093
2094 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_stream_bucket_make_writeable, 0, 1, StreamBucket, 1)
2095 ZEND_ARG_INFO(0, brigade)
2096 ZEND_END_ARG_INFO()
2097
2098 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_stream_bucket_prepend, 0, 2, IS_VOID, 0)
2099 ZEND_ARG_INFO(0, brigade)
2100 ZEND_ARG_OBJ_INFO(0, bucket, StreamBucket, 0)
2101 ZEND_END_ARG_INFO()
2102
2103 #define arginfo_stream_bucket_append arginfo_stream_bucket_prepend
2104
2105 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_stream_bucket_new, 0, 2, StreamBucket, 0)
2106 ZEND_ARG_INFO(0, stream)
2107 ZEND_ARG_TYPE_INFO(0, buffer, IS_STRING, 0)
2108 ZEND_END_ARG_INFO()
2109
2110 #define arginfo_stream_get_filters arginfo_ob_list_handlers
2111
2112 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_stream_filter_register, 0, 2, _IS_BOOL, 0)
2113 ZEND_ARG_TYPE_INFO(0, filter_name, IS_STRING, 0)
2114 ZEND_ARG_TYPE_INFO(0, class, IS_STRING, 0)
2115 ZEND_END_ARG_INFO()
2116
2117 #define arginfo_convert_uuencode arginfo_base64_encode
2118
2119 #define arginfo_convert_uudecode arginfo_hex2bin
2120
2121 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_var_dump, 0, 1, IS_VOID, 0)
2122 ZEND_ARG_TYPE_INFO(0, value, IS_MIXED, 0)
2123 ZEND_ARG_VARIADIC_TYPE_INFO(0, values, IS_MIXED, 0)
2124 ZEND_END_ARG_INFO()
2125
2126 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_var_export, 0, 1, IS_STRING, 1)
2127 ZEND_ARG_TYPE_INFO(0, value, IS_MIXED, 0)
2128 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, return, _IS_BOOL, 0, "false")
2129 ZEND_END_ARG_INFO()
2130
2131 #define arginfo_debug_zval_dump arginfo_var_dump
2132
2133 #define arginfo_serialize arginfo_gettype
2134
2135 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_unserialize, 0, 1, IS_MIXED, 0)
2136 ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0)
2137 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_ARRAY, 0, "[]")
2138 ZEND_END_ARG_INFO()
2139
2140 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_memory_get_usage, 0, 0, IS_LONG, 0)
2141 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, real_usage, _IS_BOOL, 0, "false")
2142 ZEND_END_ARG_INFO()
2143
2144 #define arginfo_memory_get_peak_usage arginfo_memory_get_usage
2145
2146 #define arginfo_memory_reset_peak_usage arginfo_flush
2147
2148 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_version_compare, 0, 2, MAY_BE_LONG|MAY_BE_BOOL)
2149 ZEND_ARG_TYPE_INFO(0, version1, IS_STRING, 0)
2150 ZEND_ARG_TYPE_INFO(0, version2, IS_STRING, 0)
2151 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, operator, IS_STRING, 1, "null")
2152 ZEND_END_ARG_INFO()
2153
2154 #if defined(PHP_WIN32)
2155 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_sapi_windows_cp_set, 0, 1, _IS_BOOL, 0)
2156 ZEND_ARG_TYPE_INFO(0, codepage, IS_LONG, 0)
2157 ZEND_END_ARG_INFO()
2158
2159 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_sapi_windows_cp_get, 0, 0, IS_LONG, 0)
2160 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, kind, IS_STRING, 0, "\"\"")
2161 ZEND_END_ARG_INFO()
2162
2163 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_sapi_windows_cp_conv, 0, 3, IS_STRING, 1)
2164 ZEND_ARG_TYPE_MASK(0, in_codepage, MAY_BE_LONG|MAY_BE_STRING, NULL)
2165 ZEND_ARG_TYPE_MASK(0, out_codepage, MAY_BE_LONG|MAY_BE_STRING, NULL)
2166 ZEND_ARG_TYPE_INFO(0, subject, IS_STRING, 0)
2167 ZEND_END_ARG_INFO()
2168
2169 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_sapi_windows_cp_is_utf8, 0, 0, _IS_BOOL, 0)
2170 ZEND_END_ARG_INFO()
2171
2172 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_sapi_windows_set_ctrl_handler, 0, 1, _IS_BOOL, 0)
2173 ZEND_ARG_TYPE_INFO(0, handler, IS_CALLABLE, 1)
2174 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, add, _IS_BOOL, 0, "true")
2175 ZEND_END_ARG_INFO()
2176
2177 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_sapi_windows_generate_ctrl_event, 0, 1, _IS_BOOL, 0)
2178 ZEND_ARG_TYPE_INFO(0, event, IS_LONG, 0)
2179 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, pid, IS_LONG, 0, "0")
2180 ZEND_END_ARG_INFO()
2181 #endif
2182
2183
2184 ZEND_FRAMELESS_FUNCTION(min, 2);
2185 static const zend_frameless_function_info frameless_function_infos_min[] = {
2186 { ZEND_FRAMELESS_FUNCTION_NAME(min, 2), 2 },
2187 { 0 },
2188 };
2189
2190 ZEND_FRAMELESS_FUNCTION(max, 2);
2191 static const zend_frameless_function_info frameless_function_infos_max[] = {
2192 { ZEND_FRAMELESS_FUNCTION_NAME(max, 2), 2 },
2193 { 0 },
2194 };
2195
2196 ZEND_FRAMELESS_FUNCTION(in_array, 2);
2197 ZEND_FRAMELESS_FUNCTION(in_array, 3);
2198 static const zend_frameless_function_info frameless_function_infos_in_array[] = {
2199 { ZEND_FRAMELESS_FUNCTION_NAME(in_array, 2), 2 },
2200 { ZEND_FRAMELESS_FUNCTION_NAME(in_array, 3), 3 },
2201 { 0 },
2202 };
2203
2204 ZEND_FRAMELESS_FUNCTION(trim, 1);
2205 ZEND_FRAMELESS_FUNCTION(trim, 2);
2206 static const zend_frameless_function_info frameless_function_infos_trim[] = {
2207 { ZEND_FRAMELESS_FUNCTION_NAME(trim, 1), 1 },
2208 { ZEND_FRAMELESS_FUNCTION_NAME(trim, 2), 2 },
2209 { 0 },
2210 };
2211
2212 ZEND_FRAMELESS_FUNCTION(implode, 1);
2213 ZEND_FRAMELESS_FUNCTION(implode, 2);
2214 static const zend_frameless_function_info frameless_function_infos_implode[] = {
2215 { ZEND_FRAMELESS_FUNCTION_NAME(implode, 1), 1 },
2216 { ZEND_FRAMELESS_FUNCTION_NAME(implode, 2), 2 },
2217 { 0 },
2218 };
2219
2220 ZEND_FRAMELESS_FUNCTION(dirname, 1);
2221 ZEND_FRAMELESS_FUNCTION(dirname, 2);
2222 static const zend_frameless_function_info frameless_function_infos_dirname[] = {
2223 { ZEND_FRAMELESS_FUNCTION_NAME(dirname, 1), 1 },
2224 { ZEND_FRAMELESS_FUNCTION_NAME(dirname, 2), 2 },
2225 { 0 },
2226 };
2227
2228 ZEND_FRAMELESS_FUNCTION(strstr, 2);
2229 ZEND_FRAMELESS_FUNCTION(strstr, 3);
2230 static const zend_frameless_function_info frameless_function_infos_strstr[] = {
2231 { ZEND_FRAMELESS_FUNCTION_NAME(strstr, 2), 2 },
2232 { ZEND_FRAMELESS_FUNCTION_NAME(strstr, 3), 3 },
2233 { 0 },
2234 };
2235
2236 ZEND_FRAMELESS_FUNCTION(strpos, 2);
2237 ZEND_FRAMELESS_FUNCTION(strpos, 3);
2238 static const zend_frameless_function_info frameless_function_infos_strpos[] = {
2239 { ZEND_FRAMELESS_FUNCTION_NAME(strpos, 2), 2 },
2240 { ZEND_FRAMELESS_FUNCTION_NAME(strpos, 3), 3 },
2241 { 0 },
2242 };
2243
2244 ZEND_FRAMELESS_FUNCTION(str_contains, 2);
2245 static const zend_frameless_function_info frameless_function_infos_str_contains[] = {
2246 { ZEND_FRAMELESS_FUNCTION_NAME(str_contains, 2), 2 },
2247 { 0 },
2248 };
2249
2250 ZEND_FRAMELESS_FUNCTION(str_starts_with, 2);
2251 static const zend_frameless_function_info frameless_function_infos_str_starts_with[] = {
2252 { ZEND_FRAMELESS_FUNCTION_NAME(str_starts_with, 2), 2 },
2253 { 0 },
2254 };
2255
2256 ZEND_FRAMELESS_FUNCTION(substr, 2);
2257 ZEND_FRAMELESS_FUNCTION(substr, 3);
2258 static const zend_frameless_function_info frameless_function_infos_substr[] = {
2259 { ZEND_FRAMELESS_FUNCTION_NAME(substr, 2), 2 },
2260 { ZEND_FRAMELESS_FUNCTION_NAME(substr, 3), 3 },
2261 { 0 },
2262 };
2263
2264 ZEND_FRAMELESS_FUNCTION(strtr, 2);
2265 ZEND_FRAMELESS_FUNCTION(strtr, 3);
2266 static const zend_frameless_function_info frameless_function_infos_strtr[] = {
2267 { ZEND_FRAMELESS_FUNCTION_NAME(strtr, 2), 2 },
2268 { ZEND_FRAMELESS_FUNCTION_NAME(strtr, 3), 3 },
2269 { 0 },
2270 };
2271
2272 ZEND_FRAMELESS_FUNCTION(str_replace, 3);
2273 static const zend_frameless_function_info frameless_function_infos_str_replace[] = {
2274 { ZEND_FRAMELESS_FUNCTION_NAME(str_replace, 3), 3 },
2275 { 0 },
2276 };
2277
2278 ZEND_FRAMELESS_FUNCTION(dechex, 1);
2279 static const zend_frameless_function_info frameless_function_infos_dechex[] = {
2280 { ZEND_FRAMELESS_FUNCTION_NAME(dechex, 1), 1 },
2281 { 0 },
2282 };
2283
2284 ZEND_FRAMELESS_FUNCTION(is_numeric, 1);
2285 static const zend_frameless_function_info frameless_function_infos_is_numeric[] = {
2286 { ZEND_FRAMELESS_FUNCTION_NAME(is_numeric, 1), 1 },
2287 { 0 },
2288 };
2289
2290 ZEND_FUNCTION(set_time_limit);
2291 ZEND_FUNCTION(header_register_callback);
2292 ZEND_FUNCTION(ob_start);
2293 ZEND_FUNCTION(ob_flush);
2294 ZEND_FUNCTION(ob_clean);
2295 ZEND_FUNCTION(ob_end_flush);
2296 ZEND_FUNCTION(ob_end_clean);
2297 ZEND_FUNCTION(ob_get_flush);
2298 ZEND_FUNCTION(ob_get_clean);
2299 ZEND_FUNCTION(ob_get_contents);
2300 ZEND_FUNCTION(ob_get_level);
2301 ZEND_FUNCTION(ob_get_length);
2302 ZEND_FUNCTION(ob_list_handlers);
2303 ZEND_FUNCTION(ob_get_status);
2304 ZEND_FUNCTION(ob_implicit_flush);
2305 ZEND_FUNCTION(output_reset_rewrite_vars);
2306 ZEND_FUNCTION(output_add_rewrite_var);
2307 ZEND_FUNCTION(stream_wrapper_register);
2308 ZEND_FUNCTION(stream_wrapper_unregister);
2309 ZEND_FUNCTION(stream_wrapper_restore);
2310 ZEND_FUNCTION(array_push);
2311 ZEND_FUNCTION(krsort);
2312 ZEND_FUNCTION(ksort);
2313 ZEND_FUNCTION(count);
2314 ZEND_FUNCTION(natsort);
2315 ZEND_FUNCTION(natcasesort);
2316 ZEND_FUNCTION(asort);
2317 ZEND_FUNCTION(arsort);
2318 ZEND_FUNCTION(sort);
2319 ZEND_FUNCTION(rsort);
2320 ZEND_FUNCTION(usort);
2321 ZEND_FUNCTION(uasort);
2322 ZEND_FUNCTION(uksort);
2323 ZEND_FUNCTION(end);
2324 ZEND_FUNCTION(prev);
2325 ZEND_FUNCTION(next);
2326 ZEND_FUNCTION(reset);
2327 ZEND_FUNCTION(current);
2328 ZEND_FUNCTION(key);
2329 ZEND_FUNCTION(min);
2330 ZEND_FUNCTION(max);
2331 ZEND_FUNCTION(array_walk);
2332 ZEND_FUNCTION(array_walk_recursive);
2333 ZEND_FUNCTION(in_array);
2334 ZEND_FUNCTION(array_search);
2335 ZEND_FUNCTION(extract);
2336 ZEND_FUNCTION(compact);
2337 ZEND_FUNCTION(array_fill);
2338 ZEND_FUNCTION(array_fill_keys);
2339 ZEND_FUNCTION(range);
2340 ZEND_FUNCTION(shuffle);
2341 ZEND_FUNCTION(array_pop);
2342 ZEND_FUNCTION(array_shift);
2343 ZEND_FUNCTION(array_unshift);
2344 ZEND_FUNCTION(array_splice);
2345 ZEND_FUNCTION(array_slice);
2346 ZEND_FUNCTION(array_merge);
2347 ZEND_FUNCTION(array_merge_recursive);
2348 ZEND_FUNCTION(array_replace);
2349 ZEND_FUNCTION(array_replace_recursive);
2350 ZEND_FUNCTION(array_keys);
2351 ZEND_FUNCTION(array_key_first);
2352 ZEND_FUNCTION(array_key_last);
2353 ZEND_FUNCTION(array_values);
2354 ZEND_FUNCTION(array_count_values);
2355 ZEND_FUNCTION(array_column);
2356 ZEND_FUNCTION(array_reverse);
2357 ZEND_FUNCTION(array_pad);
2358 ZEND_FUNCTION(array_flip);
2359 ZEND_FUNCTION(array_change_key_case);
2360 ZEND_FUNCTION(array_unique);
2361 ZEND_FUNCTION(array_intersect_key);
2362 ZEND_FUNCTION(array_intersect_ukey);
2363 ZEND_FUNCTION(array_intersect);
2364 ZEND_FUNCTION(array_uintersect);
2365 ZEND_FUNCTION(array_intersect_assoc);
2366 ZEND_FUNCTION(array_uintersect_assoc);
2367 ZEND_FUNCTION(array_intersect_uassoc);
2368 ZEND_FUNCTION(array_uintersect_uassoc);
2369 ZEND_FUNCTION(array_diff_key);
2370 ZEND_FUNCTION(array_diff_ukey);
2371 ZEND_FUNCTION(array_diff);
2372 ZEND_FUNCTION(array_udiff);
2373 ZEND_FUNCTION(array_diff_assoc);
2374 ZEND_FUNCTION(array_diff_uassoc);
2375 ZEND_FUNCTION(array_udiff_assoc);
2376 ZEND_FUNCTION(array_udiff_uassoc);
2377 ZEND_FUNCTION(array_multisort);
2378 ZEND_FUNCTION(array_rand);
2379 ZEND_FUNCTION(array_sum);
2380 ZEND_FUNCTION(array_product);
2381 ZEND_FUNCTION(array_reduce);
2382 ZEND_FUNCTION(array_filter);
2383 ZEND_FUNCTION(array_find);
2384 ZEND_FUNCTION(array_find_key);
2385 ZEND_FUNCTION(array_any);
2386 ZEND_FUNCTION(array_all);
2387 ZEND_FUNCTION(array_map);
2388 ZEND_FUNCTION(array_key_exists);
2389 ZEND_FUNCTION(array_chunk);
2390 ZEND_FUNCTION(array_combine);
2391 ZEND_FUNCTION(array_is_list);
2392 ZEND_FUNCTION(base64_encode);
2393 ZEND_FUNCTION(base64_decode);
2394 ZEND_FUNCTION(constant);
2395 ZEND_FUNCTION(ip2long);
2396 ZEND_FUNCTION(long2ip);
2397 ZEND_FUNCTION(getenv);
2398 #if defined(HAVE_PUTENV)
2399 ZEND_FUNCTION(putenv);
2400 #endif
2401 ZEND_FUNCTION(getopt);
2402 ZEND_FUNCTION(flush);
2403 ZEND_FUNCTION(sleep);
2404 ZEND_FUNCTION(usleep);
2405 #if defined(HAVE_NANOSLEEP)
2406 ZEND_FUNCTION(time_nanosleep);
2407 ZEND_FUNCTION(time_sleep_until);
2408 #endif
2409 ZEND_FUNCTION(get_current_user);
2410 ZEND_FUNCTION(get_cfg_var);
2411 ZEND_FUNCTION(error_log);
2412 ZEND_FUNCTION(error_get_last);
2413 ZEND_FUNCTION(error_clear_last);
2414 ZEND_FUNCTION(call_user_func);
2415 ZEND_FUNCTION(call_user_func_array);
2416 ZEND_FUNCTION(forward_static_call);
2417 ZEND_FUNCTION(forward_static_call_array);
2418 ZEND_FUNCTION(register_shutdown_function);
2419 ZEND_FUNCTION(highlight_file);
2420 ZEND_FUNCTION(php_strip_whitespace);
2421 ZEND_FUNCTION(highlight_string);
2422 ZEND_FUNCTION(ini_get);
2423 ZEND_FUNCTION(ini_get_all);
2424 ZEND_FUNCTION(ini_set);
2425 ZEND_FUNCTION(ini_restore);
2426 ZEND_FUNCTION(ini_parse_quantity);
2427 ZEND_FUNCTION(set_include_path);
2428 ZEND_FUNCTION(get_include_path);
2429 ZEND_FUNCTION(print_r);
2430 ZEND_FUNCTION(connection_aborted);
2431 ZEND_FUNCTION(connection_status);
2432 ZEND_FUNCTION(ignore_user_abort);
2433 #if defined(HAVE_GETSERVBYNAME)
2434 ZEND_FUNCTION(getservbyname);
2435 #endif
2436 #if defined(HAVE_GETSERVBYPORT)
2437 ZEND_FUNCTION(getservbyport);
2438 #endif
2439 #if defined(HAVE_GETPROTOBYNAME)
2440 ZEND_FUNCTION(getprotobyname);
2441 #endif
2442 #if defined(HAVE_GETPROTOBYNUMBER)
2443 ZEND_FUNCTION(getprotobynumber);
2444 #endif
2445 ZEND_FUNCTION(register_tick_function);
2446 ZEND_FUNCTION(unregister_tick_function);
2447 ZEND_FUNCTION(is_uploaded_file);
2448 ZEND_FUNCTION(move_uploaded_file);
2449 ZEND_FUNCTION(parse_ini_file);
2450 ZEND_FUNCTION(parse_ini_string);
2451 #if ZEND_DEBUG
2452 ZEND_FUNCTION(config_get_hash);
2453 #endif
2454 #if defined(HAVE_GETLOADAVG)
2455 ZEND_FUNCTION(sys_getloadavg);
2456 #endif
2457 ZEND_FUNCTION(get_browser);
2458 ZEND_FUNCTION(crc32);
2459 ZEND_FUNCTION(crypt);
2460 #if defined(HAVE_STRPTIME)
2461 ZEND_FUNCTION(strptime);
2462 #endif
2463 #if defined(HAVE_GETHOSTNAME)
2464 ZEND_FUNCTION(gethostname);
2465 #endif
2466 ZEND_FUNCTION(gethostbyaddr);
2467 ZEND_FUNCTION(gethostbyname);
2468 ZEND_FUNCTION(gethostbynamel);
2469 #if (defined(PHP_WIN32) || defined(HAVE_DNS_SEARCH_FUNC))
2470 ZEND_FUNCTION(dns_check_record);
2471 ZEND_FUNCTION(dns_get_record);
2472 ZEND_FUNCTION(dns_get_mx);
2473 #endif
2474 #if (defined(PHP_WIN32) || defined(HAVE_GETIFADDRS) || defined(__PASE__))
2475 ZEND_FUNCTION(net_get_interfaces);
2476 #endif
2477 #if defined(HAVE_FTOK)
2478 ZEND_FUNCTION(ftok);
2479 #endif
2480 ZEND_FUNCTION(hrtime);
2481 ZEND_FUNCTION(md5);
2482 ZEND_FUNCTION(md5_file);
2483 ZEND_FUNCTION(getmyuid);
2484 ZEND_FUNCTION(getmygid);
2485 ZEND_FUNCTION(getmypid);
2486 ZEND_FUNCTION(getmyinode);
2487 ZEND_FUNCTION(getlastmod);
2488 ZEND_FUNCTION(sha1);
2489 ZEND_FUNCTION(sha1_file);
2490 #if defined(HAVE_SYSLOG_H)
2491 ZEND_FUNCTION(openlog);
2492 ZEND_FUNCTION(closelog);
2493 ZEND_FUNCTION(syslog);
2494 #endif
2495 ZEND_FUNCTION(inet_ntop);
2496 ZEND_FUNCTION(inet_pton);
2497 ZEND_FUNCTION(metaphone);
2498 ZEND_FUNCTION(header);
2499 ZEND_FUNCTION(header_remove);
2500 ZEND_FUNCTION(setrawcookie);
2501 ZEND_FUNCTION(setcookie);
2502 ZEND_FUNCTION(http_response_code);
2503 ZEND_FUNCTION(headers_sent);
2504 ZEND_FUNCTION(headers_list);
2505 ZEND_FUNCTION(htmlspecialchars);
2506 ZEND_FUNCTION(htmlspecialchars_decode);
2507 ZEND_FUNCTION(html_entity_decode);
2508 ZEND_FUNCTION(htmlentities);
2509 ZEND_FUNCTION(get_html_translation_table);
2510 ZEND_FUNCTION(assert);
2511 ZEND_FUNCTION(assert_options);
2512 ZEND_FUNCTION(bin2hex);
2513 ZEND_FUNCTION(hex2bin);
2514 ZEND_FUNCTION(strspn);
2515 ZEND_FUNCTION(strcspn);
2516 #if defined(HAVE_NL_LANGINFO)
2517 ZEND_FUNCTION(nl_langinfo);
2518 #endif
2519 ZEND_FUNCTION(strcoll);
2520 ZEND_FUNCTION(trim);
2521 ZEND_FUNCTION(rtrim);
2522 ZEND_FUNCTION(ltrim);
2523 ZEND_FUNCTION(wordwrap);
2524 ZEND_FUNCTION(explode);
2525 ZEND_FUNCTION(implode);
2526 ZEND_FUNCTION(strtok);
2527 ZEND_FUNCTION(strtoupper);
2528 ZEND_FUNCTION(strtolower);
2529 ZEND_FUNCTION(str_increment);
2530 ZEND_FUNCTION(str_decrement);
2531 ZEND_FUNCTION(basename);
2532 ZEND_FUNCTION(dirname);
2533 ZEND_FUNCTION(pathinfo);
2534 ZEND_FUNCTION(stristr);
2535 ZEND_FUNCTION(strstr);
2536 ZEND_FUNCTION(strpos);
2537 ZEND_FUNCTION(stripos);
2538 ZEND_FUNCTION(strrpos);
2539 ZEND_FUNCTION(strripos);
2540 ZEND_FUNCTION(strrchr);
2541 ZEND_FUNCTION(str_contains);
2542 ZEND_FUNCTION(str_starts_with);
2543 ZEND_FUNCTION(str_ends_with);
2544 ZEND_FUNCTION(chunk_split);
2545 ZEND_FUNCTION(substr);
2546 ZEND_FUNCTION(substr_replace);
2547 ZEND_FUNCTION(quotemeta);
2548 ZEND_FUNCTION(ord);
2549 ZEND_FUNCTION(chr);
2550 ZEND_FUNCTION(ucfirst);
2551 ZEND_FUNCTION(lcfirst);
2552 ZEND_FUNCTION(ucwords);
2553 ZEND_FUNCTION(strtr);
2554 ZEND_FUNCTION(strrev);
2555 ZEND_FUNCTION(similar_text);
2556 ZEND_FUNCTION(addcslashes);
2557 ZEND_FUNCTION(addslashes);
2558 ZEND_FUNCTION(stripcslashes);
2559 ZEND_FUNCTION(stripslashes);
2560 ZEND_FUNCTION(str_replace);
2561 ZEND_FUNCTION(str_ireplace);
2562 ZEND_FUNCTION(hebrev);
2563 ZEND_FUNCTION(nl2br);
2564 ZEND_FUNCTION(strip_tags);
2565 ZEND_FUNCTION(setlocale);
2566 ZEND_FUNCTION(parse_str);
2567 ZEND_FUNCTION(str_getcsv);
2568 ZEND_FUNCTION(str_repeat);
2569 ZEND_FUNCTION(count_chars);
2570 ZEND_FUNCTION(strnatcmp);
2571 ZEND_FUNCTION(localeconv);
2572 ZEND_FUNCTION(strnatcasecmp);
2573 ZEND_FUNCTION(substr_count);
2574 ZEND_FUNCTION(str_pad);
2575 ZEND_FUNCTION(sscanf);
2576 ZEND_FUNCTION(str_rot13);
2577 ZEND_FUNCTION(str_shuffle);
2578 ZEND_FUNCTION(str_word_count);
2579 ZEND_FUNCTION(str_split);
2580 ZEND_FUNCTION(strpbrk);
2581 ZEND_FUNCTION(substr_compare);
2582 ZEND_FUNCTION(utf8_encode);
2583 ZEND_FUNCTION(utf8_decode);
2584 ZEND_FUNCTION(opendir);
2585 ZEND_FUNCTION(dir);
2586 ZEND_FUNCTION(closedir);
2587 ZEND_FUNCTION(chdir);
2588 #if (defined(HAVE_CHROOT) && !defined(ZTS) && defined(ENABLE_CHROOT_FUNC))
2589 ZEND_FUNCTION(chroot);
2590 #endif
2591 ZEND_FUNCTION(getcwd);
2592 ZEND_FUNCTION(rewinddir);
2593 ZEND_FUNCTION(readdir);
2594 ZEND_FUNCTION(scandir);
2595 #if defined(HAVE_GLOB)
2596 ZEND_FUNCTION(glob);
2597 #endif
2598 ZEND_FUNCTION(exec);
2599 ZEND_FUNCTION(system);
2600 ZEND_FUNCTION(passthru);
2601 ZEND_FUNCTION(escapeshellcmd);
2602 ZEND_FUNCTION(escapeshellarg);
2603 ZEND_FUNCTION(shell_exec);
2604 #if defined(HAVE_NICE)
2605 ZEND_FUNCTION(proc_nice);
2606 #endif
2607 ZEND_FUNCTION(flock);
2608 ZEND_FUNCTION(get_meta_tags);
2609 ZEND_FUNCTION(pclose);
2610 ZEND_FUNCTION(popen);
2611 ZEND_FUNCTION(readfile);
2612 ZEND_FUNCTION(rewind);
2613 ZEND_FUNCTION(rmdir);
2614 ZEND_FUNCTION(umask);
2615 ZEND_FUNCTION(fclose);
2616 ZEND_FUNCTION(feof);
2617 ZEND_FUNCTION(fgetc);
2618 ZEND_FUNCTION(fgets);
2619 ZEND_FUNCTION(fread);
2620 ZEND_FUNCTION(fopen);
2621 ZEND_FUNCTION(fscanf);
2622 ZEND_FUNCTION(fpassthru);
2623 ZEND_FUNCTION(ftruncate);
2624 ZEND_FUNCTION(fstat);
2625 ZEND_FUNCTION(fseek);
2626 ZEND_FUNCTION(ftell);
2627 ZEND_FUNCTION(fflush);
2628 ZEND_FUNCTION(fsync);
2629 ZEND_FUNCTION(fdatasync);
2630 ZEND_FUNCTION(fwrite);
2631 ZEND_FUNCTION(mkdir);
2632 ZEND_FUNCTION(rename);
2633 ZEND_FUNCTION(copy);
2634 ZEND_FUNCTION(tempnam);
2635 ZEND_FUNCTION(tmpfile);
2636 ZEND_FUNCTION(file);
2637 ZEND_FUNCTION(file_get_contents);
2638 ZEND_FUNCTION(unlink);
2639 ZEND_FUNCTION(file_put_contents);
2640 ZEND_FUNCTION(fputcsv);
2641 ZEND_FUNCTION(fgetcsv);
2642 ZEND_FUNCTION(realpath);
2643 #if defined(HAVE_FNMATCH)
2644 ZEND_FUNCTION(fnmatch);
2645 #endif
2646 ZEND_FUNCTION(sys_get_temp_dir);
2647 ZEND_FUNCTION(fileatime);
2648 ZEND_FUNCTION(filectime);
2649 ZEND_FUNCTION(filegroup);
2650 ZEND_FUNCTION(fileinode);
2651 ZEND_FUNCTION(filemtime);
2652 ZEND_FUNCTION(fileowner);
2653 ZEND_FUNCTION(fileperms);
2654 ZEND_FUNCTION(filesize);
2655 ZEND_FUNCTION(filetype);
2656 ZEND_FUNCTION(file_exists);
2657 ZEND_FUNCTION(is_writable);
2658 ZEND_FUNCTION(is_readable);
2659 ZEND_FUNCTION(is_executable);
2660 ZEND_FUNCTION(is_file);
2661 ZEND_FUNCTION(is_dir);
2662 ZEND_FUNCTION(is_link);
2663 ZEND_FUNCTION(stat);
2664 ZEND_FUNCTION(lstat);
2665 ZEND_FUNCTION(chown);
2666 ZEND_FUNCTION(chgrp);
2667 #if defined(HAVE_LCHOWN)
2668 ZEND_FUNCTION(lchown);
2669 ZEND_FUNCTION(lchgrp);
2670 #endif
2671 ZEND_FUNCTION(chmod);
2672 #if defined(HAVE_UTIME)
2673 ZEND_FUNCTION(touch);
2674 #endif
2675 ZEND_FUNCTION(clearstatcache);
2676 ZEND_FUNCTION(disk_total_space);
2677 ZEND_FUNCTION(disk_free_space);
2678 ZEND_FUNCTION(realpath_cache_get);
2679 ZEND_FUNCTION(realpath_cache_size);
2680 ZEND_FUNCTION(sprintf);
2681 ZEND_FUNCTION(printf);
2682 ZEND_FUNCTION(vprintf);
2683 ZEND_FUNCTION(vsprintf);
2684 ZEND_FUNCTION(fprintf);
2685 ZEND_FUNCTION(vfprintf);
2686 ZEND_FUNCTION(fsockopen);
2687 ZEND_FUNCTION(pfsockopen);
2688 ZEND_FUNCTION(http_build_query);
2689 ZEND_FUNCTION(http_get_last_response_headers);
2690 ZEND_FUNCTION(http_clear_last_response_headers);
2691 ZEND_FUNCTION(request_parse_body);
2692 ZEND_FUNCTION(image_type_to_mime_type);
2693 ZEND_FUNCTION(image_type_to_extension);
2694 ZEND_FUNCTION(getimagesize);
2695 ZEND_FUNCTION(getimagesizefromstring);
2696 ZEND_FUNCTION(phpinfo);
2697 ZEND_FUNCTION(phpversion);
2698 ZEND_FUNCTION(phpcredits);
2699 ZEND_FUNCTION(php_sapi_name);
2700 ZEND_FUNCTION(php_uname);
2701 ZEND_FUNCTION(php_ini_scanned_files);
2702 ZEND_FUNCTION(php_ini_loaded_file);
2703 ZEND_FUNCTION(iptcembed);
2704 ZEND_FUNCTION(iptcparse);
2705 ZEND_FUNCTION(levenshtein);
2706 #if (defined(HAVE_SYMLINK) || defined(PHP_WIN32))
2707 ZEND_FUNCTION(readlink);
2708 ZEND_FUNCTION(linkinfo);
2709 ZEND_FUNCTION(symlink);
2710 ZEND_FUNCTION(link);
2711 #endif
2712 ZEND_FUNCTION(mail);
2713 ZEND_FUNCTION(abs);
2714 ZEND_FUNCTION(ceil);
2715 ZEND_FUNCTION(floor);
2716 ZEND_FUNCTION(round);
2717 ZEND_FUNCTION(sin);
2718 ZEND_FUNCTION(cos);
2719 ZEND_FUNCTION(tan);
2720 ZEND_FUNCTION(asin);
2721 ZEND_FUNCTION(acos);
2722 ZEND_FUNCTION(atan);
2723 ZEND_FUNCTION(atanh);
2724 ZEND_FUNCTION(atan2);
2725 ZEND_FUNCTION(sinh);
2726 ZEND_FUNCTION(cosh);
2727 ZEND_FUNCTION(tanh);
2728 ZEND_FUNCTION(asinh);
2729 ZEND_FUNCTION(acosh);
2730 ZEND_FUNCTION(expm1);
2731 ZEND_FUNCTION(log1p);
2732 ZEND_FUNCTION(pi);
2733 ZEND_FUNCTION(is_finite);
2734 ZEND_FUNCTION(is_nan);
2735 ZEND_FUNCTION(intdiv);
2736 ZEND_FUNCTION(is_infinite);
2737 ZEND_FUNCTION(pow);
2738 ZEND_FUNCTION(exp);
2739 ZEND_FUNCTION(log);
2740 ZEND_FUNCTION(log10);
2741 ZEND_FUNCTION(sqrt);
2742 ZEND_FUNCTION(hypot);
2743 ZEND_FUNCTION(deg2rad);
2744 ZEND_FUNCTION(rad2deg);
2745 ZEND_FUNCTION(bindec);
2746 ZEND_FUNCTION(hexdec);
2747 ZEND_FUNCTION(octdec);
2748 ZEND_FUNCTION(decbin);
2749 ZEND_FUNCTION(decoct);
2750 ZEND_FUNCTION(dechex);
2751 ZEND_FUNCTION(base_convert);
2752 ZEND_FUNCTION(number_format);
2753 ZEND_FUNCTION(fmod);
2754 ZEND_FUNCTION(fdiv);
2755 ZEND_FUNCTION(fpow);
2756 #if defined(HAVE_GETTIMEOFDAY)
2757 ZEND_FUNCTION(microtime);
2758 ZEND_FUNCTION(gettimeofday);
2759 #endif
2760 #if defined(HAVE_GETRUSAGE)
2761 ZEND_FUNCTION(getrusage);
2762 #endif
2763 ZEND_FUNCTION(pack);
2764 ZEND_FUNCTION(unpack);
2765 ZEND_FUNCTION(password_get_info);
2766 ZEND_FUNCTION(password_hash);
2767 ZEND_FUNCTION(password_needs_rehash);
2768 ZEND_FUNCTION(password_verify);
2769 ZEND_FUNCTION(password_algos);
2770 #if defined(PHP_CAN_SUPPORT_PROC_OPEN)
2771 ZEND_FUNCTION(proc_open);
2772 ZEND_FUNCTION(proc_close);
2773 ZEND_FUNCTION(proc_terminate);
2774 ZEND_FUNCTION(proc_get_status);
2775 #endif
2776 ZEND_FUNCTION(quoted_printable_decode);
2777 ZEND_FUNCTION(quoted_printable_encode);
2778 ZEND_FUNCTION(soundex);
2779 ZEND_FUNCTION(stream_select);
2780 ZEND_FUNCTION(stream_context_create);
2781 ZEND_FUNCTION(stream_context_set_params);
2782 ZEND_FUNCTION(stream_context_get_params);
2783 ZEND_FUNCTION(stream_context_set_option);
2784 ZEND_FUNCTION(stream_context_set_options);
2785 ZEND_FUNCTION(stream_context_get_options);
2786 ZEND_FUNCTION(stream_context_get_default);
2787 ZEND_FUNCTION(stream_context_set_default);
2788 ZEND_FUNCTION(stream_filter_prepend);
2789 ZEND_FUNCTION(stream_filter_append);
2790 ZEND_FUNCTION(stream_filter_remove);
2791 ZEND_FUNCTION(stream_socket_client);
2792 ZEND_FUNCTION(stream_socket_server);
2793 ZEND_FUNCTION(stream_socket_accept);
2794 ZEND_FUNCTION(stream_socket_get_name);
2795 ZEND_FUNCTION(stream_socket_recvfrom);
2796 ZEND_FUNCTION(stream_socket_sendto);
2797 ZEND_FUNCTION(stream_socket_enable_crypto);
2798 #if defined(HAVE_SHUTDOWN)
2799 ZEND_FUNCTION(stream_socket_shutdown);
2800 #endif
2801 #if defined(HAVE_SOCKETPAIR)
2802 ZEND_FUNCTION(stream_socket_pair);
2803 #endif
2804 ZEND_FUNCTION(stream_copy_to_stream);
2805 ZEND_FUNCTION(stream_get_contents);
2806 ZEND_FUNCTION(stream_supports_lock);
2807 ZEND_FUNCTION(stream_set_write_buffer);
2808 ZEND_FUNCTION(stream_set_read_buffer);
2809 ZEND_FUNCTION(stream_set_blocking);
2810 ZEND_FUNCTION(stream_get_meta_data);
2811 ZEND_FUNCTION(stream_get_line);
2812 ZEND_FUNCTION(stream_resolve_include_path);
2813 ZEND_FUNCTION(stream_get_wrappers);
2814 ZEND_FUNCTION(stream_get_transports);
2815 ZEND_FUNCTION(stream_is_local);
2816 ZEND_FUNCTION(stream_isatty);
2817 #if defined(PHP_WIN32)
2818 ZEND_FUNCTION(sapi_windows_vt100_support);
2819 #endif
2820 ZEND_FUNCTION(stream_set_chunk_size);
2821 #if (defined(HAVE_SYS_TIME_H) || defined(PHP_WIN32))
2822 ZEND_FUNCTION(stream_set_timeout);
2823 #endif
2824 ZEND_FUNCTION(gettype);
2825 ZEND_FUNCTION(get_debug_type);
2826 ZEND_FUNCTION(settype);
2827 ZEND_FUNCTION(intval);
2828 ZEND_FUNCTION(floatval);
2829 ZEND_FUNCTION(boolval);
2830 ZEND_FUNCTION(strval);
2831 ZEND_FUNCTION(is_null);
2832 ZEND_FUNCTION(is_resource);
2833 ZEND_FUNCTION(is_bool);
2834 ZEND_FUNCTION(is_int);
2835 ZEND_FUNCTION(is_float);
2836 ZEND_FUNCTION(is_numeric);
2837 ZEND_FUNCTION(is_string);
2838 ZEND_FUNCTION(is_array);
2839 ZEND_FUNCTION(is_object);
2840 ZEND_FUNCTION(is_scalar);
2841 ZEND_FUNCTION(is_callable);
2842 ZEND_FUNCTION(is_iterable);
2843 ZEND_FUNCTION(is_countable);
2844 #if defined(HAVE_GETTIMEOFDAY)
2845 ZEND_FUNCTION(uniqid);
2846 #endif
2847 ZEND_FUNCTION(parse_url);
2848 ZEND_FUNCTION(urlencode);
2849 ZEND_FUNCTION(urldecode);
2850 ZEND_FUNCTION(rawurlencode);
2851 ZEND_FUNCTION(rawurldecode);
2852 ZEND_FUNCTION(get_headers);
2853 ZEND_FUNCTION(stream_bucket_make_writeable);
2854 ZEND_FUNCTION(stream_bucket_prepend);
2855 ZEND_FUNCTION(stream_bucket_append);
2856 ZEND_FUNCTION(stream_bucket_new);
2857 ZEND_FUNCTION(stream_get_filters);
2858 ZEND_FUNCTION(stream_filter_register);
2859 ZEND_FUNCTION(convert_uuencode);
2860 ZEND_FUNCTION(convert_uudecode);
2861 ZEND_FUNCTION(var_dump);
2862 ZEND_FUNCTION(var_export);
2863 ZEND_FUNCTION(debug_zval_dump);
2864 ZEND_FUNCTION(serialize);
2865 ZEND_FUNCTION(unserialize);
2866 ZEND_FUNCTION(memory_get_usage);
2867 ZEND_FUNCTION(memory_get_peak_usage);
2868 ZEND_FUNCTION(memory_reset_peak_usage);
2869 ZEND_FUNCTION(version_compare);
2870 #if defined(PHP_WIN32)
2871 ZEND_FUNCTION(sapi_windows_cp_set);
2872 ZEND_FUNCTION(sapi_windows_cp_get);
2873 ZEND_FUNCTION(sapi_windows_cp_conv);
2874 ZEND_FUNCTION(sapi_windows_cp_is_utf8);
2875 ZEND_FUNCTION(sapi_windows_set_ctrl_handler);
2876 ZEND_FUNCTION(sapi_windows_generate_ctrl_event);
2877 #endif
2878
2879 static const zend_function_entry ext_functions[] = {
2880 ZEND_FE(set_time_limit, arginfo_set_time_limit)
2881 ZEND_FE(header_register_callback, arginfo_header_register_callback)
2882 ZEND_FE(ob_start, arginfo_ob_start)
2883 ZEND_FE(ob_flush, arginfo_ob_flush)
2884 ZEND_FE(ob_clean, arginfo_ob_clean)
2885 ZEND_FE(ob_end_flush, arginfo_ob_end_flush)
2886 ZEND_FE(ob_end_clean, arginfo_ob_end_clean)
2887 ZEND_FE(ob_get_flush, arginfo_ob_get_flush)
2888 ZEND_FE(ob_get_clean, arginfo_ob_get_clean)
2889 ZEND_FE(ob_get_contents, arginfo_ob_get_contents)
2890 ZEND_FE(ob_get_level, arginfo_ob_get_level)
2891 ZEND_FE(ob_get_length, arginfo_ob_get_length)
2892 ZEND_FE(ob_list_handlers, arginfo_ob_list_handlers)
2893 ZEND_FE(ob_get_status, arginfo_ob_get_status)
2894 ZEND_FE(ob_implicit_flush, arginfo_ob_implicit_flush)
2895 ZEND_FE(output_reset_rewrite_vars, arginfo_output_reset_rewrite_vars)
2896 ZEND_FE(output_add_rewrite_var, arginfo_output_add_rewrite_var)
2897 ZEND_FE(stream_wrapper_register, arginfo_stream_wrapper_register)
2898 ZEND_RAW_FENTRY("stream_register_wrapper", zif_stream_wrapper_register, arginfo_stream_register_wrapper, 0, NULL, NULL)
2899 ZEND_FE(stream_wrapper_unregister, arginfo_stream_wrapper_unregister)
2900 ZEND_FE(stream_wrapper_restore, arginfo_stream_wrapper_restore)
2901 ZEND_FE(array_push, arginfo_array_push)
2902 ZEND_FE(krsort, arginfo_krsort)
2903 ZEND_FE(ksort, arginfo_ksort)
2904 ZEND_RAW_FENTRY("count", zif_count, arginfo_count, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
2905 ZEND_RAW_FENTRY("sizeof", zif_count, arginfo_sizeof, 0, NULL, NULL)
2906 ZEND_FE(natsort, arginfo_natsort)
2907 ZEND_FE(natcasesort, arginfo_natcasesort)
2908 ZEND_FE(asort, arginfo_asort)
2909 ZEND_FE(arsort, arginfo_arsort)
2910 ZEND_FE(sort, arginfo_sort)
2911 ZEND_FE(rsort, arginfo_rsort)
2912 ZEND_FE(usort, arginfo_usort)
2913 ZEND_FE(uasort, arginfo_uasort)
2914 ZEND_FE(uksort, arginfo_uksort)
2915 ZEND_FE(end, arginfo_end)
2916 ZEND_FE(prev, arginfo_prev)
2917 ZEND_FE(next, arginfo_next)
2918 ZEND_FE(reset, arginfo_reset)
2919 ZEND_FE(current, arginfo_current)
2920 ZEND_RAW_FENTRY("pos", zif_current, arginfo_pos, 0, NULL, NULL)
2921 ZEND_FE(key, arginfo_key)
2922 ZEND_RAW_FENTRY("min", zif_min, arginfo_min, ZEND_ACC_COMPILE_TIME_EVAL, frameless_function_infos_min, NULL)
2923 ZEND_RAW_FENTRY("max", zif_max, arginfo_max, ZEND_ACC_COMPILE_TIME_EVAL, frameless_function_infos_max, NULL)
2924 ZEND_FE(array_walk, arginfo_array_walk)
2925 ZEND_FE(array_walk_recursive, arginfo_array_walk_recursive)
2926 ZEND_RAW_FENTRY("in_array", zif_in_array, arginfo_in_array, ZEND_ACC_COMPILE_TIME_EVAL, frameless_function_infos_in_array, NULL)
2927 ZEND_RAW_FENTRY("array_search", zif_array_search, arginfo_array_search, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
2928 ZEND_FE(extract, arginfo_extract)
2929 ZEND_FE(compact, arginfo_compact)
2930 ZEND_FE(array_fill, arginfo_array_fill)
2931 ZEND_FE(array_fill_keys, arginfo_array_fill_keys)
2932 ZEND_FE(range, arginfo_range)
2933 ZEND_FE(shuffle, arginfo_shuffle)
2934 ZEND_FE(array_pop, arginfo_array_pop)
2935 ZEND_FE(array_shift, arginfo_array_shift)
2936 ZEND_FE(array_unshift, arginfo_array_unshift)
2937 ZEND_FE(array_splice, arginfo_array_splice)
2938 ZEND_RAW_FENTRY("array_slice", zif_array_slice, arginfo_array_slice, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
2939 ZEND_RAW_FENTRY("array_merge", zif_array_merge, arginfo_array_merge, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
2940 ZEND_RAW_FENTRY("array_merge_recursive", zif_array_merge_recursive, arginfo_array_merge_recursive, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
2941 ZEND_RAW_FENTRY("array_replace", zif_array_replace, arginfo_array_replace, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
2942 ZEND_RAW_FENTRY("array_replace_recursive", zif_array_replace_recursive, arginfo_array_replace_recursive, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
2943 ZEND_RAW_FENTRY("array_keys", zif_array_keys, arginfo_array_keys, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
2944 ZEND_RAW_FENTRY("array_key_first", zif_array_key_first, arginfo_array_key_first, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
2945 ZEND_RAW_FENTRY("array_key_last", zif_array_key_last, arginfo_array_key_last, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
2946 ZEND_RAW_FENTRY("array_values", zif_array_values, arginfo_array_values, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
2947 ZEND_RAW_FENTRY("array_count_values", zif_array_count_values, arginfo_array_count_values, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
2948 ZEND_RAW_FENTRY("array_column", zif_array_column, arginfo_array_column, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
2949 ZEND_RAW_FENTRY("array_reverse", zif_array_reverse, arginfo_array_reverse, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
2950 ZEND_FE(array_pad, arginfo_array_pad)
2951 ZEND_RAW_FENTRY("array_flip", zif_array_flip, arginfo_array_flip, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
2952 ZEND_RAW_FENTRY("array_change_key_case", zif_array_change_key_case, arginfo_array_change_key_case, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
2953 ZEND_RAW_FENTRY("array_unique", zif_array_unique, arginfo_array_unique, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
2954 ZEND_RAW_FENTRY("array_intersect_key", zif_array_intersect_key, arginfo_array_intersect_key, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
2955 ZEND_FE(array_intersect_ukey, arginfo_array_intersect_ukey)
2956 ZEND_RAW_FENTRY("array_intersect", zif_array_intersect, arginfo_array_intersect, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
2957 ZEND_FE(array_uintersect, arginfo_array_uintersect)
2958 ZEND_RAW_FENTRY("array_intersect_assoc", zif_array_intersect_assoc, arginfo_array_intersect_assoc, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
2959 ZEND_FE(array_uintersect_assoc, arginfo_array_uintersect_assoc)
2960 ZEND_FE(array_intersect_uassoc, arginfo_array_intersect_uassoc)
2961 ZEND_FE(array_uintersect_uassoc, arginfo_array_uintersect_uassoc)
2962 ZEND_RAW_FENTRY("array_diff_key", zif_array_diff_key, arginfo_array_diff_key, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
2963 ZEND_FE(array_diff_ukey, arginfo_array_diff_ukey)
2964 ZEND_RAW_FENTRY("array_diff", zif_array_diff, arginfo_array_diff, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
2965 ZEND_FE(array_udiff, arginfo_array_udiff)
2966 ZEND_RAW_FENTRY("array_diff_assoc", zif_array_diff_assoc, arginfo_array_diff_assoc, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
2967 ZEND_FE(array_diff_uassoc, arginfo_array_diff_uassoc)
2968 ZEND_FE(array_udiff_assoc, arginfo_array_udiff_assoc)
2969 ZEND_FE(array_udiff_uassoc, arginfo_array_udiff_uassoc)
2970 ZEND_FE(array_multisort, arginfo_array_multisort)
2971 ZEND_FE(array_rand, arginfo_array_rand)
2972 ZEND_RAW_FENTRY("array_sum", zif_array_sum, arginfo_array_sum, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
2973 ZEND_RAW_FENTRY("array_product", zif_array_product, arginfo_array_product, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
2974 ZEND_FE(array_reduce, arginfo_array_reduce)
2975 ZEND_FE(array_filter, arginfo_array_filter)
2976 ZEND_FE(array_find, arginfo_array_find)
2977 ZEND_FE(array_find_key, arginfo_array_find_key)
2978 ZEND_FE(array_any, arginfo_array_any)
2979 ZEND_FE(array_all, arginfo_array_all)
2980 ZEND_FE(array_map, arginfo_array_map)
2981 ZEND_RAW_FENTRY("array_key_exists", zif_array_key_exists, arginfo_array_key_exists, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
2982 ZEND_RAW_FENTRY("key_exists", zif_array_key_exists, arginfo_key_exists, 0, NULL, NULL)
2983 ZEND_RAW_FENTRY("array_chunk", zif_array_chunk, arginfo_array_chunk, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
2984 ZEND_RAW_FENTRY("array_combine", zif_array_combine, arginfo_array_combine, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
2985 ZEND_RAW_FENTRY("array_is_list", zif_array_is_list, arginfo_array_is_list, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
2986 ZEND_RAW_FENTRY("base64_encode", zif_base64_encode, arginfo_base64_encode, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
2987 ZEND_RAW_FENTRY("base64_decode", zif_base64_decode, arginfo_base64_decode, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
2988 ZEND_FE(constant, arginfo_constant)
2989 ZEND_FE(ip2long, arginfo_ip2long)
2990 ZEND_FE(long2ip, arginfo_long2ip)
2991 ZEND_FE(getenv, arginfo_getenv)
2992 #if defined(HAVE_PUTENV)
2993 ZEND_FE(putenv, arginfo_putenv)
2994 #endif
2995 ZEND_FE(getopt, arginfo_getopt)
2996 ZEND_FE(flush, arginfo_flush)
2997 ZEND_FE(sleep, arginfo_sleep)
2998 ZEND_FE(usleep, arginfo_usleep)
2999 #if defined(HAVE_NANOSLEEP)
3000 ZEND_FE(time_nanosleep, arginfo_time_nanosleep)
3001 ZEND_FE(time_sleep_until, arginfo_time_sleep_until)
3002 #endif
3003 ZEND_FE(get_current_user, arginfo_get_current_user)
3004 ZEND_FE(get_cfg_var, arginfo_get_cfg_var)
3005 ZEND_FE(error_log, arginfo_error_log)
3006 ZEND_FE(error_get_last, arginfo_error_get_last)
3007 ZEND_FE(error_clear_last, arginfo_error_clear_last)
3008 ZEND_FE(call_user_func, arginfo_call_user_func)
3009 ZEND_FE(call_user_func_array, arginfo_call_user_func_array)
3010 ZEND_FE(forward_static_call, arginfo_forward_static_call)
3011 ZEND_FE(forward_static_call_array, arginfo_forward_static_call_array)
3012 ZEND_FE(register_shutdown_function, arginfo_register_shutdown_function)
3013 ZEND_FE(highlight_file, arginfo_highlight_file)
3014 ZEND_RAW_FENTRY("show_source", zif_highlight_file, arginfo_show_source, 0, NULL, NULL)
3015 ZEND_FE(php_strip_whitespace, arginfo_php_strip_whitespace)
3016 ZEND_FE(highlight_string, arginfo_highlight_string)
3017 ZEND_FE(ini_get, arginfo_ini_get)
3018 ZEND_FE(ini_get_all, arginfo_ini_get_all)
3019 ZEND_FE(ini_set, arginfo_ini_set)
3020 ZEND_RAW_FENTRY("ini_alter", zif_ini_set, arginfo_ini_alter, 0, NULL, NULL)
3021 ZEND_FE(ini_restore, arginfo_ini_restore)
3022 ZEND_FE(ini_parse_quantity, arginfo_ini_parse_quantity)
3023 ZEND_FE(set_include_path, arginfo_set_include_path)
3024 ZEND_FE(get_include_path, arginfo_get_include_path)
3025 ZEND_FE(print_r, arginfo_print_r)
3026 ZEND_FE(connection_aborted, arginfo_connection_aborted)
3027 ZEND_FE(connection_status, arginfo_connection_status)
3028 ZEND_FE(ignore_user_abort, arginfo_ignore_user_abort)
3029 #if defined(HAVE_GETSERVBYNAME)
3030 ZEND_FE(getservbyname, arginfo_getservbyname)
3031 #endif
3032 #if defined(HAVE_GETSERVBYPORT)
3033 ZEND_FE(getservbyport, arginfo_getservbyport)
3034 #endif
3035 #if defined(HAVE_GETPROTOBYNAME)
3036 ZEND_FE(getprotobyname, arginfo_getprotobyname)
3037 #endif
3038 #if defined(HAVE_GETPROTOBYNUMBER)
3039 ZEND_FE(getprotobynumber, arginfo_getprotobynumber)
3040 #endif
3041 ZEND_FE(register_tick_function, arginfo_register_tick_function)
3042 ZEND_FE(unregister_tick_function, arginfo_unregister_tick_function)
3043 ZEND_FE(is_uploaded_file, arginfo_is_uploaded_file)
3044 ZEND_FE(move_uploaded_file, arginfo_move_uploaded_file)
3045 ZEND_FE(parse_ini_file, arginfo_parse_ini_file)
3046 ZEND_RAW_FENTRY("parse_ini_string", zif_parse_ini_string, arginfo_parse_ini_string, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3047 #if ZEND_DEBUG
3048 ZEND_FE(config_get_hash, arginfo_config_get_hash)
3049 #endif
3050 #if defined(HAVE_GETLOADAVG)
3051 ZEND_FE(sys_getloadavg, arginfo_sys_getloadavg)
3052 #endif
3053 ZEND_FE(get_browser, arginfo_get_browser)
3054 ZEND_RAW_FENTRY("crc32", zif_crc32, arginfo_crc32, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3055 ZEND_FE(crypt, arginfo_crypt)
3056 #if defined(HAVE_STRPTIME)
3057 ZEND_RAW_FENTRY("strptime", zif_strptime, arginfo_strptime, ZEND_ACC_DEPRECATED, NULL, NULL)
3058 #endif
3059 #if defined(HAVE_GETHOSTNAME)
3060 ZEND_FE(gethostname, arginfo_gethostname)
3061 #endif
3062 ZEND_FE(gethostbyaddr, arginfo_gethostbyaddr)
3063 ZEND_FE(gethostbyname, arginfo_gethostbyname)
3064 ZEND_FE(gethostbynamel, arginfo_gethostbynamel)
3065 #if (defined(PHP_WIN32) || defined(HAVE_DNS_SEARCH_FUNC))
3066 ZEND_FE(dns_check_record, arginfo_dns_check_record)
3067 ZEND_RAW_FENTRY("checkdnsrr", zif_dns_check_record, arginfo_checkdnsrr, 0, NULL, NULL)
3068 ZEND_FE(dns_get_record, arginfo_dns_get_record)
3069 ZEND_FE(dns_get_mx, arginfo_dns_get_mx)
3070 ZEND_RAW_FENTRY("getmxrr", zif_dns_get_mx, arginfo_getmxrr, 0, NULL, NULL)
3071 #endif
3072 #if (defined(PHP_WIN32) || defined(HAVE_GETIFADDRS) || defined(__PASE__))
3073 ZEND_FE(net_get_interfaces, arginfo_net_get_interfaces)
3074 #endif
3075 #if defined(HAVE_FTOK)
3076 ZEND_FE(ftok, arginfo_ftok)
3077 #endif
3078 ZEND_FE(hrtime, arginfo_hrtime)
3079 ZEND_FE(md5, arginfo_md5)
3080 ZEND_FE(md5_file, arginfo_md5_file)
3081 ZEND_FE(getmyuid, arginfo_getmyuid)
3082 ZEND_FE(getmygid, arginfo_getmygid)
3083 ZEND_FE(getmypid, arginfo_getmypid)
3084 ZEND_FE(getmyinode, arginfo_getmyinode)
3085 ZEND_FE(getlastmod, arginfo_getlastmod)
3086 ZEND_FE(sha1, arginfo_sha1)
3087 ZEND_FE(sha1_file, arginfo_sha1_file)
3088 #if defined(HAVE_SYSLOG_H)
3089 ZEND_FE(openlog, arginfo_openlog)
3090 ZEND_FE(closelog, arginfo_closelog)
3091 ZEND_FE(syslog, arginfo_syslog)
3092 #endif
3093 ZEND_FE(inet_ntop, arginfo_inet_ntop)
3094 ZEND_FE(inet_pton, arginfo_inet_pton)
3095 ZEND_FE(metaphone, arginfo_metaphone)
3096 ZEND_FE(header, arginfo_header)
3097 ZEND_FE(header_remove, arginfo_header_remove)
3098 ZEND_FE(setrawcookie, arginfo_setrawcookie)
3099 ZEND_FE(setcookie, arginfo_setcookie)
3100 ZEND_FE(http_response_code, arginfo_http_response_code)
3101 ZEND_FE(headers_sent, arginfo_headers_sent)
3102 ZEND_FE(headers_list, arginfo_headers_list)
3103 ZEND_FE(htmlspecialchars, arginfo_htmlspecialchars)
3104 ZEND_FE(htmlspecialchars_decode, arginfo_htmlspecialchars_decode)
3105 ZEND_FE(html_entity_decode, arginfo_html_entity_decode)
3106 ZEND_FE(htmlentities, arginfo_htmlentities)
3107 ZEND_FE(get_html_translation_table, arginfo_get_html_translation_table)
3108 ZEND_FE(assert, arginfo_assert)
3109 ZEND_RAW_FENTRY("assert_options", zif_assert_options, arginfo_assert_options, ZEND_ACC_DEPRECATED, NULL, NULL)
3110 ZEND_RAW_FENTRY("bin2hex", zif_bin2hex, arginfo_bin2hex, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3111 ZEND_RAW_FENTRY("hex2bin", zif_hex2bin, arginfo_hex2bin, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3112 ZEND_RAW_FENTRY("strspn", zif_strspn, arginfo_strspn, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3113 ZEND_RAW_FENTRY("strcspn", zif_strcspn, arginfo_strcspn, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3114 #if defined(HAVE_NL_LANGINFO)
3115 ZEND_FE(nl_langinfo, arginfo_nl_langinfo)
3116 #endif
3117 ZEND_FE(strcoll, arginfo_strcoll)
3118 ZEND_RAW_FENTRY("trim", zif_trim, arginfo_trim, ZEND_ACC_COMPILE_TIME_EVAL, frameless_function_infos_trim, NULL)
3119 ZEND_RAW_FENTRY("rtrim", zif_rtrim, arginfo_rtrim, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3120 ZEND_RAW_FENTRY("chop", zif_rtrim, arginfo_chop, 0, NULL, NULL)
3121 ZEND_RAW_FENTRY("ltrim", zif_ltrim, arginfo_ltrim, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3122 ZEND_RAW_FENTRY("wordwrap", zif_wordwrap, arginfo_wordwrap, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3123 ZEND_RAW_FENTRY("explode", zif_explode, arginfo_explode, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3124 ZEND_RAW_FENTRY("implode", zif_implode, arginfo_implode, ZEND_ACC_COMPILE_TIME_EVAL, frameless_function_infos_implode, NULL)
3125 ZEND_RAW_FENTRY("join", zif_implode, arginfo_join, 0, NULL, NULL)
3126 ZEND_FE(strtok, arginfo_strtok)
3127 ZEND_RAW_FENTRY("strtoupper", zif_strtoupper, arginfo_strtoupper, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3128 ZEND_RAW_FENTRY("strtolower", zif_strtolower, arginfo_strtolower, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3129 ZEND_FE(str_increment, arginfo_str_increment)
3130 ZEND_FE(str_decrement, arginfo_str_decrement)
3131 ZEND_FE(basename, arginfo_basename)
3132 ZEND_RAW_FENTRY("dirname", zif_dirname, arginfo_dirname, 0, frameless_function_infos_dirname, NULL)
3133 ZEND_FE(pathinfo, arginfo_pathinfo)
3134 ZEND_RAW_FENTRY("stristr", zif_stristr, arginfo_stristr, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3135 ZEND_RAW_FENTRY("strstr", zif_strstr, arginfo_strstr, ZEND_ACC_COMPILE_TIME_EVAL, frameless_function_infos_strstr, NULL)
3136 ZEND_RAW_FENTRY("strchr", zif_strstr, arginfo_strchr, 0, NULL, NULL)
3137 ZEND_RAW_FENTRY("strpos", zif_strpos, arginfo_strpos, ZEND_ACC_COMPILE_TIME_EVAL, frameless_function_infos_strpos, NULL)
3138 ZEND_RAW_FENTRY("stripos", zif_stripos, arginfo_stripos, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3139 ZEND_RAW_FENTRY("strrpos", zif_strrpos, arginfo_strrpos, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3140 ZEND_RAW_FENTRY("strripos", zif_strripos, arginfo_strripos, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3141 ZEND_RAW_FENTRY("strrchr", zif_strrchr, arginfo_strrchr, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3142 ZEND_RAW_FENTRY("str_contains", zif_str_contains, arginfo_str_contains, ZEND_ACC_COMPILE_TIME_EVAL, frameless_function_infos_str_contains, NULL)
3143 ZEND_RAW_FENTRY("str_starts_with", zif_str_starts_with, arginfo_str_starts_with, ZEND_ACC_COMPILE_TIME_EVAL, frameless_function_infos_str_starts_with, NULL)
3144 ZEND_RAW_FENTRY("str_ends_with", zif_str_ends_with, arginfo_str_ends_with, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3145 ZEND_RAW_FENTRY("chunk_split", zif_chunk_split, arginfo_chunk_split, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3146 ZEND_RAW_FENTRY("substr", zif_substr, arginfo_substr, ZEND_ACC_COMPILE_TIME_EVAL, frameless_function_infos_substr, NULL)
3147 ZEND_RAW_FENTRY("substr_replace", zif_substr_replace, arginfo_substr_replace, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3148 ZEND_RAW_FENTRY("quotemeta", zif_quotemeta, arginfo_quotemeta, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3149 ZEND_RAW_FENTRY("ord", zif_ord, arginfo_ord, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3150 ZEND_RAW_FENTRY("chr", zif_chr, arginfo_chr, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3151 ZEND_RAW_FENTRY("ucfirst", zif_ucfirst, arginfo_ucfirst, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3152 ZEND_RAW_FENTRY("lcfirst", zif_lcfirst, arginfo_lcfirst, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3153 ZEND_RAW_FENTRY("ucwords", zif_ucwords, arginfo_ucwords, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3154 ZEND_RAW_FENTRY("strtr", zif_strtr, arginfo_strtr, ZEND_ACC_COMPILE_TIME_EVAL, frameless_function_infos_strtr, NULL)
3155 ZEND_RAW_FENTRY("strrev", zif_strrev, arginfo_strrev, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3156 ZEND_FE(similar_text, arginfo_similar_text)
3157 ZEND_RAW_FENTRY("addcslashes", zif_addcslashes, arginfo_addcslashes, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3158 ZEND_RAW_FENTRY("addslashes", zif_addslashes, arginfo_addslashes, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3159 ZEND_RAW_FENTRY("stripcslashes", zif_stripcslashes, arginfo_stripcslashes, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3160 ZEND_RAW_FENTRY("stripslashes", zif_stripslashes, arginfo_stripslashes, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3161 ZEND_RAW_FENTRY("str_replace", zif_str_replace, arginfo_str_replace, ZEND_ACC_COMPILE_TIME_EVAL, frameless_function_infos_str_replace, NULL)
3162 ZEND_RAW_FENTRY("str_ireplace", zif_str_ireplace, arginfo_str_ireplace, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3163 ZEND_FE(hebrev, arginfo_hebrev)
3164 ZEND_RAW_FENTRY("nl2br", zif_nl2br, arginfo_nl2br, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3165 ZEND_RAW_FENTRY("strip_tags", zif_strip_tags, arginfo_strip_tags, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3166 ZEND_FE(setlocale, arginfo_setlocale)
3167 ZEND_FE(parse_str, arginfo_parse_str)
3168 ZEND_FE(str_getcsv, arginfo_str_getcsv)
3169 ZEND_FE(str_repeat, arginfo_str_repeat)
3170 ZEND_RAW_FENTRY("count_chars", zif_count_chars, arginfo_count_chars, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3171 ZEND_FE(strnatcmp, arginfo_strnatcmp)
3172 ZEND_FE(localeconv, arginfo_localeconv)
3173 ZEND_FE(strnatcasecmp, arginfo_strnatcasecmp)
3174 ZEND_RAW_FENTRY("substr_count", zif_substr_count, arginfo_substr_count, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3175 ZEND_FE(str_pad, arginfo_str_pad)
3176 ZEND_FE(sscanf, arginfo_sscanf)
3177 ZEND_RAW_FENTRY("str_rot13", zif_str_rot13, arginfo_str_rot13, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3178 ZEND_FE(str_shuffle, arginfo_str_shuffle)
3179 ZEND_FE(str_word_count, arginfo_str_word_count)
3180 ZEND_RAW_FENTRY("str_split", zif_str_split, arginfo_str_split, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3181 ZEND_RAW_FENTRY("strpbrk", zif_strpbrk, arginfo_strpbrk, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3182 ZEND_RAW_FENTRY("substr_compare", zif_substr_compare, arginfo_substr_compare, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3183 ZEND_RAW_FENTRY("utf8_encode", zif_utf8_encode, arginfo_utf8_encode, ZEND_ACC_DEPRECATED|ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3184 ZEND_RAW_FENTRY("utf8_decode", zif_utf8_decode, arginfo_utf8_decode, ZEND_ACC_DEPRECATED|ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3185 ZEND_FE(opendir, arginfo_opendir)
3186 ZEND_FE(dir, arginfo_dir)
3187 ZEND_FE(closedir, arginfo_closedir)
3188 ZEND_FE(chdir, arginfo_chdir)
3189 #if (defined(HAVE_CHROOT) && !defined(ZTS) && defined(ENABLE_CHROOT_FUNC))
3190 ZEND_FE(chroot, arginfo_chroot)
3191 #endif
3192 ZEND_FE(getcwd, arginfo_getcwd)
3193 ZEND_FE(rewinddir, arginfo_rewinddir)
3194 ZEND_FE(readdir, arginfo_readdir)
3195 ZEND_FE(scandir, arginfo_scandir)
3196 #if defined(HAVE_GLOB)
3197 ZEND_FE(glob, arginfo_glob)
3198 #endif
3199 ZEND_FE(exec, arginfo_exec)
3200 ZEND_FE(system, arginfo_system)
3201 ZEND_FE(passthru, arginfo_passthru)
3202 ZEND_FE(escapeshellcmd, arginfo_escapeshellcmd)
3203 ZEND_FE(escapeshellarg, arginfo_escapeshellarg)
3204 ZEND_FE(shell_exec, arginfo_shell_exec)
3205 #if defined(HAVE_NICE)
3206 ZEND_FE(proc_nice, arginfo_proc_nice)
3207 #endif
3208 ZEND_FE(flock, arginfo_flock)
3209 ZEND_FE(get_meta_tags, arginfo_get_meta_tags)
3210 ZEND_FE(pclose, arginfo_pclose)
3211 ZEND_FE(popen, arginfo_popen)
3212 ZEND_FE(readfile, arginfo_readfile)
3213 ZEND_FE(rewind, arginfo_rewind)
3214 ZEND_FE(rmdir, arginfo_rmdir)
3215 ZEND_FE(umask, arginfo_umask)
3216 ZEND_FE(fclose, arginfo_fclose)
3217 ZEND_FE(feof, arginfo_feof)
3218 ZEND_FE(fgetc, arginfo_fgetc)
3219 ZEND_FE(fgets, arginfo_fgets)
3220 ZEND_FE(fread, arginfo_fread)
3221 ZEND_FE(fopen, arginfo_fopen)
3222 ZEND_FE(fscanf, arginfo_fscanf)
3223 ZEND_FE(fpassthru, arginfo_fpassthru)
3224 ZEND_FE(ftruncate, arginfo_ftruncate)
3225 ZEND_FE(fstat, arginfo_fstat)
3226 ZEND_FE(fseek, arginfo_fseek)
3227 ZEND_FE(ftell, arginfo_ftell)
3228 ZEND_FE(fflush, arginfo_fflush)
3229 ZEND_FE(fsync, arginfo_fsync)
3230 ZEND_FE(fdatasync, arginfo_fdatasync)
3231 ZEND_FE(fwrite, arginfo_fwrite)
3232 ZEND_RAW_FENTRY("fputs", zif_fwrite, arginfo_fputs, 0, NULL, NULL)
3233 ZEND_FE(mkdir, arginfo_mkdir)
3234 ZEND_FE(rename, arginfo_rename)
3235 ZEND_FE(copy, arginfo_copy)
3236 ZEND_FE(tempnam, arginfo_tempnam)
3237 ZEND_FE(tmpfile, arginfo_tmpfile)
3238 ZEND_FE(file, arginfo_file)
3239 ZEND_FE(file_get_contents, arginfo_file_get_contents)
3240 ZEND_FE(unlink, arginfo_unlink)
3241 ZEND_FE(file_put_contents, arginfo_file_put_contents)
3242 ZEND_FE(fputcsv, arginfo_fputcsv)
3243 ZEND_FE(fgetcsv, arginfo_fgetcsv)
3244 ZEND_FE(realpath, arginfo_realpath)
3245 #if defined(HAVE_FNMATCH)
3246 ZEND_FE(fnmatch, arginfo_fnmatch)
3247 #endif
3248 ZEND_FE(sys_get_temp_dir, arginfo_sys_get_temp_dir)
3249 ZEND_FE(fileatime, arginfo_fileatime)
3250 ZEND_FE(filectime, arginfo_filectime)
3251 ZEND_FE(filegroup, arginfo_filegroup)
3252 ZEND_FE(fileinode, arginfo_fileinode)
3253 ZEND_FE(filemtime, arginfo_filemtime)
3254 ZEND_FE(fileowner, arginfo_fileowner)
3255 ZEND_FE(fileperms, arginfo_fileperms)
3256 ZEND_FE(filesize, arginfo_filesize)
3257 ZEND_FE(filetype, arginfo_filetype)
3258 ZEND_FE(file_exists, arginfo_file_exists)
3259 ZEND_FE(is_writable, arginfo_is_writable)
3260 ZEND_RAW_FENTRY("is_writeable", zif_is_writable, arginfo_is_writeable, 0, NULL, NULL)
3261 ZEND_FE(is_readable, arginfo_is_readable)
3262 ZEND_FE(is_executable, arginfo_is_executable)
3263 ZEND_FE(is_file, arginfo_is_file)
3264 ZEND_FE(is_dir, arginfo_is_dir)
3265 ZEND_FE(is_link, arginfo_is_link)
3266 ZEND_FE(stat, arginfo_stat)
3267 ZEND_FE(lstat, arginfo_lstat)
3268 ZEND_FE(chown, arginfo_chown)
3269 ZEND_FE(chgrp, arginfo_chgrp)
3270 #if defined(HAVE_LCHOWN)
3271 ZEND_FE(lchown, arginfo_lchown)
3272 ZEND_FE(lchgrp, arginfo_lchgrp)
3273 #endif
3274 ZEND_FE(chmod, arginfo_chmod)
3275 #if defined(HAVE_UTIME)
3276 ZEND_FE(touch, arginfo_touch)
3277 #endif
3278 ZEND_FE(clearstatcache, arginfo_clearstatcache)
3279 ZEND_FE(disk_total_space, arginfo_disk_total_space)
3280 ZEND_FE(disk_free_space, arginfo_disk_free_space)
3281 ZEND_RAW_FENTRY("diskfreespace", zif_disk_free_space, arginfo_diskfreespace, 0, NULL, NULL)
3282 ZEND_FE(realpath_cache_get, arginfo_realpath_cache_get)
3283 ZEND_FE(realpath_cache_size, arginfo_realpath_cache_size)
3284 ZEND_FE(sprintf, arginfo_sprintf)
3285 ZEND_FE(printf, arginfo_printf)
3286 ZEND_FE(vprintf, arginfo_vprintf)
3287 ZEND_FE(vsprintf, arginfo_vsprintf)
3288 ZEND_FE(fprintf, arginfo_fprintf)
3289 ZEND_FE(vfprintf, arginfo_vfprintf)
3290 ZEND_FE(fsockopen, arginfo_fsockopen)
3291 ZEND_FE(pfsockopen, arginfo_pfsockopen)
3292 ZEND_FE(http_build_query, arginfo_http_build_query)
3293 ZEND_FE(http_get_last_response_headers, arginfo_http_get_last_response_headers)
3294 ZEND_FE(http_clear_last_response_headers, arginfo_http_clear_last_response_headers)
3295 ZEND_FE(request_parse_body, arginfo_request_parse_body)
3296 ZEND_RAW_FENTRY("image_type_to_mime_type", zif_image_type_to_mime_type, arginfo_image_type_to_mime_type, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3297 ZEND_RAW_FENTRY("image_type_to_extension", zif_image_type_to_extension, arginfo_image_type_to_extension, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3298 ZEND_FE(getimagesize, arginfo_getimagesize)
3299 ZEND_FE(getimagesizefromstring, arginfo_getimagesizefromstring)
3300 ZEND_FE(phpinfo, arginfo_phpinfo)
3301 ZEND_RAW_FENTRY("phpversion", zif_phpversion, arginfo_phpversion, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3302 ZEND_FE(phpcredits, arginfo_phpcredits)
3303 ZEND_RAW_FENTRY("php_sapi_name", zif_php_sapi_name, arginfo_php_sapi_name, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3304 ZEND_RAW_FENTRY("php_uname", zif_php_uname, arginfo_php_uname, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3305 ZEND_FE(php_ini_scanned_files, arginfo_php_ini_scanned_files)
3306 ZEND_FE(php_ini_loaded_file, arginfo_php_ini_loaded_file)
3307 ZEND_FE(iptcembed, arginfo_iptcembed)
3308 ZEND_FE(iptcparse, arginfo_iptcparse)
3309 ZEND_FE(levenshtein, arginfo_levenshtein)
3310 #if (defined(HAVE_SYMLINK) || defined(PHP_WIN32))
3311 ZEND_FE(readlink, arginfo_readlink)
3312 ZEND_FE(linkinfo, arginfo_linkinfo)
3313 ZEND_FE(symlink, arginfo_symlink)
3314 ZEND_FE(link, arginfo_link)
3315 #endif
3316 ZEND_FE(mail, arginfo_mail)
3317 ZEND_RAW_FENTRY("abs", zif_abs, arginfo_abs, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3318 ZEND_RAW_FENTRY("ceil", zif_ceil, arginfo_ceil, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3319 ZEND_RAW_FENTRY("floor", zif_floor, arginfo_floor, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3320 ZEND_RAW_FENTRY("round", zif_round, arginfo_round, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3321 ZEND_RAW_FENTRY("sin", zif_sin, arginfo_sin, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3322 ZEND_RAW_FENTRY("cos", zif_cos, arginfo_cos, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3323 ZEND_RAW_FENTRY("tan", zif_tan, arginfo_tan, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3324 ZEND_RAW_FENTRY("asin", zif_asin, arginfo_asin, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3325 ZEND_RAW_FENTRY("acos", zif_acos, arginfo_acos, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3326 ZEND_RAW_FENTRY("atan", zif_atan, arginfo_atan, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3327 ZEND_RAW_FENTRY("atanh", zif_atanh, arginfo_atanh, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3328 ZEND_RAW_FENTRY("atan2", zif_atan2, arginfo_atan2, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3329 ZEND_RAW_FENTRY("sinh", zif_sinh, arginfo_sinh, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3330 ZEND_RAW_FENTRY("cosh", zif_cosh, arginfo_cosh, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3331 ZEND_RAW_FENTRY("tanh", zif_tanh, arginfo_tanh, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3332 ZEND_RAW_FENTRY("asinh", zif_asinh, arginfo_asinh, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3333 ZEND_RAW_FENTRY("acosh", zif_acosh, arginfo_acosh, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3334 ZEND_RAW_FENTRY("expm1", zif_expm1, arginfo_expm1, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3335 ZEND_RAW_FENTRY("log1p", zif_log1p, arginfo_log1p, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3336 ZEND_RAW_FENTRY("pi", zif_pi, arginfo_pi, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3337 ZEND_RAW_FENTRY("is_finite", zif_is_finite, arginfo_is_finite, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3338 ZEND_RAW_FENTRY("is_nan", zif_is_nan, arginfo_is_nan, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3339 ZEND_RAW_FENTRY("intdiv", zif_intdiv, arginfo_intdiv, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3340 ZEND_RAW_FENTRY("is_infinite", zif_is_infinite, arginfo_is_infinite, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3341 ZEND_RAW_FENTRY("pow", zif_pow, arginfo_pow, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3342 ZEND_RAW_FENTRY("exp", zif_exp, arginfo_exp, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3343 ZEND_RAW_FENTRY("log", zif_log, arginfo_log, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3344 ZEND_RAW_FENTRY("log10", zif_log10, arginfo_log10, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3345 ZEND_RAW_FENTRY("sqrt", zif_sqrt, arginfo_sqrt, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3346 ZEND_RAW_FENTRY("hypot", zif_hypot, arginfo_hypot, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3347 ZEND_RAW_FENTRY("deg2rad", zif_deg2rad, arginfo_deg2rad, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3348 ZEND_RAW_FENTRY("rad2deg", zif_rad2deg, arginfo_rad2deg, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3349 ZEND_RAW_FENTRY("bindec", zif_bindec, arginfo_bindec, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3350 ZEND_RAW_FENTRY("hexdec", zif_hexdec, arginfo_hexdec, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3351 ZEND_RAW_FENTRY("octdec", zif_octdec, arginfo_octdec, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3352 ZEND_RAW_FENTRY("decbin", zif_decbin, arginfo_decbin, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3353 ZEND_RAW_FENTRY("decoct", zif_decoct, arginfo_decoct, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3354 ZEND_RAW_FENTRY("dechex", zif_dechex, arginfo_dechex, ZEND_ACC_COMPILE_TIME_EVAL, frameless_function_infos_dechex, NULL)
3355 ZEND_RAW_FENTRY("base_convert", zif_base_convert, arginfo_base_convert, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3356 ZEND_RAW_FENTRY("number_format", zif_number_format, arginfo_number_format, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3357 ZEND_RAW_FENTRY("fmod", zif_fmod, arginfo_fmod, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3358 ZEND_RAW_FENTRY("fdiv", zif_fdiv, arginfo_fdiv, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3359 ZEND_RAW_FENTRY("fpow", zif_fpow, arginfo_fpow, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3360 #if defined(HAVE_GETTIMEOFDAY)
3361 ZEND_FE(microtime, arginfo_microtime)
3362 ZEND_FE(gettimeofday, arginfo_gettimeofday)
3363 #endif
3364 #if defined(HAVE_GETRUSAGE)
3365 ZEND_FE(getrusage, arginfo_getrusage)
3366 #endif
3367 ZEND_RAW_FENTRY("pack", zif_pack, arginfo_pack, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3368 ZEND_RAW_FENTRY("unpack", zif_unpack, arginfo_unpack, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3369 ZEND_FE(password_get_info, arginfo_password_get_info)
3370 ZEND_FE(password_hash, arginfo_password_hash)
3371 ZEND_FE(password_needs_rehash, arginfo_password_needs_rehash)
3372 ZEND_FE(password_verify, arginfo_password_verify)
3373 ZEND_RAW_FENTRY("password_algos", zif_password_algos, arginfo_password_algos, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3374 #if defined(PHP_CAN_SUPPORT_PROC_OPEN)
3375 ZEND_FE(proc_open, arginfo_proc_open)
3376 ZEND_FE(proc_close, arginfo_proc_close)
3377 ZEND_FE(proc_terminate, arginfo_proc_terminate)
3378 ZEND_FE(proc_get_status, arginfo_proc_get_status)
3379 #endif
3380 ZEND_RAW_FENTRY("quoted_printable_decode", zif_quoted_printable_decode, arginfo_quoted_printable_decode, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3381 ZEND_RAW_FENTRY("quoted_printable_encode", zif_quoted_printable_encode, arginfo_quoted_printable_encode, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3382 ZEND_FE(soundex, arginfo_soundex)
3383 ZEND_FE(stream_select, arginfo_stream_select)
3384 ZEND_FE(stream_context_create, arginfo_stream_context_create)
3385 ZEND_FE(stream_context_set_params, arginfo_stream_context_set_params)
3386 ZEND_FE(stream_context_get_params, arginfo_stream_context_get_params)
3387 ZEND_FE(stream_context_set_option, arginfo_stream_context_set_option)
3388 ZEND_FE(stream_context_set_options, arginfo_stream_context_set_options)
3389 ZEND_FE(stream_context_get_options, arginfo_stream_context_get_options)
3390 ZEND_FE(stream_context_get_default, arginfo_stream_context_get_default)
3391 ZEND_FE(stream_context_set_default, arginfo_stream_context_set_default)
3392 ZEND_FE(stream_filter_prepend, arginfo_stream_filter_prepend)
3393 ZEND_FE(stream_filter_append, arginfo_stream_filter_append)
3394 ZEND_FE(stream_filter_remove, arginfo_stream_filter_remove)
3395 ZEND_FE(stream_socket_client, arginfo_stream_socket_client)
3396 ZEND_FE(stream_socket_server, arginfo_stream_socket_server)
3397 ZEND_FE(stream_socket_accept, arginfo_stream_socket_accept)
3398 ZEND_FE(stream_socket_get_name, arginfo_stream_socket_get_name)
3399 ZEND_FE(stream_socket_recvfrom, arginfo_stream_socket_recvfrom)
3400 ZEND_FE(stream_socket_sendto, arginfo_stream_socket_sendto)
3401 ZEND_FE(stream_socket_enable_crypto, arginfo_stream_socket_enable_crypto)
3402 #if defined(HAVE_SHUTDOWN)
3403 ZEND_FE(stream_socket_shutdown, arginfo_stream_socket_shutdown)
3404 #endif
3405 #if defined(HAVE_SOCKETPAIR)
3406 ZEND_FE(stream_socket_pair, arginfo_stream_socket_pair)
3407 #endif
3408 ZEND_FE(stream_copy_to_stream, arginfo_stream_copy_to_stream)
3409 ZEND_FE(stream_get_contents, arginfo_stream_get_contents)
3410 ZEND_FE(stream_supports_lock, arginfo_stream_supports_lock)
3411 ZEND_FE(stream_set_write_buffer, arginfo_stream_set_write_buffer)
3412 ZEND_RAW_FENTRY("set_file_buffer", zif_stream_set_write_buffer, arginfo_set_file_buffer, 0, NULL, NULL)
3413 ZEND_FE(stream_set_read_buffer, arginfo_stream_set_read_buffer)
3414 ZEND_FE(stream_set_blocking, arginfo_stream_set_blocking)
3415 ZEND_RAW_FENTRY("socket_set_blocking", zif_stream_set_blocking, arginfo_socket_set_blocking, 0, NULL, NULL)
3416 ZEND_FE(stream_get_meta_data, arginfo_stream_get_meta_data)
3417 ZEND_RAW_FENTRY("socket_get_status", zif_stream_get_meta_data, arginfo_socket_get_status, 0, NULL, NULL)
3418 ZEND_FE(stream_get_line, arginfo_stream_get_line)
3419 ZEND_FE(stream_resolve_include_path, arginfo_stream_resolve_include_path)
3420 ZEND_FE(stream_get_wrappers, arginfo_stream_get_wrappers)
3421 ZEND_FE(stream_get_transports, arginfo_stream_get_transports)
3422 ZEND_FE(stream_is_local, arginfo_stream_is_local)
3423 ZEND_FE(stream_isatty, arginfo_stream_isatty)
3424 #if defined(PHP_WIN32)
3425 ZEND_FE(sapi_windows_vt100_support, arginfo_sapi_windows_vt100_support)
3426 #endif
3427 ZEND_FE(stream_set_chunk_size, arginfo_stream_set_chunk_size)
3428 #if (defined(HAVE_SYS_TIME_H) || defined(PHP_WIN32))
3429 ZEND_FE(stream_set_timeout, arginfo_stream_set_timeout)
3430 ZEND_RAW_FENTRY("socket_set_timeout", zif_stream_set_timeout, arginfo_socket_set_timeout, 0, NULL, NULL)
3431 #endif
3432 ZEND_RAW_FENTRY("gettype", zif_gettype, arginfo_gettype, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3433 ZEND_RAW_FENTRY("get_debug_type", zif_get_debug_type, arginfo_get_debug_type, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3434 ZEND_FE(settype, arginfo_settype)
3435 ZEND_RAW_FENTRY("intval", zif_intval, arginfo_intval, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3436 ZEND_RAW_FENTRY("floatval", zif_floatval, arginfo_floatval, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3437 ZEND_RAW_FENTRY("doubleval", zif_floatval, arginfo_doubleval, 0, NULL, NULL)
3438 ZEND_RAW_FENTRY("boolval", zif_boolval, arginfo_boolval, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3439 ZEND_RAW_FENTRY("strval", zif_strval, arginfo_strval, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3440 ZEND_RAW_FENTRY("is_null", zif_is_null, arginfo_is_null, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3441 ZEND_RAW_FENTRY("is_resource", zif_is_resource, arginfo_is_resource, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3442 ZEND_RAW_FENTRY("is_bool", zif_is_bool, arginfo_is_bool, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3443 ZEND_RAW_FENTRY("is_int", zif_is_int, arginfo_is_int, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3444 ZEND_RAW_FENTRY("is_integer", zif_is_int, arginfo_is_integer, 0, NULL, NULL)
3445 ZEND_RAW_FENTRY("is_long", zif_is_int, arginfo_is_long, 0, NULL, NULL)
3446 ZEND_RAW_FENTRY("is_float", zif_is_float, arginfo_is_float, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3447 ZEND_RAW_FENTRY("is_double", zif_is_float, arginfo_is_double, 0, NULL, NULL)
3448 ZEND_RAW_FENTRY("is_numeric", zif_is_numeric, arginfo_is_numeric, ZEND_ACC_COMPILE_TIME_EVAL, frameless_function_infos_is_numeric, NULL)
3449 ZEND_RAW_FENTRY("is_string", zif_is_string, arginfo_is_string, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3450 ZEND_RAW_FENTRY("is_array", zif_is_array, arginfo_is_array, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3451 ZEND_RAW_FENTRY("is_object", zif_is_object, arginfo_is_object, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3452 ZEND_RAW_FENTRY("is_scalar", zif_is_scalar, arginfo_is_scalar, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3453 ZEND_FE(is_callable, arginfo_is_callable)
3454 ZEND_RAW_FENTRY("is_iterable", zif_is_iterable, arginfo_is_iterable, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3455 ZEND_RAW_FENTRY("is_countable", zif_is_countable, arginfo_is_countable, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3456 #if defined(HAVE_GETTIMEOFDAY)
3457 ZEND_FE(uniqid, arginfo_uniqid)
3458 #endif
3459 ZEND_RAW_FENTRY("parse_url", zif_parse_url, arginfo_parse_url, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3460 ZEND_RAW_FENTRY("urlencode", zif_urlencode, arginfo_urlencode, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3461 ZEND_RAW_FENTRY("urldecode", zif_urldecode, arginfo_urldecode, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3462 ZEND_RAW_FENTRY("rawurlencode", zif_rawurlencode, arginfo_rawurlencode, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3463 ZEND_RAW_FENTRY("rawurldecode", zif_rawurldecode, arginfo_rawurldecode, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3464 ZEND_FE(get_headers, arginfo_get_headers)
3465 ZEND_FE(stream_bucket_make_writeable, arginfo_stream_bucket_make_writeable)
3466 ZEND_FE(stream_bucket_prepend, arginfo_stream_bucket_prepend)
3467 ZEND_FE(stream_bucket_append, arginfo_stream_bucket_append)
3468 ZEND_FE(stream_bucket_new, arginfo_stream_bucket_new)
3469 ZEND_FE(stream_get_filters, arginfo_stream_get_filters)
3470 ZEND_FE(stream_filter_register, arginfo_stream_filter_register)
3471 ZEND_RAW_FENTRY("convert_uuencode", zif_convert_uuencode, arginfo_convert_uuencode, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3472 ZEND_RAW_FENTRY("convert_uudecode", zif_convert_uudecode, arginfo_convert_uudecode, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3473 ZEND_FE(var_dump, arginfo_var_dump)
3474 ZEND_FE(var_export, arginfo_var_export)
3475 ZEND_FE(debug_zval_dump, arginfo_debug_zval_dump)
3476 ZEND_RAW_FENTRY("serialize", zif_serialize, arginfo_serialize, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3477 ZEND_FE(unserialize, arginfo_unserialize)
3478 ZEND_FE(memory_get_usage, arginfo_memory_get_usage)
3479 ZEND_FE(memory_get_peak_usage, arginfo_memory_get_peak_usage)
3480 ZEND_FE(memory_reset_peak_usage, arginfo_memory_reset_peak_usage)
3481 ZEND_RAW_FENTRY("version_compare", zif_version_compare, arginfo_version_compare, ZEND_ACC_COMPILE_TIME_EVAL, NULL, NULL)
3482 #if defined(PHP_WIN32)
3483 ZEND_FE(sapi_windows_cp_set, arginfo_sapi_windows_cp_set)
3484 ZEND_FE(sapi_windows_cp_get, arginfo_sapi_windows_cp_get)
3485 ZEND_FE(sapi_windows_cp_conv, arginfo_sapi_windows_cp_conv)
3486 ZEND_FE(sapi_windows_cp_is_utf8, arginfo_sapi_windows_cp_is_utf8)
3487 ZEND_FE(sapi_windows_set_ctrl_handler, arginfo_sapi_windows_set_ctrl_handler)
3488 ZEND_FE(sapi_windows_generate_ctrl_event, arginfo_sapi_windows_generate_ctrl_event)
3489 #endif
3490 ZEND_FE_END
3491 };
3492
register_basic_functions_symbols(int module_number)3493 static void register_basic_functions_symbols(int module_number)
3494 {
3495 REGISTER_LONG_CONSTANT("EXTR_OVERWRITE", PHP_EXTR_OVERWRITE, CONST_PERSISTENT);
3496 REGISTER_LONG_CONSTANT("EXTR_SKIP", PHP_EXTR_SKIP, CONST_PERSISTENT);
3497 REGISTER_LONG_CONSTANT("EXTR_PREFIX_SAME", PHP_EXTR_PREFIX_SAME, CONST_PERSISTENT);
3498 REGISTER_LONG_CONSTANT("EXTR_PREFIX_ALL", PHP_EXTR_PREFIX_ALL, CONST_PERSISTENT);
3499 REGISTER_LONG_CONSTANT("EXTR_PREFIX_INVALID", PHP_EXTR_PREFIX_INVALID, CONST_PERSISTENT);
3500 REGISTER_LONG_CONSTANT("EXTR_PREFIX_IF_EXISTS", PHP_EXTR_PREFIX_IF_EXISTS, CONST_PERSISTENT);
3501 REGISTER_LONG_CONSTANT("EXTR_IF_EXISTS", PHP_EXTR_IF_EXISTS, CONST_PERSISTENT);
3502 REGISTER_LONG_CONSTANT("EXTR_REFS", PHP_EXTR_REFS, CONST_PERSISTENT);
3503 REGISTER_LONG_CONSTANT("SORT_ASC", PHP_SORT_ASC, CONST_PERSISTENT);
3504 REGISTER_LONG_CONSTANT("SORT_DESC", PHP_SORT_DESC, CONST_PERSISTENT);
3505 REGISTER_LONG_CONSTANT("SORT_REGULAR", PHP_SORT_REGULAR, CONST_PERSISTENT);
3506 REGISTER_LONG_CONSTANT("SORT_NUMERIC", PHP_SORT_NUMERIC, CONST_PERSISTENT);
3507 REGISTER_LONG_CONSTANT("SORT_STRING", PHP_SORT_STRING, CONST_PERSISTENT);
3508 REGISTER_LONG_CONSTANT("SORT_LOCALE_STRING", PHP_SORT_LOCALE_STRING, CONST_PERSISTENT);
3509 REGISTER_LONG_CONSTANT("SORT_NATURAL", PHP_SORT_NATURAL, CONST_PERSISTENT);
3510 REGISTER_LONG_CONSTANT("SORT_FLAG_CASE", PHP_SORT_FLAG_CASE, CONST_PERSISTENT);
3511 REGISTER_LONG_CONSTANT("CASE_LOWER", PHP_CASE_LOWER, CONST_PERSISTENT);
3512 REGISTER_LONG_CONSTANT("CASE_UPPER", PHP_CASE_UPPER, CONST_PERSISTENT);
3513 REGISTER_LONG_CONSTANT("COUNT_NORMAL", PHP_COUNT_NORMAL, CONST_PERSISTENT);
3514 REGISTER_LONG_CONSTANT("COUNT_RECURSIVE", PHP_COUNT_RECURSIVE, CONST_PERSISTENT);
3515 REGISTER_LONG_CONSTANT("ARRAY_FILTER_USE_BOTH", ARRAY_FILTER_USE_BOTH, CONST_PERSISTENT);
3516 REGISTER_LONG_CONSTANT("ARRAY_FILTER_USE_KEY", ARRAY_FILTER_USE_KEY, CONST_PERSISTENT);
3517 REGISTER_LONG_CONSTANT("ASSERT_ACTIVE", PHP_ASSERT_ACTIVE, CONST_PERSISTENT | CONST_DEPRECATED);
3518 REGISTER_LONG_CONSTANT("ASSERT_CALLBACK", PHP_ASSERT_CALLBACK, CONST_PERSISTENT | CONST_DEPRECATED);
3519 REGISTER_LONG_CONSTANT("ASSERT_BAIL", PHP_ASSERT_BAIL, CONST_PERSISTENT | CONST_DEPRECATED);
3520 REGISTER_LONG_CONSTANT("ASSERT_WARNING", PHP_ASSERT_WARNING, CONST_PERSISTENT | CONST_DEPRECATED);
3521 REGISTER_LONG_CONSTANT("ASSERT_EXCEPTION", PHP_ASSERT_EXCEPTION, CONST_PERSISTENT | CONST_DEPRECATED);
3522 REGISTER_LONG_CONSTANT("CONNECTION_ABORTED", PHP_CONNECTION_ABORTED, CONST_PERSISTENT);
3523 REGISTER_LONG_CONSTANT("CONNECTION_NORMAL", PHP_CONNECTION_NORMAL, CONST_PERSISTENT);
3524 REGISTER_LONG_CONSTANT("CONNECTION_TIMEOUT", PHP_CONNECTION_TIMEOUT, CONST_PERSISTENT);
3525 REGISTER_LONG_CONSTANT("INI_USER", ZEND_INI_USER, CONST_PERSISTENT);
3526 REGISTER_LONG_CONSTANT("INI_PERDIR", ZEND_INI_PERDIR, CONST_PERSISTENT);
3527 REGISTER_LONG_CONSTANT("INI_SYSTEM", ZEND_INI_SYSTEM, CONST_PERSISTENT);
3528 REGISTER_LONG_CONSTANT("INI_ALL", ZEND_INI_ALL, CONST_PERSISTENT);
3529 REGISTER_LONG_CONSTANT("INI_SCANNER_NORMAL", ZEND_INI_SCANNER_NORMAL, CONST_PERSISTENT);
3530 REGISTER_LONG_CONSTANT("INI_SCANNER_RAW", ZEND_INI_SCANNER_RAW, CONST_PERSISTENT);
3531 REGISTER_LONG_CONSTANT("INI_SCANNER_TYPED", ZEND_INI_SCANNER_TYPED, CONST_PERSISTENT);
3532 REGISTER_LONG_CONSTANT("PHP_URL_SCHEME", PHP_URL_SCHEME, CONST_PERSISTENT);
3533 REGISTER_LONG_CONSTANT("PHP_URL_HOST", PHP_URL_HOST, CONST_PERSISTENT);
3534 REGISTER_LONG_CONSTANT("PHP_URL_PORT", PHP_URL_PORT, CONST_PERSISTENT);
3535 REGISTER_LONG_CONSTANT("PHP_URL_USER", PHP_URL_USER, CONST_PERSISTENT);
3536 REGISTER_LONG_CONSTANT("PHP_URL_PASS", PHP_URL_PASS, CONST_PERSISTENT);
3537 REGISTER_LONG_CONSTANT("PHP_URL_PATH", PHP_URL_PATH, CONST_PERSISTENT);
3538 REGISTER_LONG_CONSTANT("PHP_URL_QUERY", PHP_URL_QUERY, CONST_PERSISTENT);
3539 REGISTER_LONG_CONSTANT("PHP_URL_FRAGMENT", PHP_URL_FRAGMENT, CONST_PERSISTENT);
3540 REGISTER_LONG_CONSTANT("PHP_QUERY_RFC1738", PHP_QUERY_RFC1738, CONST_PERSISTENT);
3541 REGISTER_LONG_CONSTANT("PHP_QUERY_RFC3986", PHP_QUERY_RFC3986, CONST_PERSISTENT);
3542 REGISTER_DOUBLE_CONSTANT("M_E", M_E, CONST_PERSISTENT);
3543 ZEND_ASSERT(M_E == 2.718281828459045);
3544 REGISTER_DOUBLE_CONSTANT("M_LOG2E", M_LOG2E, CONST_PERSISTENT);
3545 ZEND_ASSERT(M_LOG2E == 1.4426950408889634);
3546 REGISTER_DOUBLE_CONSTANT("M_LOG10E", M_LOG10E, CONST_PERSISTENT);
3547 ZEND_ASSERT(M_LOG10E == 0.4342944819032518);
3548 REGISTER_DOUBLE_CONSTANT("M_LN2", M_LN2, CONST_PERSISTENT);
3549 ZEND_ASSERT(M_LN2 == 0.6931471805599453);
3550 REGISTER_DOUBLE_CONSTANT("M_LN10", M_LN10, CONST_PERSISTENT);
3551 ZEND_ASSERT(M_LN10 == 2.302585092994046);
3552 REGISTER_DOUBLE_CONSTANT("M_PI", M_PI, CONST_PERSISTENT);
3553 ZEND_ASSERT(M_PI == 3.141592653589793);
3554 REGISTER_DOUBLE_CONSTANT("M_PI_2", M_PI_2, CONST_PERSISTENT);
3555 ZEND_ASSERT(M_PI_2 == 1.5707963267948966);
3556 REGISTER_DOUBLE_CONSTANT("M_PI_4", M_PI_4, CONST_PERSISTENT);
3557 ZEND_ASSERT(M_PI_4 == 0.7853981633974483);
3558 REGISTER_DOUBLE_CONSTANT("M_1_PI", M_1_PI, CONST_PERSISTENT);
3559 ZEND_ASSERT(M_1_PI == 0.3183098861837907);
3560 REGISTER_DOUBLE_CONSTANT("M_2_PI", M_2_PI, CONST_PERSISTENT);
3561 ZEND_ASSERT(M_2_PI == 0.6366197723675814);
3562 REGISTER_DOUBLE_CONSTANT("M_SQRTPI", M_SQRTPI, CONST_PERSISTENT);
3563 ZEND_ASSERT(M_SQRTPI == 1.772453850905516);
3564 REGISTER_DOUBLE_CONSTANT("M_2_SQRTPI", M_2_SQRTPI, CONST_PERSISTENT);
3565 ZEND_ASSERT(M_2_SQRTPI == 1.1283791670955126);
3566 REGISTER_DOUBLE_CONSTANT("M_LNPI", M_LNPI, CONST_PERSISTENT);
3567 ZEND_ASSERT(M_LNPI == 1.1447298858494002);
3568 REGISTER_DOUBLE_CONSTANT("M_EULER", M_EULER, CONST_PERSISTENT);
3569 ZEND_ASSERT(M_EULER == 0.5772156649015329);
3570 REGISTER_DOUBLE_CONSTANT("M_SQRT2", M_SQRT2, CONST_PERSISTENT);
3571 ZEND_ASSERT(M_SQRT2 == 1.4142135623730951);
3572 REGISTER_DOUBLE_CONSTANT("M_SQRT1_2", M_SQRT1_2, CONST_PERSISTENT);
3573 ZEND_ASSERT(M_SQRT1_2 == 0.7071067811865476);
3574 REGISTER_DOUBLE_CONSTANT("M_SQRT3", M_SQRT3, CONST_PERSISTENT);
3575 ZEND_ASSERT(M_SQRT3 == 1.7320508075688772);
3576 REGISTER_DOUBLE_CONSTANT("INF", ZEND_INFINITY, CONST_PERSISTENT);
3577 REGISTER_DOUBLE_CONSTANT("NAN", ZEND_NAN, CONST_PERSISTENT);
3578 REGISTER_LONG_CONSTANT("PHP_ROUND_HALF_UP", PHP_ROUND_HALF_UP, CONST_PERSISTENT);
3579 REGISTER_LONG_CONSTANT("PHP_ROUND_HALF_DOWN", PHP_ROUND_HALF_DOWN, CONST_PERSISTENT);
3580 REGISTER_LONG_CONSTANT("PHP_ROUND_HALF_EVEN", PHP_ROUND_HALF_EVEN, CONST_PERSISTENT);
3581 REGISTER_LONG_CONSTANT("PHP_ROUND_HALF_ODD", PHP_ROUND_HALF_ODD, CONST_PERSISTENT);
3582 REGISTER_LONG_CONSTANT("CRYPT_SALT_LENGTH", PHP_MAX_SALT_LEN, CONST_PERSISTENT);
3583 REGISTER_LONG_CONSTANT("CRYPT_STD_DES", 1, CONST_PERSISTENT);
3584 REGISTER_LONG_CONSTANT("CRYPT_EXT_DES", 1, CONST_PERSISTENT);
3585 REGISTER_LONG_CONSTANT("CRYPT_MD5", 1, CONST_PERSISTENT);
3586 REGISTER_LONG_CONSTANT("CRYPT_BLOWFISH", 1, CONST_PERSISTENT);
3587 REGISTER_LONG_CONSTANT("CRYPT_SHA256", 1, CONST_PERSISTENT);
3588 REGISTER_LONG_CONSTANT("CRYPT_SHA512", 1, CONST_PERSISTENT);
3589 #if (defined(PHP_WIN32) || (defined(HAVE_DNS_SEARCH_FUNC) && defined(HAVE_FULL_DNS_FUNCS)))
3590 REGISTER_LONG_CONSTANT("DNS_A", PHP_DNS_A, CONST_PERSISTENT);
3591 #endif
3592 #if (defined(PHP_WIN32) || (defined(HAVE_DNS_SEARCH_FUNC) && defined(HAVE_FULL_DNS_FUNCS)))
3593 REGISTER_LONG_CONSTANT("DNS_NS", PHP_DNS_NS, CONST_PERSISTENT);
3594 #endif
3595 #if (defined(PHP_WIN32) || (defined(HAVE_DNS_SEARCH_FUNC) && defined(HAVE_FULL_DNS_FUNCS)))
3596 REGISTER_LONG_CONSTANT("DNS_CNAME", PHP_DNS_CNAME, CONST_PERSISTENT);
3597 #endif
3598 #if (defined(PHP_WIN32) || (defined(HAVE_DNS_SEARCH_FUNC) && defined(HAVE_FULL_DNS_FUNCS)))
3599 REGISTER_LONG_CONSTANT("DNS_SOA", PHP_DNS_SOA, CONST_PERSISTENT);
3600 #endif
3601 #if (defined(PHP_WIN32) || (defined(HAVE_DNS_SEARCH_FUNC) && defined(HAVE_FULL_DNS_FUNCS)))
3602 REGISTER_LONG_CONSTANT("DNS_PTR", PHP_DNS_PTR, CONST_PERSISTENT);
3603 #endif
3604 #if (defined(PHP_WIN32) || (defined(HAVE_DNS_SEARCH_FUNC) && defined(HAVE_FULL_DNS_FUNCS)))
3605 REGISTER_LONG_CONSTANT("DNS_HINFO", PHP_DNS_HINFO, CONST_PERSISTENT);
3606 #endif
3607 #if (defined(PHP_WIN32) || (defined(HAVE_DNS_SEARCH_FUNC) && defined(HAVE_FULL_DNS_FUNCS))) && (!defined(PHP_WIN32))
3608 REGISTER_LONG_CONSTANT("DNS_CAA", PHP_DNS_CAA, CONST_PERSISTENT);
3609 #endif
3610 #if (defined(PHP_WIN32) || (defined(HAVE_DNS_SEARCH_FUNC) && defined(HAVE_FULL_DNS_FUNCS)))
3611 REGISTER_LONG_CONSTANT("DNS_MX", PHP_DNS_MX, CONST_PERSISTENT);
3612 #endif
3613 #if (defined(PHP_WIN32) || (defined(HAVE_DNS_SEARCH_FUNC) && defined(HAVE_FULL_DNS_FUNCS)))
3614 REGISTER_LONG_CONSTANT("DNS_TXT", PHP_DNS_TXT, CONST_PERSISTENT);
3615 #endif
3616 #if (defined(PHP_WIN32) || (defined(HAVE_DNS_SEARCH_FUNC) && defined(HAVE_FULL_DNS_FUNCS)))
3617 REGISTER_LONG_CONSTANT("DNS_SRV", PHP_DNS_SRV, CONST_PERSISTENT);
3618 #endif
3619 #if (defined(PHP_WIN32) || (defined(HAVE_DNS_SEARCH_FUNC) && defined(HAVE_FULL_DNS_FUNCS)))
3620 REGISTER_LONG_CONSTANT("DNS_NAPTR", PHP_DNS_NAPTR, CONST_PERSISTENT);
3621 #endif
3622 #if (defined(PHP_WIN32) || (defined(HAVE_DNS_SEARCH_FUNC) && defined(HAVE_FULL_DNS_FUNCS)))
3623 REGISTER_LONG_CONSTANT("DNS_AAAA", PHP_DNS_AAAA, CONST_PERSISTENT);
3624 #endif
3625 #if (defined(PHP_WIN32) || (defined(HAVE_DNS_SEARCH_FUNC) && defined(HAVE_FULL_DNS_FUNCS)))
3626 REGISTER_LONG_CONSTANT("DNS_A6", PHP_DNS_A6, CONST_PERSISTENT);
3627 #endif
3628 #if (defined(PHP_WIN32) || (defined(HAVE_DNS_SEARCH_FUNC) && defined(HAVE_FULL_DNS_FUNCS)))
3629 REGISTER_LONG_CONSTANT("DNS_ANY", PHP_DNS_ANY, CONST_PERSISTENT);
3630 #endif
3631 #if (defined(PHP_WIN32) || (defined(HAVE_DNS_SEARCH_FUNC) && defined(HAVE_FULL_DNS_FUNCS)))
3632 REGISTER_LONG_CONSTANT("DNS_ALL", PHP_DNS_ALL, CONST_PERSISTENT);
3633 #endif
3634 REGISTER_LONG_CONSTANT("HTML_SPECIALCHARS", PHP_HTML_SPECIALCHARS, CONST_PERSISTENT);
3635 REGISTER_LONG_CONSTANT("HTML_ENTITIES", PHP_HTML_ENTITIES, CONST_PERSISTENT);
3636 REGISTER_LONG_CONSTANT("ENT_COMPAT", ENT_COMPAT, CONST_PERSISTENT);
3637 REGISTER_LONG_CONSTANT("ENT_QUOTES", ENT_QUOTES, CONST_PERSISTENT);
3638 REGISTER_LONG_CONSTANT("ENT_NOQUOTES", ENT_NOQUOTES, CONST_PERSISTENT);
3639 REGISTER_LONG_CONSTANT("ENT_IGNORE", ENT_IGNORE, CONST_PERSISTENT);
3640 REGISTER_LONG_CONSTANT("ENT_SUBSTITUTE", ENT_SUBSTITUTE, CONST_PERSISTENT);
3641 REGISTER_LONG_CONSTANT("ENT_DISALLOWED", ENT_DISALLOWED, CONST_PERSISTENT);
3642 REGISTER_LONG_CONSTANT("ENT_HTML401", ENT_HTML401, CONST_PERSISTENT);
3643 REGISTER_LONG_CONSTANT("ENT_XML1", ENT_XML1, CONST_PERSISTENT);
3644 REGISTER_LONG_CONSTANT("ENT_XHTML", ENT_XHTML, CONST_PERSISTENT);
3645 REGISTER_LONG_CONSTANT("ENT_HTML5", ENT_HTML5, CONST_PERSISTENT);
3646 REGISTER_LONG_CONSTANT("IMAGETYPE_GIF", IMAGE_FILETYPE_GIF, CONST_PERSISTENT);
3647 REGISTER_LONG_CONSTANT("IMAGETYPE_JPEG", IMAGE_FILETYPE_JPEG, CONST_PERSISTENT);
3648 REGISTER_LONG_CONSTANT("IMAGETYPE_PNG", IMAGE_FILETYPE_PNG, CONST_PERSISTENT);
3649 REGISTER_LONG_CONSTANT("IMAGETYPE_SWF", IMAGE_FILETYPE_SWF, CONST_PERSISTENT);
3650 REGISTER_LONG_CONSTANT("IMAGETYPE_PSD", IMAGE_FILETYPE_PSD, CONST_PERSISTENT);
3651 REGISTER_LONG_CONSTANT("IMAGETYPE_BMP", IMAGE_FILETYPE_BMP, CONST_PERSISTENT);
3652 REGISTER_LONG_CONSTANT("IMAGETYPE_TIFF_II", IMAGE_FILETYPE_TIFF_II, CONST_PERSISTENT);
3653 REGISTER_LONG_CONSTANT("IMAGETYPE_TIFF_MM", IMAGE_FILETYPE_TIFF_MM, CONST_PERSISTENT);
3654 REGISTER_LONG_CONSTANT("IMAGETYPE_JPC", IMAGE_FILETYPE_JPC, CONST_PERSISTENT);
3655 REGISTER_LONG_CONSTANT("IMAGETYPE_JP2", IMAGE_FILETYPE_JP2, CONST_PERSISTENT);
3656 REGISTER_LONG_CONSTANT("IMAGETYPE_JPX", IMAGE_FILETYPE_JPX, CONST_PERSISTENT);
3657 REGISTER_LONG_CONSTANT("IMAGETYPE_JB2", IMAGE_FILETYPE_JB2, CONST_PERSISTENT);
3658 #if (defined(HAVE_ZLIB) && !defined(COMPILE_DL_ZLIB))
3659 REGISTER_LONG_CONSTANT("IMAGETYPE_SWC", IMAGE_FILETYPE_SWC, CONST_PERSISTENT);
3660 #endif
3661 REGISTER_LONG_CONSTANT("IMAGETYPE_IFF", IMAGE_FILETYPE_IFF, CONST_PERSISTENT);
3662 REGISTER_LONG_CONSTANT("IMAGETYPE_WBMP", IMAGE_FILETYPE_WBMP, CONST_PERSISTENT);
3663 REGISTER_LONG_CONSTANT("IMAGETYPE_JPEG2000", IMAGE_FILETYPE_JPC, CONST_PERSISTENT);
3664 REGISTER_LONG_CONSTANT("IMAGETYPE_XBM", IMAGE_FILETYPE_XBM, CONST_PERSISTENT);
3665 REGISTER_LONG_CONSTANT("IMAGETYPE_ICO", IMAGE_FILETYPE_ICO, CONST_PERSISTENT);
3666 REGISTER_LONG_CONSTANT("IMAGETYPE_WEBP", IMAGE_FILETYPE_WEBP, CONST_PERSISTENT);
3667 REGISTER_LONG_CONSTANT("IMAGETYPE_AVIF", IMAGE_FILETYPE_AVIF, CONST_PERSISTENT);
3668 REGISTER_LONG_CONSTANT("IMAGETYPE_UNKNOWN", IMAGE_FILETYPE_UNKNOWN, CONST_PERSISTENT);
3669 REGISTER_LONG_CONSTANT("IMAGETYPE_COUNT", IMAGE_FILETYPE_COUNT, CONST_PERSISTENT);
3670 REGISTER_LONG_CONSTANT("INFO_GENERAL", PHP_INFO_GENERAL, CONST_PERSISTENT);
3671 REGISTER_LONG_CONSTANT("INFO_CREDITS", PHP_INFO_CREDITS, CONST_PERSISTENT);
3672 REGISTER_LONG_CONSTANT("INFO_CONFIGURATION", PHP_INFO_CONFIGURATION, CONST_PERSISTENT);
3673 REGISTER_LONG_CONSTANT("INFO_MODULES", PHP_INFO_MODULES, CONST_PERSISTENT);
3674 REGISTER_LONG_CONSTANT("INFO_ENVIRONMENT", PHP_INFO_ENVIRONMENT, CONST_PERSISTENT);
3675 REGISTER_LONG_CONSTANT("INFO_VARIABLES", PHP_INFO_VARIABLES, CONST_PERSISTENT);
3676 REGISTER_LONG_CONSTANT("INFO_LICENSE", PHP_INFO_LICENSE, CONST_PERSISTENT);
3677 REGISTER_LONG_CONSTANT("INFO_ALL", PHP_INFO_ALL, CONST_PERSISTENT);
3678 REGISTER_LONG_CONSTANT("CREDITS_GROUP", PHP_CREDITS_GROUP, CONST_PERSISTENT);
3679 REGISTER_LONG_CONSTANT("CREDITS_GENERAL", PHP_CREDITS_GENERAL, CONST_PERSISTENT);
3680 REGISTER_LONG_CONSTANT("CREDITS_SAPI", PHP_CREDITS_SAPI, CONST_PERSISTENT);
3681 REGISTER_LONG_CONSTANT("CREDITS_MODULES", PHP_CREDITS_MODULES, CONST_PERSISTENT);
3682 REGISTER_LONG_CONSTANT("CREDITS_DOCS", PHP_CREDITS_DOCS, CONST_PERSISTENT);
3683 REGISTER_LONG_CONSTANT("CREDITS_FULLPAGE", PHP_CREDITS_FULLPAGE, CONST_PERSISTENT);
3684 REGISTER_LONG_CONSTANT("CREDITS_QA", PHP_CREDITS_QA, CONST_PERSISTENT);
3685 REGISTER_LONG_CONSTANT("CREDITS_ALL", PHP_CREDITS_ALL, CONST_PERSISTENT);
3686 REGISTER_LONG_CONSTANT("LOG_EMERG", LOG_EMERG, CONST_PERSISTENT);
3687 REGISTER_LONG_CONSTANT("LOG_ALERT", LOG_ALERT, CONST_PERSISTENT);
3688 REGISTER_LONG_CONSTANT("LOG_CRIT", LOG_CRIT, CONST_PERSISTENT);
3689 REGISTER_LONG_CONSTANT("LOG_ERR", LOG_ERR, CONST_PERSISTENT);
3690 REGISTER_LONG_CONSTANT("LOG_WARNING", LOG_WARNING, CONST_PERSISTENT);
3691 REGISTER_LONG_CONSTANT("LOG_NOTICE", LOG_NOTICE, CONST_PERSISTENT);
3692 REGISTER_LONG_CONSTANT("LOG_INFO", LOG_INFO, CONST_PERSISTENT);
3693 REGISTER_LONG_CONSTANT("LOG_DEBUG", LOG_DEBUG, CONST_PERSISTENT);
3694 REGISTER_LONG_CONSTANT("LOG_KERN", LOG_KERN, CONST_PERSISTENT);
3695 REGISTER_LONG_CONSTANT("LOG_USER", LOG_USER, CONST_PERSISTENT);
3696 REGISTER_LONG_CONSTANT("LOG_MAIL", LOG_MAIL, CONST_PERSISTENT);
3697 REGISTER_LONG_CONSTANT("LOG_DAEMON", LOG_DAEMON, CONST_PERSISTENT);
3698 REGISTER_LONG_CONSTANT("LOG_AUTH", LOG_AUTH, CONST_PERSISTENT);
3699 REGISTER_LONG_CONSTANT("LOG_SYSLOG", LOG_SYSLOG, CONST_PERSISTENT);
3700 REGISTER_LONG_CONSTANT("LOG_LPR", LOG_LPR, CONST_PERSISTENT);
3701 #if defined(LOG_NEWS)
3702 REGISTER_LONG_CONSTANT("LOG_NEWS", LOG_NEWS, CONST_PERSISTENT);
3703 #endif
3704 #if defined(LOG_UUCP)
3705 REGISTER_LONG_CONSTANT("LOG_UUCP", LOG_UUCP, CONST_PERSISTENT);
3706 #endif
3707 #if defined(LOG_CRON)
3708 REGISTER_LONG_CONSTANT("LOG_CRON", LOG_CRON, CONST_PERSISTENT);
3709 #endif
3710 #if defined(LOG_AUTHPRIV)
3711 REGISTER_LONG_CONSTANT("LOG_AUTHPRIV", LOG_AUTHPRIV, CONST_PERSISTENT);
3712 #endif
3713 #if !defined(PHP_WIN32)
3714 REGISTER_LONG_CONSTANT("LOG_LOCAL0", LOG_LOCAL0, CONST_PERSISTENT);
3715 #endif
3716 #if !defined(PHP_WIN32)
3717 REGISTER_LONG_CONSTANT("LOG_LOCAL1", LOG_LOCAL1, CONST_PERSISTENT);
3718 #endif
3719 #if !defined(PHP_WIN32)
3720 REGISTER_LONG_CONSTANT("LOG_LOCAL2", LOG_LOCAL2, CONST_PERSISTENT);
3721 #endif
3722 #if !defined(PHP_WIN32)
3723 REGISTER_LONG_CONSTANT("LOG_LOCAL3", LOG_LOCAL3, CONST_PERSISTENT);
3724 #endif
3725 #if !defined(PHP_WIN32)
3726 REGISTER_LONG_CONSTANT("LOG_LOCAL4", LOG_LOCAL4, CONST_PERSISTENT);
3727 #endif
3728 #if !defined(PHP_WIN32)
3729 REGISTER_LONG_CONSTANT("LOG_LOCAL5", LOG_LOCAL5, CONST_PERSISTENT);
3730 #endif
3731 #if !defined(PHP_WIN32)
3732 REGISTER_LONG_CONSTANT("LOG_LOCAL6", LOG_LOCAL6, CONST_PERSISTENT);
3733 #endif
3734 #if !defined(PHP_WIN32)
3735 REGISTER_LONG_CONSTANT("LOG_LOCAL7", LOG_LOCAL7, CONST_PERSISTENT);
3736 #endif
3737 REGISTER_LONG_CONSTANT("LOG_PID", LOG_PID, CONST_PERSISTENT);
3738 REGISTER_LONG_CONSTANT("LOG_CONS", LOG_CONS, CONST_PERSISTENT);
3739 REGISTER_LONG_CONSTANT("LOG_ODELAY", LOG_ODELAY, CONST_PERSISTENT);
3740 REGISTER_LONG_CONSTANT("LOG_NDELAY", LOG_NDELAY, CONST_PERSISTENT);
3741 #if defined(LOG_NOWAIT)
3742 REGISTER_LONG_CONSTANT("LOG_NOWAIT", LOG_NOWAIT, CONST_PERSISTENT);
3743 #endif
3744 #if defined(LOG_PERROR)
3745 REGISTER_LONG_CONSTANT("LOG_PERROR", LOG_PERROR, CONST_PERSISTENT);
3746 #endif
3747 REGISTER_LONG_CONSTANT("STR_PAD_LEFT", PHP_STR_PAD_LEFT, CONST_PERSISTENT);
3748 REGISTER_LONG_CONSTANT("STR_PAD_RIGHT", PHP_STR_PAD_RIGHT, CONST_PERSISTENT);
3749 REGISTER_LONG_CONSTANT("STR_PAD_BOTH", PHP_STR_PAD_BOTH, CONST_PERSISTENT);
3750 REGISTER_LONG_CONSTANT("PATHINFO_DIRNAME", PHP_PATHINFO_DIRNAME, CONST_PERSISTENT);
3751 REGISTER_LONG_CONSTANT("PATHINFO_BASENAME", PHP_PATHINFO_BASENAME, CONST_PERSISTENT);
3752 REGISTER_LONG_CONSTANT("PATHINFO_EXTENSION", PHP_PATHINFO_EXTENSION, CONST_PERSISTENT);
3753 REGISTER_LONG_CONSTANT("PATHINFO_FILENAME", PHP_PATHINFO_FILENAME, CONST_PERSISTENT);
3754 REGISTER_LONG_CONSTANT("PATHINFO_ALL", PHP_PATHINFO_ALL, CONST_PERSISTENT);
3755 REGISTER_LONG_CONSTANT("CHAR_MAX", CHAR_MAX, CONST_PERSISTENT);
3756 REGISTER_LONG_CONSTANT("LC_CTYPE", LC_CTYPE, CONST_PERSISTENT);
3757 REGISTER_LONG_CONSTANT("LC_NUMERIC", LC_NUMERIC, CONST_PERSISTENT);
3758 REGISTER_LONG_CONSTANT("LC_TIME", LC_TIME, CONST_PERSISTENT);
3759 REGISTER_LONG_CONSTANT("LC_COLLATE", LC_COLLATE, CONST_PERSISTENT);
3760 REGISTER_LONG_CONSTANT("LC_MONETARY", LC_MONETARY, CONST_PERSISTENT);
3761 REGISTER_LONG_CONSTANT("LC_ALL", LC_ALL, CONST_PERSISTENT);
3762 #if defined(LC_MESSAGES)
3763 REGISTER_LONG_CONSTANT("LC_MESSAGES", LC_MESSAGES, CONST_PERSISTENT);
3764 #endif
3765 #if defined(HAVE_NL_LANGINFO) && defined(ABDAY_1)
3766 REGISTER_LONG_CONSTANT("ABDAY_1", ABDAY_1, CONST_PERSISTENT);
3767 #endif
3768 #if defined(HAVE_NL_LANGINFO) && defined(ABDAY_1)
3769 REGISTER_LONG_CONSTANT("ABDAY_2", ABDAY_2, CONST_PERSISTENT);
3770 #endif
3771 #if defined(HAVE_NL_LANGINFO) && defined(ABDAY_1)
3772 REGISTER_LONG_CONSTANT("ABDAY_3", ABDAY_3, CONST_PERSISTENT);
3773 #endif
3774 #if defined(HAVE_NL_LANGINFO) && defined(ABDAY_1)
3775 REGISTER_LONG_CONSTANT("ABDAY_4", ABDAY_4, CONST_PERSISTENT);
3776 #endif
3777 #if defined(HAVE_NL_LANGINFO) && defined(ABDAY_1)
3778 REGISTER_LONG_CONSTANT("ABDAY_5", ABDAY_5, CONST_PERSISTENT);
3779 #endif
3780 #if defined(HAVE_NL_LANGINFO) && defined(ABDAY_1)
3781 REGISTER_LONG_CONSTANT("ABDAY_6", ABDAY_6, CONST_PERSISTENT);
3782 #endif
3783 #if defined(HAVE_NL_LANGINFO) && defined(ABDAY_1)
3784 REGISTER_LONG_CONSTANT("ABDAY_7", ABDAY_7, CONST_PERSISTENT);
3785 #endif
3786 #if defined(HAVE_NL_LANGINFO) && defined(DAY_1)
3787 REGISTER_LONG_CONSTANT("DAY_1", DAY_1, CONST_PERSISTENT);
3788 #endif
3789 #if defined(HAVE_NL_LANGINFO) && defined(DAY_1)
3790 REGISTER_LONG_CONSTANT("DAY_2", DAY_2, CONST_PERSISTENT);
3791 #endif
3792 #if defined(HAVE_NL_LANGINFO) && defined(DAY_1)
3793 REGISTER_LONG_CONSTANT("DAY_3", DAY_3, CONST_PERSISTENT);
3794 #endif
3795 #if defined(HAVE_NL_LANGINFO) && defined(DAY_1)
3796 REGISTER_LONG_CONSTANT("DAY_4", DAY_4, CONST_PERSISTENT);
3797 #endif
3798 #if defined(HAVE_NL_LANGINFO) && defined(DAY_1)
3799 REGISTER_LONG_CONSTANT("DAY_5", DAY_5, CONST_PERSISTENT);
3800 #endif
3801 #if defined(HAVE_NL_LANGINFO) && defined(DAY_1)
3802 REGISTER_LONG_CONSTANT("DAY_6", DAY_6, CONST_PERSISTENT);
3803 #endif
3804 #if defined(HAVE_NL_LANGINFO) && defined(DAY_1)
3805 REGISTER_LONG_CONSTANT("DAY_7", DAY_7, CONST_PERSISTENT);
3806 #endif
3807 #if defined(HAVE_NL_LANGINFO) && defined(ABMON_1)
3808 REGISTER_LONG_CONSTANT("ABMON_1", ABMON_1, CONST_PERSISTENT);
3809 #endif
3810 #if defined(HAVE_NL_LANGINFO) && defined(ABMON_1)
3811 REGISTER_LONG_CONSTANT("ABMON_2", ABMON_2, CONST_PERSISTENT);
3812 #endif
3813 #if defined(HAVE_NL_LANGINFO) && defined(ABMON_1)
3814 REGISTER_LONG_CONSTANT("ABMON_3", ABMON_3, CONST_PERSISTENT);
3815 #endif
3816 #if defined(HAVE_NL_LANGINFO) && defined(ABMON_1)
3817 REGISTER_LONG_CONSTANT("ABMON_4", ABMON_4, CONST_PERSISTENT);
3818 #endif
3819 #if defined(HAVE_NL_LANGINFO) && defined(ABMON_1)
3820 REGISTER_LONG_CONSTANT("ABMON_5", ABMON_5, CONST_PERSISTENT);
3821 #endif
3822 #if defined(HAVE_NL_LANGINFO) && defined(ABMON_1)
3823 REGISTER_LONG_CONSTANT("ABMON_6", ABMON_6, CONST_PERSISTENT);
3824 #endif
3825 #if defined(HAVE_NL_LANGINFO) && defined(ABMON_1)
3826 REGISTER_LONG_CONSTANT("ABMON_7", ABMON_7, CONST_PERSISTENT);
3827 #endif
3828 #if defined(HAVE_NL_LANGINFO) && defined(ABMON_1)
3829 REGISTER_LONG_CONSTANT("ABMON_8", ABMON_8, CONST_PERSISTENT);
3830 #endif
3831 #if defined(HAVE_NL_LANGINFO) && defined(ABMON_1)
3832 REGISTER_LONG_CONSTANT("ABMON_9", ABMON_9, CONST_PERSISTENT);
3833 #endif
3834 #if defined(HAVE_NL_LANGINFO) && defined(ABMON_1)
3835 REGISTER_LONG_CONSTANT("ABMON_10", ABMON_10, CONST_PERSISTENT);
3836 #endif
3837 #if defined(HAVE_NL_LANGINFO) && defined(ABMON_1)
3838 REGISTER_LONG_CONSTANT("ABMON_11", ABMON_11, CONST_PERSISTENT);
3839 #endif
3840 #if defined(HAVE_NL_LANGINFO) && defined(ABMON_1)
3841 REGISTER_LONG_CONSTANT("ABMON_12", ABMON_12, CONST_PERSISTENT);
3842 #endif
3843 #if defined(HAVE_NL_LANGINFO) && defined(MON_1)
3844 REGISTER_LONG_CONSTANT("MON_1", MON_1, CONST_PERSISTENT);
3845 #endif
3846 #if defined(HAVE_NL_LANGINFO) && defined(MON_1)
3847 REGISTER_LONG_CONSTANT("MON_2", MON_2, CONST_PERSISTENT);
3848 #endif
3849 #if defined(HAVE_NL_LANGINFO) && defined(MON_1)
3850 REGISTER_LONG_CONSTANT("MON_3", MON_3, CONST_PERSISTENT);
3851 #endif
3852 #if defined(HAVE_NL_LANGINFO) && defined(MON_1)
3853 REGISTER_LONG_CONSTANT("MON_4", MON_4, CONST_PERSISTENT);
3854 #endif
3855 #if defined(HAVE_NL_LANGINFO) && defined(MON_1)
3856 REGISTER_LONG_CONSTANT("MON_5", MON_5, CONST_PERSISTENT);
3857 #endif
3858 #if defined(HAVE_NL_LANGINFO) && defined(MON_1)
3859 REGISTER_LONG_CONSTANT("MON_6", MON_6, CONST_PERSISTENT);
3860 #endif
3861 #if defined(HAVE_NL_LANGINFO) && defined(MON_1)
3862 REGISTER_LONG_CONSTANT("MON_7", MON_7, CONST_PERSISTENT);
3863 #endif
3864 #if defined(HAVE_NL_LANGINFO) && defined(MON_1)
3865 REGISTER_LONG_CONSTANT("MON_8", MON_8, CONST_PERSISTENT);
3866 #endif
3867 #if defined(HAVE_NL_LANGINFO) && defined(MON_1)
3868 REGISTER_LONG_CONSTANT("MON_9", MON_9, CONST_PERSISTENT);
3869 #endif
3870 #if defined(HAVE_NL_LANGINFO) && defined(MON_1)
3871 REGISTER_LONG_CONSTANT("MON_10", MON_10, CONST_PERSISTENT);
3872 #endif
3873 #if defined(HAVE_NL_LANGINFO) && defined(MON_1)
3874 REGISTER_LONG_CONSTANT("MON_11", MON_11, CONST_PERSISTENT);
3875 #endif
3876 #if defined(HAVE_NL_LANGINFO) && defined(MON_1)
3877 REGISTER_LONG_CONSTANT("MON_12", MON_12, CONST_PERSISTENT);
3878 #endif
3879 #if defined(HAVE_NL_LANGINFO) && defined(AM_STR)
3880 REGISTER_LONG_CONSTANT("AM_STR", AM_STR, CONST_PERSISTENT);
3881 #endif
3882 #if defined(HAVE_NL_LANGINFO) && defined(PM_STR)
3883 REGISTER_LONG_CONSTANT("PM_STR", PM_STR, CONST_PERSISTENT);
3884 #endif
3885 #if defined(HAVE_NL_LANGINFO) && defined(D_T_FMT)
3886 REGISTER_LONG_CONSTANT("D_T_FMT", D_T_FMT, CONST_PERSISTENT);
3887 #endif
3888 #if defined(HAVE_NL_LANGINFO) && defined(D_FMT)
3889 REGISTER_LONG_CONSTANT("D_FMT", D_FMT, CONST_PERSISTENT);
3890 #endif
3891 #if defined(HAVE_NL_LANGINFO) && defined(T_FMT)
3892 REGISTER_LONG_CONSTANT("T_FMT", T_FMT, CONST_PERSISTENT);
3893 #endif
3894 #if defined(HAVE_NL_LANGINFO) && defined(T_FMT_AMPM)
3895 REGISTER_LONG_CONSTANT("T_FMT_AMPM", T_FMT_AMPM, CONST_PERSISTENT);
3896 #endif
3897 #if defined(HAVE_NL_LANGINFO) && defined(ERA)
3898 REGISTER_LONG_CONSTANT("ERA", ERA, CONST_PERSISTENT);
3899 #endif
3900 #if defined(HAVE_NL_LANGINFO) && defined(ERA_YEAR)
3901 REGISTER_LONG_CONSTANT("ERA_YEAR", ERA_YEAR, CONST_PERSISTENT);
3902 #endif
3903 #if defined(HAVE_NL_LANGINFO) && defined(ERA_D_T_FMT)
3904 REGISTER_LONG_CONSTANT("ERA_D_T_FMT", ERA_D_T_FMT, CONST_PERSISTENT);
3905 #endif
3906 #if defined(HAVE_NL_LANGINFO) && defined(ERA_D_FMT)
3907 REGISTER_LONG_CONSTANT("ERA_D_FMT", ERA_D_FMT, CONST_PERSISTENT);
3908 #endif
3909 #if defined(HAVE_NL_LANGINFO) && defined(ERA_T_FMT)
3910 REGISTER_LONG_CONSTANT("ERA_T_FMT", ERA_T_FMT, CONST_PERSISTENT);
3911 #endif
3912 #if defined(HAVE_NL_LANGINFO) && defined(ALT_DIGITS)
3913 REGISTER_LONG_CONSTANT("ALT_DIGITS", ALT_DIGITS, CONST_PERSISTENT);
3914 #endif
3915 #if defined(HAVE_NL_LANGINFO) && defined(INT_CURR_SYMBOL)
3916 REGISTER_LONG_CONSTANT("INT_CURR_SYMBOL", INT_CURR_SYMBOL, CONST_PERSISTENT);
3917 #endif
3918 #if defined(HAVE_NL_LANGINFO) && defined(CURRENCY_SYMBOL)
3919 REGISTER_LONG_CONSTANT("CURRENCY_SYMBOL", CURRENCY_SYMBOL, CONST_PERSISTENT);
3920 #endif
3921 #if defined(HAVE_NL_LANGINFO) && defined(CRNCYSTR)
3922 REGISTER_LONG_CONSTANT("CRNCYSTR", CRNCYSTR, CONST_PERSISTENT);
3923 #endif
3924 #if defined(HAVE_NL_LANGINFO) && defined(MON_DECIMAL_POINT)
3925 REGISTER_LONG_CONSTANT("MON_DECIMAL_POINT", MON_DECIMAL_POINT, CONST_PERSISTENT);
3926 #endif
3927 #if defined(HAVE_NL_LANGINFO) && defined(MON_THOUSANDS_SEP)
3928 REGISTER_LONG_CONSTANT("MON_THOUSANDS_SEP", MON_THOUSANDS_SEP, CONST_PERSISTENT);
3929 #endif
3930 #if defined(HAVE_NL_LANGINFO) && defined(MON_GROUPING)
3931 REGISTER_LONG_CONSTANT("MON_GROUPING", MON_GROUPING, CONST_PERSISTENT);
3932 #endif
3933 #if defined(HAVE_NL_LANGINFO) && defined(POSITIVE_SIGN)
3934 REGISTER_LONG_CONSTANT("POSITIVE_SIGN", POSITIVE_SIGN, CONST_PERSISTENT);
3935 #endif
3936 #if defined(HAVE_NL_LANGINFO) && defined(NEGATIVE_SIGN)
3937 REGISTER_LONG_CONSTANT("NEGATIVE_SIGN", NEGATIVE_SIGN, CONST_PERSISTENT);
3938 #endif
3939 #if defined(HAVE_NL_LANGINFO) && defined(INT_FRAC_DIGITS)
3940 REGISTER_LONG_CONSTANT("INT_FRAC_DIGITS", INT_FRAC_DIGITS, CONST_PERSISTENT);
3941 #endif
3942 #if defined(HAVE_NL_LANGINFO) && defined(FRAC_DIGITS)
3943 REGISTER_LONG_CONSTANT("FRAC_DIGITS", FRAC_DIGITS, CONST_PERSISTENT);
3944 #endif
3945 #if defined(HAVE_NL_LANGINFO) && defined(P_CS_PRECEDES)
3946 REGISTER_LONG_CONSTANT("P_CS_PRECEDES", P_CS_PRECEDES, CONST_PERSISTENT);
3947 #endif
3948 #if defined(HAVE_NL_LANGINFO) && defined(P_SEP_BY_SPACE)
3949 REGISTER_LONG_CONSTANT("P_SEP_BY_SPACE", P_SEP_BY_SPACE, CONST_PERSISTENT);
3950 #endif
3951 #if defined(HAVE_NL_LANGINFO) && defined(N_CS_PRECEDES)
3952 REGISTER_LONG_CONSTANT("N_CS_PRECEDES", N_CS_PRECEDES, CONST_PERSISTENT);
3953 #endif
3954 #if defined(HAVE_NL_LANGINFO) && defined(N_SEP_BY_SPACE)
3955 REGISTER_LONG_CONSTANT("N_SEP_BY_SPACE", N_SEP_BY_SPACE, CONST_PERSISTENT);
3956 #endif
3957 #if defined(HAVE_NL_LANGINFO) && defined(P_SIGN_POSN)
3958 REGISTER_LONG_CONSTANT("P_SIGN_POSN", P_SIGN_POSN, CONST_PERSISTENT);
3959 #endif
3960 #if defined(HAVE_NL_LANGINFO) && defined(N_SIGN_POSN)
3961 REGISTER_LONG_CONSTANT("N_SIGN_POSN", N_SIGN_POSN, CONST_PERSISTENT);
3962 #endif
3963 #if defined(HAVE_NL_LANGINFO) && defined(DECIMAL_POINT)
3964 REGISTER_LONG_CONSTANT("DECIMAL_POINT", DECIMAL_POINT, CONST_PERSISTENT);
3965 #endif
3966 #if defined(HAVE_NL_LANGINFO) && defined(RADIXCHAR)
3967 REGISTER_LONG_CONSTANT("RADIXCHAR", RADIXCHAR, CONST_PERSISTENT);
3968 #endif
3969 #if defined(HAVE_NL_LANGINFO) && defined(THOUSANDS_SEP)
3970 REGISTER_LONG_CONSTANT("THOUSANDS_SEP", THOUSANDS_SEP, CONST_PERSISTENT);
3971 #endif
3972 #if defined(HAVE_NL_LANGINFO) && defined(THOUSEP)
3973 REGISTER_LONG_CONSTANT("THOUSEP", THOUSEP, CONST_PERSISTENT);
3974 #endif
3975 #if defined(HAVE_NL_LANGINFO) && defined(GROUPING)
3976 REGISTER_LONG_CONSTANT("GROUPING", GROUPING, CONST_PERSISTENT);
3977 #endif
3978 #if defined(HAVE_NL_LANGINFO) && defined(YESEXPR)
3979 REGISTER_LONG_CONSTANT("YESEXPR", YESEXPR, CONST_PERSISTENT);
3980 #endif
3981 #if defined(HAVE_NL_LANGINFO) && defined(NOEXPR)
3982 REGISTER_LONG_CONSTANT("NOEXPR", NOEXPR, CONST_PERSISTENT);
3983 #endif
3984 #if defined(HAVE_NL_LANGINFO) && defined(YESSTR)
3985 REGISTER_LONG_CONSTANT("YESSTR", YESSTR, CONST_PERSISTENT);
3986 #endif
3987 #if defined(HAVE_NL_LANGINFO) && defined(NOSTR)
3988 REGISTER_LONG_CONSTANT("NOSTR", NOSTR, CONST_PERSISTENT);
3989 #endif
3990 #if defined(HAVE_NL_LANGINFO) && defined(CODESET)
3991 REGISTER_LONG_CONSTANT("CODESET", CODESET, CONST_PERSISTENT);
3992 #endif
3993
3994
3995 zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "crypt", sizeof("crypt") - 1), 0, ZSTR_KNOWN(ZEND_STR_SENSITIVEPARAMETER), 0);
3996 #if defined(HAVE_STRPTIME)
3997
3998 zend_attribute *attribute_Deprecated_func_strptime_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "strptime", sizeof("strptime") - 1), ZSTR_KNOWN(ZEND_STR_DEPRECATED_CAPITALIZED), 2);
3999 zval attribute_Deprecated_func_strptime_0_arg0;
4000 zend_string *attribute_Deprecated_func_strptime_0_arg0_str = zend_string_init("8.2", strlen("8.2"), 1);
4001 ZVAL_STR(&attribute_Deprecated_func_strptime_0_arg0, attribute_Deprecated_func_strptime_0_arg0_str);
4002 ZVAL_COPY_VALUE(&attribute_Deprecated_func_strptime_0->args[0].value, &attribute_Deprecated_func_strptime_0_arg0);
4003 attribute_Deprecated_func_strptime_0->args[0].name = ZSTR_KNOWN(ZEND_STR_SINCE);
4004 zval attribute_Deprecated_func_strptime_0_arg1;
4005 zend_string *attribute_Deprecated_func_strptime_0_arg1_str = zend_string_init("use date_parse_from_format() (for locale-independent parsing), or IntlDateFormatter::parse() (for locale-dependent parsing) instead", strlen("use date_parse_from_format() (for locale-independent parsing), or IntlDateFormatter::parse() (for locale-dependent parsing) instead"), 1);
4006 ZVAL_STR(&attribute_Deprecated_func_strptime_0_arg1, attribute_Deprecated_func_strptime_0_arg1_str);
4007 ZVAL_COPY_VALUE(&attribute_Deprecated_func_strptime_0->args[1].value, &attribute_Deprecated_func_strptime_0_arg1);
4008 attribute_Deprecated_func_strptime_0->args[1].name = ZSTR_KNOWN(ZEND_STR_MESSAGE);
4009 #endif
4010
4011 zend_attribute *attribute_Deprecated_func_assert_options_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "assert_options", sizeof("assert_options") - 1), ZSTR_KNOWN(ZEND_STR_DEPRECATED_CAPITALIZED), 1);
4012 zval attribute_Deprecated_func_assert_options_0_arg0;
4013 zend_string *attribute_Deprecated_func_assert_options_0_arg0_str = zend_string_init("8.3", strlen("8.3"), 1);
4014 ZVAL_STR(&attribute_Deprecated_func_assert_options_0_arg0, attribute_Deprecated_func_assert_options_0_arg0_str);
4015 ZVAL_COPY_VALUE(&attribute_Deprecated_func_assert_options_0->args[0].value, &attribute_Deprecated_func_assert_options_0_arg0);
4016 attribute_Deprecated_func_assert_options_0->args[0].name = ZSTR_KNOWN(ZEND_STR_SINCE);
4017
4018 zend_attribute *attribute_Deprecated_func_utf8_encode_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "utf8_encode", sizeof("utf8_encode") - 1), ZSTR_KNOWN(ZEND_STR_DEPRECATED_CAPITALIZED), 2);
4019 zval attribute_Deprecated_func_utf8_encode_0_arg0;
4020 zend_string *attribute_Deprecated_func_utf8_encode_0_arg0_str = zend_string_init("8.2", strlen("8.2"), 1);
4021 ZVAL_STR(&attribute_Deprecated_func_utf8_encode_0_arg0, attribute_Deprecated_func_utf8_encode_0_arg0_str);
4022 ZVAL_COPY_VALUE(&attribute_Deprecated_func_utf8_encode_0->args[0].value, &attribute_Deprecated_func_utf8_encode_0_arg0);
4023 attribute_Deprecated_func_utf8_encode_0->args[0].name = ZSTR_KNOWN(ZEND_STR_SINCE);
4024 zval attribute_Deprecated_func_utf8_encode_0_arg1;
4025 zend_string *attribute_Deprecated_func_utf8_encode_0_arg1_str = zend_string_init("visit the php.net documentation for various alternatives", strlen("visit the php.net documentation for various alternatives"), 1);
4026 ZVAL_STR(&attribute_Deprecated_func_utf8_encode_0_arg1, attribute_Deprecated_func_utf8_encode_0_arg1_str);
4027 ZVAL_COPY_VALUE(&attribute_Deprecated_func_utf8_encode_0->args[1].value, &attribute_Deprecated_func_utf8_encode_0_arg1);
4028 attribute_Deprecated_func_utf8_encode_0->args[1].name = ZSTR_KNOWN(ZEND_STR_MESSAGE);
4029
4030 zend_attribute *attribute_Deprecated_func_utf8_decode_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "utf8_decode", sizeof("utf8_decode") - 1), ZSTR_KNOWN(ZEND_STR_DEPRECATED_CAPITALIZED), 2);
4031 zval attribute_Deprecated_func_utf8_decode_0_arg0;
4032 zend_string *attribute_Deprecated_func_utf8_decode_0_arg0_str = zend_string_init("8.2", strlen("8.2"), 1);
4033 ZVAL_STR(&attribute_Deprecated_func_utf8_decode_0_arg0, attribute_Deprecated_func_utf8_decode_0_arg0_str);
4034 ZVAL_COPY_VALUE(&attribute_Deprecated_func_utf8_decode_0->args[0].value, &attribute_Deprecated_func_utf8_decode_0_arg0);
4035 attribute_Deprecated_func_utf8_decode_0->args[0].name = ZSTR_KNOWN(ZEND_STR_SINCE);
4036 zval attribute_Deprecated_func_utf8_decode_0_arg1;
4037 zend_string *attribute_Deprecated_func_utf8_decode_0_arg1_str = zend_string_init("visit the php.net documentation for various alternatives", strlen("visit the php.net documentation for various alternatives"), 1);
4038 ZVAL_STR(&attribute_Deprecated_func_utf8_decode_0_arg1, attribute_Deprecated_func_utf8_decode_0_arg1_str);
4039 ZVAL_COPY_VALUE(&attribute_Deprecated_func_utf8_decode_0->args[1].value, &attribute_Deprecated_func_utf8_decode_0_arg1);
4040 attribute_Deprecated_func_utf8_decode_0->args[1].name = ZSTR_KNOWN(ZEND_STR_MESSAGE);
4041
4042 zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "password_hash", sizeof("password_hash") - 1), 0, ZSTR_KNOWN(ZEND_STR_SENSITIVEPARAMETER), 0);
4043
4044 zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "password_verify", sizeof("password_verify") - 1), 0, ZSTR_KNOWN(ZEND_STR_SENSITIVEPARAMETER), 0);
4045 }
4046
register_class___PHP_Incomplete_Class(void)4047 static zend_class_entry *register_class___PHP_Incomplete_Class(void)
4048 {
4049 zend_class_entry ce, *class_entry;
4050
4051 INIT_CLASS_ENTRY(ce, "__PHP_Incomplete_Class", NULL);
4052 class_entry = zend_register_internal_class_with_flags(&ce, NULL, ZEND_ACC_FINAL|ZEND_ACC_ALLOW_DYNAMIC_PROPERTIES);
4053
4054 zend_string *attribute_name_AllowDynamicProperties_class___PHP_Incomplete_Class_0 = zend_string_init_interned("AllowDynamicProperties", sizeof("AllowDynamicProperties") - 1, 1);
4055 zend_add_class_attribute(class_entry, attribute_name_AllowDynamicProperties_class___PHP_Incomplete_Class_0, 0);
4056 zend_string_release(attribute_name_AllowDynamicProperties_class___PHP_Incomplete_Class_0);
4057
4058 return class_entry;
4059 }
4060
register_class_AssertionError(zend_class_entry * class_entry_Error)4061 static zend_class_entry *register_class_AssertionError(zend_class_entry *class_entry_Error)
4062 {
4063 zend_class_entry ce, *class_entry;
4064
4065 INIT_CLASS_ENTRY(ce, "AssertionError", NULL);
4066 class_entry = zend_register_internal_class_with_flags(&ce, class_entry_Error, 0);
4067
4068 return class_entry;
4069 }
4070
register_class_RoundingMode(void)4071 static zend_class_entry *register_class_RoundingMode(void)
4072 {
4073 zend_class_entry *class_entry = zend_register_internal_enum("RoundingMode", IS_UNDEF, NULL);
4074
4075 zend_enum_add_case_cstr(class_entry, "HalfAwayFromZero", NULL);
4076
4077 zend_enum_add_case_cstr(class_entry, "HalfTowardsZero", NULL);
4078
4079 zend_enum_add_case_cstr(class_entry, "HalfEven", NULL);
4080
4081 zend_enum_add_case_cstr(class_entry, "HalfOdd", NULL);
4082
4083 zend_enum_add_case_cstr(class_entry, "TowardsZero", NULL);
4084
4085 zend_enum_add_case_cstr(class_entry, "AwayFromZero", NULL);
4086
4087 zend_enum_add_case_cstr(class_entry, "NegativeInfinity", NULL);
4088
4089 zend_enum_add_case_cstr(class_entry, "PositiveInfinity", NULL);
4090
4091 return class_entry;
4092 }
4093