xref: /PHP-8.0/ext/mysqli/mysqli_arginfo.h (revision ceb0951f)
1 /* This is a generated file, edit the .stub.php file instead.
2  * Stub hash: 04fabe8f7b61ccf36e8ed383396bd4b56e11dd25 */
3 
4 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_mysqli_affected_rows, 0, 1, MAY_BE_LONG|MAY_BE_STRING)
5 	ZEND_ARG_OBJ_INFO(0, mysql, mysqli, 0)
6 ZEND_END_ARG_INFO()
7 
8 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_mysqli_autocommit, 0, 2, _IS_BOOL, 0)
9 	ZEND_ARG_OBJ_INFO(0, mysql, mysqli, 0)
10 	ZEND_ARG_TYPE_INFO(0, enable, _IS_BOOL, 0)
11 ZEND_END_ARG_INFO()
12 
13 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_mysqli_begin_transaction, 0, 1, _IS_BOOL, 0)
14 	ZEND_ARG_OBJ_INFO(0, mysql, mysqli, 0)
15 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flags, IS_LONG, 0, "0")
16 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, name, IS_STRING, 1, "null")
17 ZEND_END_ARG_INFO()
18 
19 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_mysqli_change_user, 0, 4, _IS_BOOL, 0)
20 	ZEND_ARG_OBJ_INFO(0, mysql, mysqli, 0)
21 	ZEND_ARG_TYPE_INFO(0, username, IS_STRING, 0)
22 	ZEND_ARG_TYPE_INFO(0, password, IS_STRING, 0)
23 	ZEND_ARG_TYPE_INFO(0, database, IS_STRING, 1)
24 ZEND_END_ARG_INFO()
25 
26 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_mysqli_character_set_name, 0, 1, IS_STRING, 0)
27 	ZEND_ARG_OBJ_INFO(0, mysql, mysqli, 0)
28 ZEND_END_ARG_INFO()
29 
30 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_mysqli_close, 0, 1, _IS_BOOL, 0)
31 	ZEND_ARG_OBJ_INFO(0, mysql, mysqli, 0)
32 ZEND_END_ARG_INFO()
33 
34 #define arginfo_mysqli_commit arginfo_mysqli_begin_transaction
35 
36 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_mysqli_connect, 0, 0, mysqli, MAY_BE_FALSE)
37 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, hostname, IS_STRING, 1, "null")
38 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, username, IS_STRING, 1, "null")
39 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, password, IS_STRING, 1, "null")
40 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, database, IS_STRING, 1, "null")
41 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, port, IS_LONG, 1, "null")
42 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, socket, IS_STRING, 1, "null")
43 ZEND_END_ARG_INFO()
44 
45 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_mysqli_connect_errno, 0, 0, IS_LONG, 0)
46 ZEND_END_ARG_INFO()
47 
48 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_mysqli_connect_error, 0, 0, IS_STRING, 1)
49 ZEND_END_ARG_INFO()
50 
51 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_mysqli_data_seek, 0, 2, _IS_BOOL, 0)
52 	ZEND_ARG_OBJ_INFO(0, result, mysqli_result, 0)
53 	ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0)
54 ZEND_END_ARG_INFO()
55 
56 #define arginfo_mysqli_dump_debug_info arginfo_mysqli_close
57 
58 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_mysqli_debug, 0, 1, _IS_BOOL, 0)
59 	ZEND_ARG_TYPE_INFO(0, options, IS_STRING, 0)
60 ZEND_END_ARG_INFO()
61 
62 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_mysqli_errno, 0, 1, IS_LONG, 0)
63 	ZEND_ARG_OBJ_INFO(0, mysql, mysqli, 0)
64 ZEND_END_ARG_INFO()
65 
66 #define arginfo_mysqli_error arginfo_mysqli_character_set_name
67 
68 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_mysqli_error_list, 0, 1, IS_ARRAY, 0)
69 	ZEND_ARG_OBJ_INFO(0, mysql, mysqli, 0)
70 ZEND_END_ARG_INFO()
71 
72 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_mysqli_stmt_execute, 0, 1, _IS_BOOL, 0)
73 	ZEND_ARG_OBJ_INFO(0, statement, mysqli_stmt, 0)
74 ZEND_END_ARG_INFO()
75 
76 #define arginfo_mysqli_execute arginfo_mysqli_stmt_execute
77 
78 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_mysqli_fetch_field, 0, 1, MAY_BE_OBJECT|MAY_BE_FALSE)
79 	ZEND_ARG_OBJ_INFO(0, result, mysqli_result, 0)
80 ZEND_END_ARG_INFO()
81 
82 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_mysqli_fetch_fields, 0, 1, IS_ARRAY, 0)
83 	ZEND_ARG_OBJ_INFO(0, result, mysqli_result, 0)
84 ZEND_END_ARG_INFO()
85 
86 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_mysqli_fetch_field_direct, 0, 2, MAY_BE_OBJECT|MAY_BE_FALSE)
87 	ZEND_ARG_OBJ_INFO(0, result, mysqli_result, 0)
88 	ZEND_ARG_TYPE_INFO(0, index, IS_LONG, 0)
89 ZEND_END_ARG_INFO()
90 
91 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_mysqli_fetch_lengths, 0, 1, MAY_BE_ARRAY|MAY_BE_FALSE)
92 	ZEND_ARG_OBJ_INFO(0, result, mysqli_result, 0)
93 ZEND_END_ARG_INFO()
94 
95 #if defined(MYSQLI_USE_MYSQLND)
96 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_mysqli_fetch_all, 0, 1, IS_ARRAY, 0)
97 	ZEND_ARG_OBJ_INFO(0, result, mysqli_result, 0)
98 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, mode, IS_LONG, 0, "MYSQLI_NUM")
99 ZEND_END_ARG_INFO()
100 #endif
101 
102 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_mysqli_fetch_array, 0, 1, MAY_BE_ARRAY|MAY_BE_NULL|MAY_BE_FALSE)
103 	ZEND_ARG_OBJ_INFO(0, result, mysqli_result, 0)
104 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, mode, IS_LONG, 0, "MYSQLI_BOTH")
105 ZEND_END_ARG_INFO()
106 
107 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_mysqli_fetch_assoc, 0, 1, MAY_BE_ARRAY|MAY_BE_NULL|MAY_BE_FALSE)
108 	ZEND_ARG_OBJ_INFO(0, result, mysqli_result, 0)
109 ZEND_END_ARG_INFO()
110 
111 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_mysqli_fetch_object, 0, 1, MAY_BE_OBJECT|MAY_BE_NULL|MAY_BE_FALSE)
112 	ZEND_ARG_OBJ_INFO(0, result, mysqli_result, 0)
113 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, class, IS_STRING, 0, "\"stdClass\"")
114 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, constructor_args, IS_ARRAY, 0, "[]")
115 ZEND_END_ARG_INFO()
116 
117 #define arginfo_mysqli_fetch_row arginfo_mysqli_fetch_assoc
118 
119 #define arginfo_mysqli_field_count arginfo_mysqli_errno
120 
121 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_mysqli_field_seek, 0, 2, _IS_BOOL, 0)
122 	ZEND_ARG_OBJ_INFO(0, result, mysqli_result, 0)
123 	ZEND_ARG_TYPE_INFO(0, index, IS_LONG, 0)
124 ZEND_END_ARG_INFO()
125 
126 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_mysqli_field_tell, 0, 1, IS_LONG, 0)
127 	ZEND_ARG_OBJ_INFO(0, result, mysqli_result, 0)
128 ZEND_END_ARG_INFO()
129 
130 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_mysqli_free_result, 0, 1, IS_VOID, 0)
131 	ZEND_ARG_OBJ_INFO(0, result, mysqli_result, 0)
132 ZEND_END_ARG_INFO()
133 
134 #if defined(MYSQLI_USE_MYSQLND)
135 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_mysqli_get_connection_stats, 0, 1, IS_ARRAY, 0)
136 	ZEND_ARG_OBJ_INFO(0, mysql, mysqli, 0)
137 ZEND_END_ARG_INFO()
138 #endif
139 
140 #if defined(MYSQLI_USE_MYSQLND)
141 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_mysqli_get_client_stats, 0, 0, IS_ARRAY, 0)
142 ZEND_END_ARG_INFO()
143 #endif
144 
145 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_mysqli_get_charset, 0, 1, IS_OBJECT, 1)
146 	ZEND_ARG_OBJ_INFO(0, mysql, mysqli, 0)
147 ZEND_END_ARG_INFO()
148 
149 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_mysqli_get_client_info, 0, 0, IS_STRING, 0)
150 	ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, mysql, mysqli, 1, "null")
151 ZEND_END_ARG_INFO()
152 
153 #define arginfo_mysqli_get_client_version arginfo_mysqli_connect_errno
154 
155 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_mysqli_get_links_stats, 0, 0, IS_ARRAY, 0)
156 ZEND_END_ARG_INFO()
157 
158 #define arginfo_mysqli_get_host_info arginfo_mysqli_character_set_name
159 
160 #define arginfo_mysqli_get_proto_info arginfo_mysqli_errno
161 
162 #define arginfo_mysqli_get_server_info arginfo_mysqli_character_set_name
163 
164 #define arginfo_mysqli_get_server_version arginfo_mysqli_errno
165 
166 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_mysqli_get_warnings, 0, 1, mysqli_warning, MAY_BE_FALSE)
167 	ZEND_ARG_OBJ_INFO(0, mysql, mysqli, 0)
168 ZEND_END_ARG_INFO()
169 
170 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_mysqli_init, 0, 0, mysqli, MAY_BE_FALSE)
171 ZEND_END_ARG_INFO()
172 
173 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_mysqli_info, 0, 1, IS_STRING, 1)
174 	ZEND_ARG_OBJ_INFO(0, mysql, mysqli, 0)
175 ZEND_END_ARG_INFO()
176 
177 #define arginfo_mysqli_insert_id arginfo_mysqli_affected_rows
178 
179 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_mysqli_kill, 0, 2, _IS_BOOL, 0)
180 	ZEND_ARG_OBJ_INFO(0, mysql, mysqli, 0)
181 	ZEND_ARG_TYPE_INFO(0, process_id, IS_LONG, 0)
182 ZEND_END_ARG_INFO()
183 
184 #define arginfo_mysqli_more_results arginfo_mysqli_close
185 
186 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_mysqli_multi_query, 0, 2, _IS_BOOL, 0)
187 	ZEND_ARG_OBJ_INFO(0, mysql, mysqli, 0)
188 	ZEND_ARG_TYPE_INFO(0, query, IS_STRING, 0)
189 ZEND_END_ARG_INFO()
190 
191 #define arginfo_mysqli_next_result arginfo_mysqli_close
192 
193 #define arginfo_mysqli_num_fields arginfo_mysqli_field_tell
194 
195 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_mysqli_num_rows, 0, 1, MAY_BE_LONG|MAY_BE_STRING)
196 	ZEND_ARG_OBJ_INFO(0, result, mysqli_result, 0)
197 ZEND_END_ARG_INFO()
198 
199 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_mysqli_options, 0, 3, _IS_BOOL, 0)
200 	ZEND_ARG_OBJ_INFO(0, mysql, mysqli, 0)
201 	ZEND_ARG_TYPE_INFO(0, option, IS_LONG, 0)
202 	ZEND_ARG_INFO(0, value)
203 ZEND_END_ARG_INFO()
204 
205 #define arginfo_mysqli_set_opt arginfo_mysqli_options
206 
207 #define arginfo_mysqli_ping arginfo_mysqli_close
208 
209 #if defined(MYSQLI_USE_MYSQLND)
210 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_mysqli_poll, 0, 4, MAY_BE_LONG|MAY_BE_FALSE)
211 	ZEND_ARG_TYPE_INFO(1, read, IS_ARRAY, 1)
212 	ZEND_ARG_TYPE_INFO(1, error, IS_ARRAY, 1)
213 	ZEND_ARG_TYPE_INFO(1, reject, IS_ARRAY, 0)
214 	ZEND_ARG_TYPE_INFO(0, seconds, IS_LONG, 0)
215 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, microseconds, IS_LONG, 0, "0")
216 ZEND_END_ARG_INFO()
217 #endif
218 
219 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_mysqli_prepare, 0, 2, mysqli_stmt, MAY_BE_FALSE)
220 	ZEND_ARG_OBJ_INFO(0, mysql, mysqli, 0)
221 	ZEND_ARG_TYPE_INFO(0, query, IS_STRING, 0)
222 ZEND_END_ARG_INFO()
223 
224 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_mysqli_report, 0, 1, _IS_BOOL, 0)
225 	ZEND_ARG_TYPE_INFO(0, flags, IS_LONG, 0)
226 ZEND_END_ARG_INFO()
227 
228 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_mysqli_query, 0, 2, mysqli_result, MAY_BE_BOOL)
229 	ZEND_ARG_OBJ_INFO(0, mysql, mysqli, 0)
230 	ZEND_ARG_TYPE_INFO(0, query, IS_STRING, 0)
231 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, result_mode, IS_LONG, 0, "MYSQLI_STORE_RESULT")
232 ZEND_END_ARG_INFO()
233 
234 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_mysqli_real_connect, 0, 1, _IS_BOOL, 0)
235 	ZEND_ARG_OBJ_INFO(0, mysql, mysqli, 0)
236 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, hostname, IS_STRING, 1, "null")
237 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, username, IS_STRING, 1, "null")
238 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, password, IS_STRING, 1, "null")
239 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, database, IS_STRING, 1, "null")
240 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, port, IS_LONG, 1, "null")
241 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, socket, IS_STRING, 1, "null")
242 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flags, IS_LONG, 0, "0")
243 ZEND_END_ARG_INFO()
244 
245 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_mysqli_real_escape_string, 0, 2, IS_STRING, 0)
246 	ZEND_ARG_OBJ_INFO(0, mysql, mysqli, 0)
247 	ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
248 ZEND_END_ARG_INFO()
249 
250 #define arginfo_mysqli_escape_string arginfo_mysqli_real_escape_string
251 
252 #define arginfo_mysqli_real_query arginfo_mysqli_multi_query
253 
254 #if defined(MYSQLI_USE_MYSQLND)
255 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_mysqli_reap_async_query, 0, 1, mysqli_result, MAY_BE_BOOL)
256 	ZEND_ARG_OBJ_INFO(0, mysql, mysqli, 0)
257 ZEND_END_ARG_INFO()
258 #endif
259 
260 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_mysqli_release_savepoint, 0, 2, _IS_BOOL, 0)
261 	ZEND_ARG_OBJ_INFO(0, mysql, mysqli, 0)
262 	ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
263 ZEND_END_ARG_INFO()
264 
265 #define arginfo_mysqli_rollback arginfo_mysqli_begin_transaction
266 
267 #define arginfo_mysqli_savepoint arginfo_mysqli_release_savepoint
268 
269 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_mysqli_select_db, 0, 2, _IS_BOOL, 0)
270 	ZEND_ARG_OBJ_INFO(0, mysql, mysqli, 0)
271 	ZEND_ARG_TYPE_INFO(0, database, IS_STRING, 0)
272 ZEND_END_ARG_INFO()
273 
274 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_mysqli_set_charset, 0, 2, _IS_BOOL, 0)
275 	ZEND_ARG_OBJ_INFO(0, mysql, mysqli, 0)
276 	ZEND_ARG_TYPE_INFO(0, charset, IS_STRING, 0)
277 ZEND_END_ARG_INFO()
278 
279 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_mysqli_stmt_affected_rows, 0, 1, MAY_BE_LONG|MAY_BE_STRING)
280 	ZEND_ARG_OBJ_INFO(0, statement, mysqli_stmt, 0)
281 ZEND_END_ARG_INFO()
282 
283 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_mysqli_stmt_attr_get, 0, 2, IS_LONG, 0)
284 	ZEND_ARG_OBJ_INFO(0, statement, mysqli_stmt, 0)
285 	ZEND_ARG_TYPE_INFO(0, attribute, IS_LONG, 0)
286 ZEND_END_ARG_INFO()
287 
288 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_mysqli_stmt_attr_set, 0, 3, _IS_BOOL, 0)
289 	ZEND_ARG_OBJ_INFO(0, statement, mysqli_stmt, 0)
290 	ZEND_ARG_TYPE_INFO(0, attribute, IS_LONG, 0)
291 	ZEND_ARG_TYPE_INFO(0, value, IS_LONG, 0)
292 ZEND_END_ARG_INFO()
293 
294 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_mysqli_stmt_bind_param, 0, 2, _IS_BOOL, 0)
295 	ZEND_ARG_OBJ_INFO(0, statement, mysqli_stmt, 0)
296 	ZEND_ARG_TYPE_INFO(0, types, IS_STRING, 0)
297 	ZEND_ARG_VARIADIC_TYPE_INFO(1, vars, IS_MIXED, 0)
298 ZEND_END_ARG_INFO()
299 
300 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_mysqli_stmt_bind_result, 0, 1, _IS_BOOL, 0)
301 	ZEND_ARG_OBJ_INFO(0, statement, mysqli_stmt, 0)
302 	ZEND_ARG_VARIADIC_TYPE_INFO(1, vars, IS_MIXED, 0)
303 ZEND_END_ARG_INFO()
304 
305 #define arginfo_mysqli_stmt_close arginfo_mysqli_stmt_execute
306 
307 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_mysqli_stmt_data_seek, 0, 2, IS_VOID, 0)
308 	ZEND_ARG_OBJ_INFO(0, statement, mysqli_stmt, 0)
309 	ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0)
310 ZEND_END_ARG_INFO()
311 
312 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_mysqli_stmt_errno, 0, 1, IS_LONG, 0)
313 	ZEND_ARG_OBJ_INFO(0, statement, mysqli_stmt, 0)
314 ZEND_END_ARG_INFO()
315 
316 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_mysqli_stmt_error, 0, 1, IS_STRING, 0)
317 	ZEND_ARG_OBJ_INFO(0, statement, mysqli_stmt, 0)
318 ZEND_END_ARG_INFO()
319 
320 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_mysqli_stmt_error_list, 0, 1, IS_ARRAY, 0)
321 	ZEND_ARG_OBJ_INFO(0, statement, mysqli_stmt, 0)
322 ZEND_END_ARG_INFO()
323 
324 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_mysqli_stmt_fetch, 0, 1, _IS_BOOL, 1)
325 	ZEND_ARG_OBJ_INFO(0, statement, mysqli_stmt, 0)
326 ZEND_END_ARG_INFO()
327 
328 #define arginfo_mysqli_stmt_field_count arginfo_mysqli_stmt_errno
329 
330 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_mysqli_stmt_free_result, 0, 1, IS_VOID, 0)
331 	ZEND_ARG_OBJ_INFO(0, statement, mysqli_stmt, 0)
332 ZEND_END_ARG_INFO()
333 
334 #if defined(MYSQLI_USE_MYSQLND)
335 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_mysqli_stmt_get_result, 0, 1, mysqli_result, MAY_BE_FALSE)
336 	ZEND_ARG_OBJ_INFO(0, statement, mysqli_stmt, 0)
337 ZEND_END_ARG_INFO()
338 #endif
339 
340 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_mysqli_stmt_get_warnings, 0, 1, mysqli_warning, MAY_BE_FALSE)
341 	ZEND_ARG_OBJ_INFO(0, statement, mysqli_stmt, 0)
342 ZEND_END_ARG_INFO()
343 
344 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_mysqli_stmt_init, 0, 1, mysqli_stmt, MAY_BE_FALSE)
345 	ZEND_ARG_OBJ_INFO(0, mysql, mysqli, 0)
346 ZEND_END_ARG_INFO()
347 
348 #define arginfo_mysqli_stmt_insert_id arginfo_mysqli_stmt_affected_rows
349 
350 #if defined(MYSQLI_USE_MYSQLND)
351 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_mysqli_stmt_more_results, 0, 1, _IS_BOOL, 0)
352 	ZEND_ARG_OBJ_INFO(0, statement, mysqli_stmt, 0)
353 ZEND_END_ARG_INFO()
354 #endif
355 
356 #if defined(MYSQLI_USE_MYSQLND)
357 #define arginfo_mysqli_stmt_next_result arginfo_mysqli_stmt_more_results
358 #endif
359 
360 #define arginfo_mysqli_stmt_num_rows arginfo_mysqli_stmt_affected_rows
361 
362 #define arginfo_mysqli_stmt_param_count arginfo_mysqli_stmt_errno
363 
364 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_mysqli_stmt_prepare, 0, 2, _IS_BOOL, 0)
365 	ZEND_ARG_OBJ_INFO(0, statement, mysqli_stmt, 0)
366 	ZEND_ARG_TYPE_INFO(0, query, IS_STRING, 0)
367 ZEND_END_ARG_INFO()
368 
369 #define arginfo_mysqli_stmt_reset arginfo_mysqli_stmt_execute
370 
371 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_mysqli_stmt_result_metadata, 0, 1, mysqli_result, MAY_BE_FALSE)
372 	ZEND_ARG_OBJ_INFO(0, statement, mysqli_stmt, 0)
373 ZEND_END_ARG_INFO()
374 
375 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_mysqli_stmt_send_long_data, 0, 3, _IS_BOOL, 0)
376 	ZEND_ARG_OBJ_INFO(0, statement, mysqli_stmt, 0)
377 	ZEND_ARG_TYPE_INFO(0, param_num, IS_LONG, 0)
378 	ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0)
379 ZEND_END_ARG_INFO()
380 
381 #define arginfo_mysqli_stmt_store_result arginfo_mysqli_stmt_execute
382 
383 #define arginfo_mysqli_stmt_sqlstate arginfo_mysqli_stmt_error
384 
385 #define arginfo_mysqli_sqlstate arginfo_mysqli_character_set_name
386 
387 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_mysqli_ssl_set, 0, 6, _IS_BOOL, 0)
388 	ZEND_ARG_OBJ_INFO(0, mysql, mysqli, 0)
389 	ZEND_ARG_TYPE_INFO(0, key, IS_STRING, 1)
390 	ZEND_ARG_TYPE_INFO(0, certificate, IS_STRING, 1)
391 	ZEND_ARG_TYPE_INFO(0, ca_certificate, IS_STRING, 1)
392 	ZEND_ARG_TYPE_INFO(0, ca_path, IS_STRING, 1)
393 	ZEND_ARG_TYPE_INFO(0, cipher_algos, IS_STRING, 1)
394 ZEND_END_ARG_INFO()
395 
396 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_mysqli_stat, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
397 	ZEND_ARG_OBJ_INFO(0, mysql, mysqli, 0)
398 ZEND_END_ARG_INFO()
399 
400 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_mysqli_store_result, 0, 1, mysqli_result, MAY_BE_FALSE)
401 	ZEND_ARG_OBJ_INFO(0, mysql, mysqli, 0)
402 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, mode, IS_LONG, 0, "0")
403 ZEND_END_ARG_INFO()
404 
405 #define arginfo_mysqli_thread_id arginfo_mysqli_errno
406 
407 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_mysqli_thread_safe, 0, 0, _IS_BOOL, 0)
408 ZEND_END_ARG_INFO()
409 
410 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_mysqli_use_result, 0, 1, mysqli_result, MAY_BE_FALSE)
411 	ZEND_ARG_OBJ_INFO(0, mysql, mysqli, 0)
412 ZEND_END_ARG_INFO()
413 
414 #define arginfo_mysqli_warning_count arginfo_mysqli_errno
415 
416 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_mysqli_refresh, 0, 2, _IS_BOOL, 0)
417 	ZEND_ARG_OBJ_INFO(0, mysql, mysqli, 0)
418 	ZEND_ARG_TYPE_INFO(0, flags, IS_LONG, 0)
419 ZEND_END_ARG_INFO()
420 
421 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_mysqli___construct, 0, 0, 0)
422 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, hostname, IS_STRING, 1, "null")
423 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, username, IS_STRING, 1, "null")
424 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, password, IS_STRING, 1, "null")
425 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, database, IS_STRING, 1, "null")
426 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, port, IS_LONG, 1, "null")
427 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, socket, IS_STRING, 1, "null")
428 ZEND_END_ARG_INFO()
429 
430 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_mysqli_autocommit, 0, 0, 1)
431 	ZEND_ARG_TYPE_INFO(0, enable, _IS_BOOL, 0)
432 ZEND_END_ARG_INFO()
433 
434 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_mysqli_begin_transaction, 0, 0, 0)
435 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flags, IS_LONG, 0, "0")
436 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, name, IS_STRING, 1, "null")
437 ZEND_END_ARG_INFO()
438 
439 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_mysqli_change_user, 0, 0, 3)
440 	ZEND_ARG_TYPE_INFO(0, username, IS_STRING, 0)
441 	ZEND_ARG_TYPE_INFO(0, password, IS_STRING, 0)
442 	ZEND_ARG_TYPE_INFO(0, database, IS_STRING, 1)
443 ZEND_END_ARG_INFO()
444 
445 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_mysqli_character_set_name, 0, 0, 0)
446 ZEND_END_ARG_INFO()
447 
448 #define arginfo_class_mysqli_close arginfo_class_mysqli_character_set_name
449 
450 #define arginfo_class_mysqli_commit arginfo_class_mysqli_begin_transaction
451 
452 #define arginfo_class_mysqli_connect arginfo_class_mysqli___construct
453 
454 #define arginfo_class_mysqli_dump_debug_info arginfo_class_mysqli_character_set_name
455 
456 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_mysqli_debug, 0, 0, 1)
457 	ZEND_ARG_TYPE_INFO(0, options, IS_STRING, 0)
458 ZEND_END_ARG_INFO()
459 
460 #define arginfo_class_mysqli_get_charset arginfo_class_mysqli_character_set_name
461 
462 #define arginfo_class_mysqli_get_client_info arginfo_class_mysqli_character_set_name
463 
464 #if defined(MYSQLI_USE_MYSQLND)
465 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_mysqli_get_connection_stats, 0, 0, 0)
466 ZEND_END_ARG_INFO()
467 #endif
468 
469 #define arginfo_class_mysqli_get_server_info arginfo_class_mysqli_character_set_name
470 
471 #define arginfo_class_mysqli_get_warnings arginfo_class_mysqli_character_set_name
472 
473 #define arginfo_class_mysqli_init arginfo_class_mysqli_character_set_name
474 
475 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_mysqli_kill, 0, 0, 1)
476 	ZEND_ARG_TYPE_INFO(0, process_id, IS_LONG, 0)
477 ZEND_END_ARG_INFO()
478 
479 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_mysqli_multi_query, 0, 0, 1)
480 	ZEND_ARG_TYPE_INFO(0, query, IS_STRING, 0)
481 ZEND_END_ARG_INFO()
482 
483 #define arginfo_class_mysqli_more_results arginfo_class_mysqli_character_set_name
484 
485 #define arginfo_class_mysqli_next_result arginfo_class_mysqli_character_set_name
486 
487 #define arginfo_class_mysqli_ping arginfo_class_mysqli_character_set_name
488 
489 #if defined(MYSQLI_USE_MYSQLND)
490 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_mysqli_poll, 0, 0, 4)
491 	ZEND_ARG_TYPE_INFO(1, read, IS_ARRAY, 1)
492 	ZEND_ARG_TYPE_INFO(1, error, IS_ARRAY, 1)
493 	ZEND_ARG_TYPE_INFO(1, reject, IS_ARRAY, 0)
494 	ZEND_ARG_TYPE_INFO(0, seconds, IS_LONG, 0)
495 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, microseconds, IS_LONG, 0, "0")
496 ZEND_END_ARG_INFO()
497 #endif
498 
499 #define arginfo_class_mysqli_prepare arginfo_class_mysqli_multi_query
500 
501 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_mysqli_query, 0, 0, 1)
502 	ZEND_ARG_TYPE_INFO(0, query, IS_STRING, 0)
503 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, result_mode, IS_LONG, 0, "MYSQLI_STORE_RESULT")
504 ZEND_END_ARG_INFO()
505 
506 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_mysqli_real_connect, 0, 0, 0)
507 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, hostname, IS_STRING, 1, "null")
508 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, username, IS_STRING, 1, "null")
509 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, password, IS_STRING, 1, "null")
510 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, database, IS_STRING, 1, "null")
511 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, port, IS_LONG, 1, "null")
512 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, socket, IS_STRING, 1, "null")
513 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flags, IS_LONG, 0, "0")
514 ZEND_END_ARG_INFO()
515 
516 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_mysqli_real_escape_string, 0, 0, 1)
517 	ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
518 ZEND_END_ARG_INFO()
519 
520 #if defined(MYSQLI_USE_MYSQLND)
521 #define arginfo_class_mysqli_reap_async_query arginfo_class_mysqli_get_connection_stats
522 #endif
523 
524 #define arginfo_class_mysqli_escape_string arginfo_class_mysqli_real_escape_string
525 
526 #define arginfo_class_mysqli_real_query arginfo_class_mysqli_multi_query
527 
528 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_mysqli_release_savepoint, 0, 0, 1)
529 	ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
530 ZEND_END_ARG_INFO()
531 
532 #define arginfo_class_mysqli_rollback arginfo_class_mysqli_begin_transaction
533 
534 #define arginfo_class_mysqli_savepoint arginfo_class_mysqli_release_savepoint
535 
536 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_mysqli_select_db, 0, 0, 1)
537 	ZEND_ARG_TYPE_INFO(0, database, IS_STRING, 0)
538 ZEND_END_ARG_INFO()
539 
540 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_mysqli_set_charset, 0, 0, 1)
541 	ZEND_ARG_TYPE_INFO(0, charset, IS_STRING, 0)
542 ZEND_END_ARG_INFO()
543 
544 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_mysqli_options, 0, 0, 2)
545 	ZEND_ARG_TYPE_INFO(0, option, IS_LONG, 0)
546 	ZEND_ARG_INFO(0, value)
547 ZEND_END_ARG_INFO()
548 
549 #define arginfo_class_mysqli_set_opt arginfo_class_mysqli_options
550 
551 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_mysqli_ssl_set, 0, 0, 5)
552 	ZEND_ARG_TYPE_INFO(0, key, IS_STRING, 1)
553 	ZEND_ARG_TYPE_INFO(0, certificate, IS_STRING, 1)
554 	ZEND_ARG_TYPE_INFO(0, ca_certificate, IS_STRING, 1)
555 	ZEND_ARG_TYPE_INFO(0, ca_path, IS_STRING, 1)
556 	ZEND_ARG_TYPE_INFO(0, cipher_algos, IS_STRING, 1)
557 ZEND_END_ARG_INFO()
558 
559 #define arginfo_class_mysqli_stat arginfo_class_mysqli_character_set_name
560 
561 #define arginfo_class_mysqli_stmt_init arginfo_class_mysqli_character_set_name
562 
563 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_mysqli_store_result, 0, 0, 0)
564 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, mode, IS_LONG, 0, "0")
565 ZEND_END_ARG_INFO()
566 
567 #define arginfo_class_mysqli_thread_safe arginfo_class_mysqli_character_set_name
568 
569 #define arginfo_class_mysqli_use_result arginfo_class_mysqli_character_set_name
570 
571 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_mysqli_refresh, 0, 0, 1)
572 	ZEND_ARG_TYPE_INFO(0, flags, IS_LONG, 0)
573 ZEND_END_ARG_INFO()
574 
575 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_mysqli_result___construct, 0, 0, 1)
576 	ZEND_ARG_OBJ_INFO(0, mysql, mysqli, 0)
577 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, result_mode, IS_LONG, 0, "MYSQLI_STORE_RESULT")
578 ZEND_END_ARG_INFO()
579 
580 #define arginfo_class_mysqli_result_close arginfo_class_mysqli_character_set_name
581 
582 #define arginfo_class_mysqli_result_free arginfo_class_mysqli_character_set_name
583 
584 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_mysqli_result_data_seek, 0, 0, 1)
585 	ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0)
586 ZEND_END_ARG_INFO()
587 
588 #define arginfo_class_mysqli_result_fetch_field arginfo_class_mysqli_character_set_name
589 
590 #define arginfo_class_mysqli_result_fetch_fields arginfo_class_mysqli_character_set_name
591 
592 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_mysqli_result_fetch_field_direct, 0, 0, 1)
593 	ZEND_ARG_TYPE_INFO(0, index, IS_LONG, 0)
594 ZEND_END_ARG_INFO()
595 
596 #if defined(MYSQLI_USE_MYSQLND)
597 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_mysqli_result_fetch_all, 0, 0, 0)
598 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, mode, IS_LONG, 0, "MYSQLI_NUM")
599 ZEND_END_ARG_INFO()
600 #endif
601 
602 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_mysqli_result_fetch_array, 0, 0, 0)
603 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, mode, IS_LONG, 0, "MYSQLI_BOTH")
604 ZEND_END_ARG_INFO()
605 
606 #define arginfo_class_mysqli_result_fetch_assoc arginfo_class_mysqli_character_set_name
607 
608 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_mysqli_result_fetch_object, 0, 0, 0)
609 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, class, IS_STRING, 0, "\"stdClass\"")
610 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, constructor_args, IS_ARRAY, 0, "[]")
611 ZEND_END_ARG_INFO()
612 
613 #define arginfo_class_mysqli_result_fetch_row arginfo_class_mysqli_character_set_name
614 
615 #define arginfo_class_mysqli_result_field_seek arginfo_class_mysqli_result_fetch_field_direct
616 
617 #define arginfo_class_mysqli_result_free_result arginfo_class_mysqli_character_set_name
618 
619 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_mysqli_result_getIterator, 0, 0, Iterator, 0)
620 ZEND_END_ARG_INFO()
621 
622 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_mysqli_stmt___construct, 0, 0, 1)
623 	ZEND_ARG_OBJ_INFO(0, mysql, mysqli, 0)
624 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, query, IS_STRING, 1, "null")
625 ZEND_END_ARG_INFO()
626 
627 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_mysqli_stmt_attr_get, 0, 0, 1)
628 	ZEND_ARG_TYPE_INFO(0, attribute, IS_LONG, 0)
629 ZEND_END_ARG_INFO()
630 
631 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_mysqli_stmt_attr_set, 0, 0, 2)
632 	ZEND_ARG_TYPE_INFO(0, attribute, IS_LONG, 0)
633 	ZEND_ARG_TYPE_INFO(0, value, IS_LONG, 0)
634 ZEND_END_ARG_INFO()
635 
636 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_mysqli_stmt_bind_param, 0, 0, 1)
637 	ZEND_ARG_TYPE_INFO(0, types, IS_STRING, 0)
638 	ZEND_ARG_VARIADIC_TYPE_INFO(1, vars, IS_MIXED, 0)
639 ZEND_END_ARG_INFO()
640 
641 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_mysqli_stmt_bind_result, 0, 0, 0)
642 	ZEND_ARG_VARIADIC_TYPE_INFO(1, vars, IS_MIXED, 0)
643 ZEND_END_ARG_INFO()
644 
645 #define arginfo_class_mysqli_stmt_close arginfo_class_mysqli_character_set_name
646 
647 #define arginfo_class_mysqli_stmt_data_seek arginfo_class_mysqli_result_data_seek
648 
649 #define arginfo_class_mysqli_stmt_execute arginfo_class_mysqli_character_set_name
650 
651 #define arginfo_class_mysqli_stmt_fetch arginfo_class_mysqli_character_set_name
652 
653 #define arginfo_class_mysqli_stmt_get_warnings arginfo_class_mysqli_character_set_name
654 
655 #define arginfo_class_mysqli_stmt_result_metadata arginfo_class_mysqli_character_set_name
656 
657 #if defined(MYSQLI_USE_MYSQLND)
658 #define arginfo_class_mysqli_stmt_more_results arginfo_class_mysqli_get_connection_stats
659 #endif
660 
661 #if defined(MYSQLI_USE_MYSQLND)
662 #define arginfo_class_mysqli_stmt_next_result arginfo_class_mysqli_get_connection_stats
663 #endif
664 
665 #define arginfo_class_mysqli_stmt_num_rows arginfo_class_mysqli_character_set_name
666 
667 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_mysqli_stmt_send_long_data, 0, 0, 2)
668 	ZEND_ARG_TYPE_INFO(0, param_num, IS_LONG, 0)
669 	ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0)
670 ZEND_END_ARG_INFO()
671 
672 #define arginfo_class_mysqli_stmt_free_result arginfo_class_mysqli_character_set_name
673 
674 #define arginfo_class_mysqli_stmt_reset arginfo_class_mysqli_character_set_name
675 
676 #define arginfo_class_mysqli_stmt_prepare arginfo_class_mysqli_multi_query
677 
678 #define arginfo_class_mysqli_stmt_store_result arginfo_class_mysqli_character_set_name
679 
680 #if defined(MYSQLI_USE_MYSQLND)
681 #define arginfo_class_mysqli_stmt_get_result arginfo_class_mysqli_get_connection_stats
682 #endif
683 
684 #define arginfo_class_mysqli_warning___construct arginfo_class_mysqli_character_set_name
685 
686 #define arginfo_class_mysqli_warning_next arginfo_mysqli_thread_safe
687 
688 
689 ZEND_FUNCTION(mysqli_affected_rows);
690 ZEND_FUNCTION(mysqli_autocommit);
691 ZEND_FUNCTION(mysqli_begin_transaction);
692 ZEND_FUNCTION(mysqli_change_user);
693 ZEND_FUNCTION(mysqli_character_set_name);
694 ZEND_FUNCTION(mysqli_close);
695 ZEND_FUNCTION(mysqli_commit);
696 ZEND_FUNCTION(mysqli_connect);
697 ZEND_FUNCTION(mysqli_connect_errno);
698 ZEND_FUNCTION(mysqli_connect_error);
699 ZEND_FUNCTION(mysqli_data_seek);
700 ZEND_FUNCTION(mysqli_dump_debug_info);
701 ZEND_FUNCTION(mysqli_debug);
702 ZEND_FUNCTION(mysqli_errno);
703 ZEND_FUNCTION(mysqli_error);
704 ZEND_FUNCTION(mysqli_error_list);
705 ZEND_FUNCTION(mysqli_stmt_execute);
706 ZEND_FUNCTION(mysqli_fetch_field);
707 ZEND_FUNCTION(mysqli_fetch_fields);
708 ZEND_FUNCTION(mysqli_fetch_field_direct);
709 ZEND_FUNCTION(mysqli_fetch_lengths);
710 #if defined(MYSQLI_USE_MYSQLND)
711 ZEND_FUNCTION(mysqli_fetch_all);
712 #endif
713 ZEND_FUNCTION(mysqli_fetch_array);
714 ZEND_FUNCTION(mysqli_fetch_assoc);
715 ZEND_FUNCTION(mysqli_fetch_object);
716 ZEND_FUNCTION(mysqli_fetch_row);
717 ZEND_FUNCTION(mysqli_field_count);
718 ZEND_FUNCTION(mysqli_field_seek);
719 ZEND_FUNCTION(mysqli_field_tell);
720 ZEND_FUNCTION(mysqli_free_result);
721 #if defined(MYSQLI_USE_MYSQLND)
722 ZEND_FUNCTION(mysqli_get_connection_stats);
723 #endif
724 #if defined(MYSQLI_USE_MYSQLND)
725 ZEND_FUNCTION(mysqli_get_client_stats);
726 #endif
727 ZEND_FUNCTION(mysqli_get_charset);
728 ZEND_FUNCTION(mysqli_get_client_info);
729 ZEND_FUNCTION(mysqli_get_client_version);
730 ZEND_FUNCTION(mysqli_get_links_stats);
731 ZEND_FUNCTION(mysqli_get_host_info);
732 ZEND_FUNCTION(mysqli_get_proto_info);
733 ZEND_FUNCTION(mysqli_get_server_info);
734 ZEND_FUNCTION(mysqli_get_server_version);
735 ZEND_FUNCTION(mysqli_get_warnings);
736 ZEND_FUNCTION(mysqli_init);
737 ZEND_FUNCTION(mysqli_info);
738 ZEND_FUNCTION(mysqli_insert_id);
739 ZEND_FUNCTION(mysqli_kill);
740 ZEND_FUNCTION(mysqli_more_results);
741 ZEND_FUNCTION(mysqli_multi_query);
742 ZEND_FUNCTION(mysqli_next_result);
743 ZEND_FUNCTION(mysqli_num_fields);
744 ZEND_FUNCTION(mysqli_num_rows);
745 ZEND_FUNCTION(mysqli_options);
746 ZEND_FUNCTION(mysqli_ping);
747 #if defined(MYSQLI_USE_MYSQLND)
748 ZEND_FUNCTION(mysqli_poll);
749 #endif
750 ZEND_FUNCTION(mysqli_prepare);
751 ZEND_FUNCTION(mysqli_report);
752 ZEND_FUNCTION(mysqli_query);
753 ZEND_FUNCTION(mysqli_real_connect);
754 ZEND_FUNCTION(mysqli_real_escape_string);
755 ZEND_FUNCTION(mysqli_real_query);
756 #if defined(MYSQLI_USE_MYSQLND)
757 ZEND_FUNCTION(mysqli_reap_async_query);
758 #endif
759 ZEND_FUNCTION(mysqli_release_savepoint);
760 ZEND_FUNCTION(mysqli_rollback);
761 ZEND_FUNCTION(mysqli_savepoint);
762 ZEND_FUNCTION(mysqli_select_db);
763 ZEND_FUNCTION(mysqli_set_charset);
764 ZEND_FUNCTION(mysqli_stmt_affected_rows);
765 ZEND_FUNCTION(mysqli_stmt_attr_get);
766 ZEND_FUNCTION(mysqli_stmt_attr_set);
767 ZEND_FUNCTION(mysqli_stmt_bind_param);
768 ZEND_FUNCTION(mysqli_stmt_bind_result);
769 ZEND_FUNCTION(mysqli_stmt_close);
770 ZEND_FUNCTION(mysqli_stmt_data_seek);
771 ZEND_FUNCTION(mysqli_stmt_errno);
772 ZEND_FUNCTION(mysqli_stmt_error);
773 ZEND_FUNCTION(mysqli_stmt_error_list);
774 ZEND_FUNCTION(mysqli_stmt_fetch);
775 ZEND_FUNCTION(mysqli_stmt_field_count);
776 ZEND_FUNCTION(mysqli_stmt_free_result);
777 #if defined(MYSQLI_USE_MYSQLND)
778 ZEND_FUNCTION(mysqli_stmt_get_result);
779 #endif
780 ZEND_FUNCTION(mysqli_stmt_get_warnings);
781 ZEND_FUNCTION(mysqli_stmt_init);
782 ZEND_FUNCTION(mysqli_stmt_insert_id);
783 #if defined(MYSQLI_USE_MYSQLND)
784 ZEND_FUNCTION(mysqli_stmt_more_results);
785 #endif
786 #if defined(MYSQLI_USE_MYSQLND)
787 ZEND_FUNCTION(mysqli_stmt_next_result);
788 #endif
789 ZEND_FUNCTION(mysqli_stmt_num_rows);
790 ZEND_FUNCTION(mysqli_stmt_param_count);
791 ZEND_FUNCTION(mysqli_stmt_prepare);
792 ZEND_FUNCTION(mysqli_stmt_reset);
793 ZEND_FUNCTION(mysqli_stmt_result_metadata);
794 ZEND_FUNCTION(mysqli_stmt_send_long_data);
795 ZEND_FUNCTION(mysqli_stmt_store_result);
796 ZEND_FUNCTION(mysqli_stmt_sqlstate);
797 ZEND_FUNCTION(mysqli_sqlstate);
798 ZEND_FUNCTION(mysqli_ssl_set);
799 ZEND_FUNCTION(mysqli_stat);
800 ZEND_FUNCTION(mysqli_store_result);
801 ZEND_FUNCTION(mysqli_thread_id);
802 ZEND_FUNCTION(mysqli_thread_safe);
803 ZEND_FUNCTION(mysqli_use_result);
804 ZEND_FUNCTION(mysqli_warning_count);
805 ZEND_FUNCTION(mysqli_refresh);
806 ZEND_METHOD(mysqli, __construct);
807 ZEND_METHOD(mysqli, init);
808 ZEND_METHOD(mysqli_result, __construct);
809 ZEND_METHOD(mysqli_result, getIterator);
810 ZEND_METHOD(mysqli_stmt, __construct);
811 ZEND_METHOD(mysqli_warning, __construct);
812 ZEND_METHOD(mysqli_warning, next);
813 
814 
815 static const zend_function_entry ext_functions[] = {
816 	ZEND_FE(mysqli_affected_rows, arginfo_mysqli_affected_rows)
817 	ZEND_FE(mysqli_autocommit, arginfo_mysqli_autocommit)
818 	ZEND_FE(mysqli_begin_transaction, arginfo_mysqli_begin_transaction)
819 	ZEND_FE(mysqli_change_user, arginfo_mysqli_change_user)
820 	ZEND_FE(mysqli_character_set_name, arginfo_mysqli_character_set_name)
821 	ZEND_FE(mysqli_close, arginfo_mysqli_close)
822 	ZEND_FE(mysqli_commit, arginfo_mysqli_commit)
823 	ZEND_FE(mysqli_connect, arginfo_mysqli_connect)
824 	ZEND_FE(mysqli_connect_errno, arginfo_mysqli_connect_errno)
825 	ZEND_FE(mysqli_connect_error, arginfo_mysqli_connect_error)
826 	ZEND_FE(mysqli_data_seek, arginfo_mysqli_data_seek)
827 	ZEND_FE(mysqli_dump_debug_info, arginfo_mysqli_dump_debug_info)
828 	ZEND_FE(mysqli_debug, arginfo_mysqli_debug)
829 	ZEND_FE(mysqli_errno, arginfo_mysqli_errno)
830 	ZEND_FE(mysqli_error, arginfo_mysqli_error)
831 	ZEND_FE(mysqli_error_list, arginfo_mysqli_error_list)
832 	ZEND_FE(mysqli_stmt_execute, arginfo_mysqli_stmt_execute)
833 	ZEND_FALIAS(mysqli_execute, mysqli_stmt_execute, arginfo_mysqli_execute)
834 	ZEND_FE(mysqli_fetch_field, arginfo_mysqli_fetch_field)
835 	ZEND_FE(mysqli_fetch_fields, arginfo_mysqli_fetch_fields)
836 	ZEND_FE(mysqli_fetch_field_direct, arginfo_mysqli_fetch_field_direct)
837 	ZEND_FE(mysqli_fetch_lengths, arginfo_mysqli_fetch_lengths)
838 #if defined(MYSQLI_USE_MYSQLND)
839 	ZEND_FE(mysqli_fetch_all, arginfo_mysqli_fetch_all)
840 #endif
841 	ZEND_FE(mysqli_fetch_array, arginfo_mysqli_fetch_array)
842 	ZEND_FE(mysqli_fetch_assoc, arginfo_mysqli_fetch_assoc)
843 	ZEND_FE(mysqli_fetch_object, arginfo_mysqli_fetch_object)
844 	ZEND_FE(mysqli_fetch_row, arginfo_mysqli_fetch_row)
845 	ZEND_FE(mysqli_field_count, arginfo_mysqli_field_count)
846 	ZEND_FE(mysqli_field_seek, arginfo_mysqli_field_seek)
847 	ZEND_FE(mysqli_field_tell, arginfo_mysqli_field_tell)
848 	ZEND_FE(mysqli_free_result, arginfo_mysqli_free_result)
849 #if defined(MYSQLI_USE_MYSQLND)
850 	ZEND_FE(mysqli_get_connection_stats, arginfo_mysqli_get_connection_stats)
851 #endif
852 #if defined(MYSQLI_USE_MYSQLND)
853 	ZEND_FE(mysqli_get_client_stats, arginfo_mysqli_get_client_stats)
854 #endif
855 	ZEND_FE(mysqli_get_charset, arginfo_mysqli_get_charset)
856 	ZEND_FE(mysqli_get_client_info, arginfo_mysqli_get_client_info)
857 	ZEND_FE(mysqli_get_client_version, arginfo_mysqli_get_client_version)
858 	ZEND_FE(mysqli_get_links_stats, arginfo_mysqli_get_links_stats)
859 	ZEND_FE(mysqli_get_host_info, arginfo_mysqli_get_host_info)
860 	ZEND_FE(mysqli_get_proto_info, arginfo_mysqli_get_proto_info)
861 	ZEND_FE(mysqli_get_server_info, arginfo_mysqli_get_server_info)
862 	ZEND_FE(mysqli_get_server_version, arginfo_mysqli_get_server_version)
863 	ZEND_FE(mysqli_get_warnings, arginfo_mysqli_get_warnings)
864 	ZEND_FE(mysqli_init, arginfo_mysqli_init)
865 	ZEND_FE(mysqli_info, arginfo_mysqli_info)
866 	ZEND_FE(mysqli_insert_id, arginfo_mysqli_insert_id)
867 	ZEND_FE(mysqli_kill, arginfo_mysqli_kill)
868 	ZEND_FE(mysqli_more_results, arginfo_mysqli_more_results)
869 	ZEND_FE(mysqli_multi_query, arginfo_mysqli_multi_query)
870 	ZEND_FE(mysqli_next_result, arginfo_mysqli_next_result)
871 	ZEND_FE(mysqli_num_fields, arginfo_mysqli_num_fields)
872 	ZEND_FE(mysqli_num_rows, arginfo_mysqli_num_rows)
873 	ZEND_FE(mysqli_options, arginfo_mysqli_options)
874 	ZEND_FALIAS(mysqli_set_opt, mysqli_options, arginfo_mysqli_set_opt)
875 	ZEND_FE(mysqli_ping, arginfo_mysqli_ping)
876 #if defined(MYSQLI_USE_MYSQLND)
877 	ZEND_FE(mysqli_poll, arginfo_mysqli_poll)
878 #endif
879 	ZEND_FE(mysqli_prepare, arginfo_mysqli_prepare)
880 	ZEND_FE(mysqli_report, arginfo_mysqli_report)
881 	ZEND_FE(mysqli_query, arginfo_mysqli_query)
882 	ZEND_FE(mysqli_real_connect, arginfo_mysqli_real_connect)
883 	ZEND_FE(mysqli_real_escape_string, arginfo_mysqli_real_escape_string)
884 	ZEND_FALIAS(mysqli_escape_string, mysqli_real_escape_string, arginfo_mysqli_escape_string)
885 	ZEND_FE(mysqli_real_query, arginfo_mysqli_real_query)
886 #if defined(MYSQLI_USE_MYSQLND)
887 	ZEND_FE(mysqli_reap_async_query, arginfo_mysqli_reap_async_query)
888 #endif
889 	ZEND_FE(mysqli_release_savepoint, arginfo_mysqli_release_savepoint)
890 	ZEND_FE(mysqli_rollback, arginfo_mysqli_rollback)
891 	ZEND_FE(mysqli_savepoint, arginfo_mysqli_savepoint)
892 	ZEND_FE(mysqli_select_db, arginfo_mysqli_select_db)
893 	ZEND_FE(mysqli_set_charset, arginfo_mysqli_set_charset)
894 	ZEND_FE(mysqli_stmt_affected_rows, arginfo_mysqli_stmt_affected_rows)
895 	ZEND_FE(mysqli_stmt_attr_get, arginfo_mysqli_stmt_attr_get)
896 	ZEND_FE(mysqli_stmt_attr_set, arginfo_mysqli_stmt_attr_set)
897 	ZEND_FE(mysqli_stmt_bind_param, arginfo_mysqli_stmt_bind_param)
898 	ZEND_FE(mysqli_stmt_bind_result, arginfo_mysqli_stmt_bind_result)
899 	ZEND_FE(mysqli_stmt_close, arginfo_mysqli_stmt_close)
900 	ZEND_FE(mysqli_stmt_data_seek, arginfo_mysqli_stmt_data_seek)
901 	ZEND_FE(mysqli_stmt_errno, arginfo_mysqli_stmt_errno)
902 	ZEND_FE(mysqli_stmt_error, arginfo_mysqli_stmt_error)
903 	ZEND_FE(mysqli_stmt_error_list, arginfo_mysqli_stmt_error_list)
904 	ZEND_FE(mysqli_stmt_fetch, arginfo_mysqli_stmt_fetch)
905 	ZEND_FE(mysqli_stmt_field_count, arginfo_mysqli_stmt_field_count)
906 	ZEND_FE(mysqli_stmt_free_result, arginfo_mysqli_stmt_free_result)
907 #if defined(MYSQLI_USE_MYSQLND)
908 	ZEND_FE(mysqli_stmt_get_result, arginfo_mysqli_stmt_get_result)
909 #endif
910 	ZEND_FE(mysqli_stmt_get_warnings, arginfo_mysqli_stmt_get_warnings)
911 	ZEND_FE(mysqli_stmt_init, arginfo_mysqli_stmt_init)
912 	ZEND_FE(mysqli_stmt_insert_id, arginfo_mysqli_stmt_insert_id)
913 #if defined(MYSQLI_USE_MYSQLND)
914 	ZEND_FE(mysqli_stmt_more_results, arginfo_mysqli_stmt_more_results)
915 #endif
916 #if defined(MYSQLI_USE_MYSQLND)
917 	ZEND_FE(mysqli_stmt_next_result, arginfo_mysqli_stmt_next_result)
918 #endif
919 	ZEND_FE(mysqli_stmt_num_rows, arginfo_mysqli_stmt_num_rows)
920 	ZEND_FE(mysqli_stmt_param_count, arginfo_mysqli_stmt_param_count)
921 	ZEND_FE(mysqli_stmt_prepare, arginfo_mysqli_stmt_prepare)
922 	ZEND_FE(mysqli_stmt_reset, arginfo_mysqli_stmt_reset)
923 	ZEND_FE(mysqli_stmt_result_metadata, arginfo_mysqli_stmt_result_metadata)
924 	ZEND_FE(mysqli_stmt_send_long_data, arginfo_mysqli_stmt_send_long_data)
925 	ZEND_FE(mysqli_stmt_store_result, arginfo_mysqli_stmt_store_result)
926 	ZEND_FE(mysqli_stmt_sqlstate, arginfo_mysqli_stmt_sqlstate)
927 	ZEND_FE(mysqli_sqlstate, arginfo_mysqli_sqlstate)
928 	ZEND_FE(mysqli_ssl_set, arginfo_mysqli_ssl_set)
929 	ZEND_FE(mysqli_stat, arginfo_mysqli_stat)
930 	ZEND_FE(mysqli_store_result, arginfo_mysqli_store_result)
931 	ZEND_FE(mysqli_thread_id, arginfo_mysqli_thread_id)
932 	ZEND_FE(mysqli_thread_safe, arginfo_mysqli_thread_safe)
933 	ZEND_FE(mysqli_use_result, arginfo_mysqli_use_result)
934 	ZEND_FE(mysqli_warning_count, arginfo_mysqli_warning_count)
935 	ZEND_FE(mysqli_refresh, arginfo_mysqli_refresh)
936 	ZEND_FE_END
937 };
938 
939 
940 static const zend_function_entry class_mysqli_driver_methods[] = {
941 	ZEND_FE_END
942 };
943 
944 
945 static const zend_function_entry class_mysqli_methods[] = {
946 	ZEND_ME(mysqli, __construct, arginfo_class_mysqli___construct, ZEND_ACC_PUBLIC)
947 	ZEND_ME_MAPPING(autocommit, mysqli_autocommit, arginfo_class_mysqli_autocommit, ZEND_ACC_PUBLIC)
948 	ZEND_ME_MAPPING(begin_transaction, mysqli_begin_transaction, arginfo_class_mysqli_begin_transaction, ZEND_ACC_PUBLIC)
949 	ZEND_ME_MAPPING(change_user, mysqli_change_user, arginfo_class_mysqli_change_user, ZEND_ACC_PUBLIC)
950 	ZEND_ME_MAPPING(character_set_name, mysqli_character_set_name, arginfo_class_mysqli_character_set_name, ZEND_ACC_PUBLIC)
951 	ZEND_ME_MAPPING(close, mysqli_close, arginfo_class_mysqli_close, ZEND_ACC_PUBLIC)
952 	ZEND_ME_MAPPING(commit, mysqli_commit, arginfo_class_mysqli_commit, ZEND_ACC_PUBLIC)
953 	ZEND_ME_MAPPING(connect, mysqli_connect, arginfo_class_mysqli_connect, ZEND_ACC_PUBLIC)
954 	ZEND_ME_MAPPING(dump_debug_info, mysqli_dump_debug_info, arginfo_class_mysqli_dump_debug_info, ZEND_ACC_PUBLIC)
955 	ZEND_ME_MAPPING(debug, mysqli_debug, arginfo_class_mysqli_debug, ZEND_ACC_PUBLIC)
956 	ZEND_ME_MAPPING(get_charset, mysqli_get_charset, arginfo_class_mysqli_get_charset, ZEND_ACC_PUBLIC)
957 	ZEND_ME_MAPPING(get_client_info, mysqli_get_client_info, arginfo_class_mysqli_get_client_info, ZEND_ACC_PUBLIC)
958 #if defined(MYSQLI_USE_MYSQLND)
959 	ZEND_ME_MAPPING(get_connection_stats, mysqli_get_connection_stats, arginfo_class_mysqli_get_connection_stats, ZEND_ACC_PUBLIC)
960 #endif
961 	ZEND_ME_MAPPING(get_server_info, mysqli_get_server_info, arginfo_class_mysqli_get_server_info, ZEND_ACC_PUBLIC)
962 	ZEND_ME_MAPPING(get_warnings, mysqli_get_warnings, arginfo_class_mysqli_get_warnings, ZEND_ACC_PUBLIC)
963 	ZEND_ME(mysqli, init, arginfo_class_mysqli_init, ZEND_ACC_PUBLIC)
964 	ZEND_ME_MAPPING(kill, mysqli_kill, arginfo_class_mysqli_kill, ZEND_ACC_PUBLIC)
965 	ZEND_ME_MAPPING(multi_query, mysqli_multi_query, arginfo_class_mysqli_multi_query, ZEND_ACC_PUBLIC)
966 	ZEND_ME_MAPPING(more_results, mysqli_more_results, arginfo_class_mysqli_more_results, ZEND_ACC_PUBLIC)
967 	ZEND_ME_MAPPING(next_result, mysqli_next_result, arginfo_class_mysqli_next_result, ZEND_ACC_PUBLIC)
968 	ZEND_ME_MAPPING(ping, mysqli_ping, arginfo_class_mysqli_ping, ZEND_ACC_PUBLIC)
969 #if defined(MYSQLI_USE_MYSQLND)
970 	ZEND_ME_MAPPING(poll, mysqli_poll, arginfo_class_mysqli_poll, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
971 #endif
972 	ZEND_ME_MAPPING(prepare, mysqli_prepare, arginfo_class_mysqli_prepare, ZEND_ACC_PUBLIC)
973 	ZEND_ME_MAPPING(query, mysqli_query, arginfo_class_mysqli_query, ZEND_ACC_PUBLIC)
974 	ZEND_ME_MAPPING(real_connect, mysqli_real_connect, arginfo_class_mysqli_real_connect, ZEND_ACC_PUBLIC)
975 	ZEND_ME_MAPPING(real_escape_string, mysqli_real_escape_string, arginfo_class_mysqli_real_escape_string, ZEND_ACC_PUBLIC)
976 #if defined(MYSQLI_USE_MYSQLND)
977 	ZEND_ME_MAPPING(reap_async_query, mysqli_reap_async_query, arginfo_class_mysqli_reap_async_query, ZEND_ACC_PUBLIC)
978 #endif
979 	ZEND_ME_MAPPING(escape_string, mysqli_real_escape_string, arginfo_class_mysqli_escape_string, ZEND_ACC_PUBLIC)
980 	ZEND_ME_MAPPING(real_query, mysqli_real_query, arginfo_class_mysqli_real_query, ZEND_ACC_PUBLIC)
981 	ZEND_ME_MAPPING(release_savepoint, mysqli_release_savepoint, arginfo_class_mysqli_release_savepoint, ZEND_ACC_PUBLIC)
982 	ZEND_ME_MAPPING(rollback, mysqli_rollback, arginfo_class_mysqli_rollback, ZEND_ACC_PUBLIC)
983 	ZEND_ME_MAPPING(savepoint, mysqli_savepoint, arginfo_class_mysqli_savepoint, ZEND_ACC_PUBLIC)
984 	ZEND_ME_MAPPING(select_db, mysqli_select_db, arginfo_class_mysqli_select_db, ZEND_ACC_PUBLIC)
985 	ZEND_ME_MAPPING(set_charset, mysqli_set_charset, arginfo_class_mysqli_set_charset, ZEND_ACC_PUBLIC)
986 	ZEND_ME_MAPPING(options, mysqli_options, arginfo_class_mysqli_options, ZEND_ACC_PUBLIC)
987 	ZEND_ME_MAPPING(set_opt, mysqli_options, arginfo_class_mysqli_set_opt, ZEND_ACC_PUBLIC)
988 	ZEND_ME_MAPPING(ssl_set, mysqli_ssl_set, arginfo_class_mysqli_ssl_set, ZEND_ACC_PUBLIC)
989 	ZEND_ME_MAPPING(stat, mysqli_stat, arginfo_class_mysqli_stat, ZEND_ACC_PUBLIC)
990 	ZEND_ME_MAPPING(stmt_init, mysqli_stmt_init, arginfo_class_mysqli_stmt_init, ZEND_ACC_PUBLIC)
991 	ZEND_ME_MAPPING(store_result, mysqli_store_result, arginfo_class_mysqli_store_result, ZEND_ACC_PUBLIC)
992 	ZEND_ME_MAPPING(thread_safe, mysqli_thread_safe, arginfo_class_mysqli_thread_safe, ZEND_ACC_PUBLIC)
993 	ZEND_ME_MAPPING(use_result, mysqli_use_result, arginfo_class_mysqli_use_result, ZEND_ACC_PUBLIC)
994 	ZEND_ME_MAPPING(refresh, mysqli_refresh, arginfo_class_mysqli_refresh, ZEND_ACC_PUBLIC)
995 	ZEND_FE_END
996 };
997 
998 
999 static const zend_function_entry class_mysqli_result_methods[] = {
1000 	ZEND_ME(mysqli_result, __construct, arginfo_class_mysqli_result___construct, ZEND_ACC_PUBLIC)
1001 	ZEND_ME_MAPPING(close, mysqli_free_result, arginfo_class_mysqli_result_close, ZEND_ACC_PUBLIC)
1002 	ZEND_ME_MAPPING(free, mysqli_free_result, arginfo_class_mysqli_result_free, ZEND_ACC_PUBLIC)
1003 	ZEND_ME_MAPPING(data_seek, mysqli_data_seek, arginfo_class_mysqli_result_data_seek, ZEND_ACC_PUBLIC)
1004 	ZEND_ME_MAPPING(fetch_field, mysqli_fetch_field, arginfo_class_mysqli_result_fetch_field, ZEND_ACC_PUBLIC)
1005 	ZEND_ME_MAPPING(fetch_fields, mysqli_fetch_fields, arginfo_class_mysqli_result_fetch_fields, ZEND_ACC_PUBLIC)
1006 	ZEND_ME_MAPPING(fetch_field_direct, mysqli_fetch_field_direct, arginfo_class_mysqli_result_fetch_field_direct, ZEND_ACC_PUBLIC)
1007 #if defined(MYSQLI_USE_MYSQLND)
1008 	ZEND_ME_MAPPING(fetch_all, mysqli_fetch_all, arginfo_class_mysqli_result_fetch_all, ZEND_ACC_PUBLIC)
1009 #endif
1010 	ZEND_ME_MAPPING(fetch_array, mysqli_fetch_array, arginfo_class_mysqli_result_fetch_array, ZEND_ACC_PUBLIC)
1011 	ZEND_ME_MAPPING(fetch_assoc, mysqli_fetch_assoc, arginfo_class_mysqli_result_fetch_assoc, ZEND_ACC_PUBLIC)
1012 	ZEND_ME_MAPPING(fetch_object, mysqli_fetch_object, arginfo_class_mysqli_result_fetch_object, ZEND_ACC_PUBLIC)
1013 	ZEND_ME_MAPPING(fetch_row, mysqli_fetch_row, arginfo_class_mysqli_result_fetch_row, ZEND_ACC_PUBLIC)
1014 	ZEND_ME_MAPPING(field_seek, mysqli_field_seek, arginfo_class_mysqli_result_field_seek, ZEND_ACC_PUBLIC)
1015 	ZEND_ME_MAPPING(free_result, mysqli_free_result, arginfo_class_mysqli_result_free_result, ZEND_ACC_PUBLIC)
1016 	ZEND_ME(mysqli_result, getIterator, arginfo_class_mysqli_result_getIterator, ZEND_ACC_PUBLIC)
1017 	ZEND_FE_END
1018 };
1019 
1020 
1021 static const zend_function_entry class_mysqli_stmt_methods[] = {
1022 	ZEND_ME(mysqli_stmt, __construct, arginfo_class_mysqli_stmt___construct, ZEND_ACC_PUBLIC)
1023 	ZEND_ME_MAPPING(attr_get, mysqli_stmt_attr_get, arginfo_class_mysqli_stmt_attr_get, ZEND_ACC_PUBLIC)
1024 	ZEND_ME_MAPPING(attr_set, mysqli_stmt_attr_set, arginfo_class_mysqli_stmt_attr_set, ZEND_ACC_PUBLIC)
1025 	ZEND_ME_MAPPING(bind_param, mysqli_stmt_bind_param, arginfo_class_mysqli_stmt_bind_param, ZEND_ACC_PUBLIC)
1026 	ZEND_ME_MAPPING(bind_result, mysqli_stmt_bind_result, arginfo_class_mysqli_stmt_bind_result, ZEND_ACC_PUBLIC)
1027 	ZEND_ME_MAPPING(close, mysqli_stmt_close, arginfo_class_mysqli_stmt_close, ZEND_ACC_PUBLIC)
1028 	ZEND_ME_MAPPING(data_seek, mysqli_stmt_data_seek, arginfo_class_mysqli_stmt_data_seek, ZEND_ACC_PUBLIC)
1029 	ZEND_ME_MAPPING(execute, mysqli_stmt_execute, arginfo_class_mysqli_stmt_execute, ZEND_ACC_PUBLIC)
1030 	ZEND_ME_MAPPING(fetch, mysqli_stmt_fetch, arginfo_class_mysqli_stmt_fetch, ZEND_ACC_PUBLIC)
1031 	ZEND_ME_MAPPING(get_warnings, mysqli_stmt_get_warnings, arginfo_class_mysqli_stmt_get_warnings, ZEND_ACC_PUBLIC)
1032 	ZEND_ME_MAPPING(result_metadata, mysqli_stmt_result_metadata, arginfo_class_mysqli_stmt_result_metadata, ZEND_ACC_PUBLIC)
1033 #if defined(MYSQLI_USE_MYSQLND)
1034 	ZEND_ME_MAPPING(more_results, mysqli_stmt_more_results, arginfo_class_mysqli_stmt_more_results, ZEND_ACC_PUBLIC)
1035 #endif
1036 #if defined(MYSQLI_USE_MYSQLND)
1037 	ZEND_ME_MAPPING(next_result, mysqli_stmt_next_result, arginfo_class_mysqli_stmt_next_result, ZEND_ACC_PUBLIC)
1038 #endif
1039 	ZEND_ME_MAPPING(num_rows, mysqli_stmt_num_rows, arginfo_class_mysqli_stmt_num_rows, ZEND_ACC_PUBLIC)
1040 	ZEND_ME_MAPPING(send_long_data, mysqli_stmt_send_long_data, arginfo_class_mysqli_stmt_send_long_data, ZEND_ACC_PUBLIC)
1041 	ZEND_ME_MAPPING(free_result, mysqli_stmt_free_result, arginfo_class_mysqli_stmt_free_result, ZEND_ACC_PUBLIC)
1042 	ZEND_ME_MAPPING(reset, mysqli_stmt_reset, arginfo_class_mysqli_stmt_reset, ZEND_ACC_PUBLIC)
1043 	ZEND_ME_MAPPING(prepare, mysqli_stmt_prepare, arginfo_class_mysqli_stmt_prepare, ZEND_ACC_PUBLIC)
1044 	ZEND_ME_MAPPING(store_result, mysqli_stmt_store_result, arginfo_class_mysqli_stmt_store_result, ZEND_ACC_PUBLIC)
1045 #if defined(MYSQLI_USE_MYSQLND)
1046 	ZEND_ME_MAPPING(get_result, mysqli_stmt_get_result, arginfo_class_mysqli_stmt_get_result, ZEND_ACC_PUBLIC)
1047 #endif
1048 	ZEND_FE_END
1049 };
1050 
1051 
1052 static const zend_function_entry class_mysqli_warning_methods[] = {
1053 	ZEND_ME(mysqli_warning, __construct, arginfo_class_mysqli_warning___construct, ZEND_ACC_PRIVATE)
1054 	ZEND_ME(mysqli_warning, next, arginfo_class_mysqli_warning_next, ZEND_ACC_PUBLIC)
1055 	ZEND_FE_END
1056 };
1057 
1058 
1059 static const zend_function_entry class_mysqli_sql_exception_methods[] = {
1060 	ZEND_FE_END
1061 };
1062