php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
pgsql_arginfo.h
Go to the documentation of this file.
1/* This is a generated file, edit the .stub.php file instead.
2 * Stub hash: 14b0bdd019480b850940b2c2b012b5f6d51746b8 */
3
4ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_pg_connect, 0, 1, PgSql\\Connection, MAY_BE_FALSE)
5 ZEND_ARG_TYPE_INFO(0, connection_string, IS_STRING, 0)
8
9#define arginfo_pg_pconnect arginfo_pg_connect
10
11ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_pg_connect_poll, 0, 1, IS_LONG, 0)
12 ZEND_ARG_OBJ_INFO(0, connection, PgSql\\Connection, 0)
14
15ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_pg_close, 0, 0, IS_TRUE, 0)
16 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, connection, PgSql\\Connection, 1, "null")
18
19ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_pg_dbname, 0, 0, IS_STRING, 0)
20 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, connection, PgSql\\Connection, 1, "null")
22
23#define arginfo_pg_last_error arginfo_pg_dbname
24
25#define arginfo_pg_errormessage arginfo_pg_dbname
26
27#define arginfo_pg_options arginfo_pg_dbname
28
29#define arginfo_pg_port arginfo_pg_dbname
30
31#define arginfo_pg_tty arginfo_pg_dbname
32
33#define arginfo_pg_host arginfo_pg_dbname
34
35ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_pg_version, 0, 0, IS_ARRAY, 0)
36 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, connection, PgSql\\Connection, 1, "null")
38
39#define arginfo_pg_jit arginfo_pg_version
40
42 ZEND_ARG_INFO(0, connection)
45
47 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, connection, PgSql\\Connection, 1, "null")
49
51 ZEND_ARG_INFO(0, connection)
52 ZEND_ARG_TYPE_INFO(0, query, IS_STRING, 0)
54
55#define arginfo_pg_exec arginfo_pg_query
56
57ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_pg_query_params, 0, 2, PgSql\\Result, MAY_BE_FALSE)
58 ZEND_ARG_INFO(0, connection)
59 ZEND_ARG_INFO(0, query)
60 ZEND_ARG_TYPE_INFO(0, params, IS_ARRAY, 0)
62
63ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_pg_prepare, 0, 2, PgSql\\Result, MAY_BE_FALSE)
64 ZEND_ARG_INFO(0, connection)
65 ZEND_ARG_TYPE_INFO(0, statement_name, IS_STRING, 0)
66 ZEND_ARG_TYPE_INFO(0, query, IS_STRING, 0)
68
69ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_pg_execute, 0, 2, PgSql\\Result, MAY_BE_FALSE)
70 ZEND_ARG_INFO(0, connection)
71 ZEND_ARG_INFO(0, statement_name)
72 ZEND_ARG_TYPE_INFO(0, params, IS_ARRAY, 0)
74
75ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_pg_num_rows, 0, 1, IS_LONG, 0)
76 ZEND_ARG_OBJ_INFO(0, result, PgSql\\Result, 0)
78
79#define arginfo_pg_numrows arginfo_pg_num_rows
80
81#define arginfo_pg_num_fields arginfo_pg_num_rows
82
83#define arginfo_pg_numfields arginfo_pg_num_rows
84
85#define arginfo_pg_affected_rows arginfo_pg_num_rows
86
87#define arginfo_pg_cmdtuples arginfo_pg_num_rows
88
90 ZEND_ARG_OBJ_INFO(0, connection, PgSql\\Connection, 0)
91 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, mode, IS_LONG, 0, "PGSQL_NOTICE_LAST")
93
95 ZEND_ARG_OBJ_INFO(0, result, PgSql\\Result, 0)
96 ZEND_ARG_TYPE_INFO(0, field, IS_LONG, 0)
97 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, oid_only, _IS_BOOL, 0, "false")
99
100ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_pg_field_name, 0, 2, IS_STRING, 0)
101 ZEND_ARG_OBJ_INFO(0, result, PgSql\\Result, 0)
102 ZEND_ARG_TYPE_INFO(0, field, IS_LONG, 0)
104
105#define arginfo_pg_fieldname arginfo_pg_field_name
106
107ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_pg_field_size, 0, 2, IS_LONG, 0)
108 ZEND_ARG_OBJ_INFO(0, result, PgSql\\Result, 0)
109 ZEND_ARG_TYPE_INFO(0, field, IS_LONG, 0)
111
112#define arginfo_pg_fieldsize arginfo_pg_field_size
113
114#define arginfo_pg_field_type arginfo_pg_field_name
115
116#define arginfo_pg_fieldtype arginfo_pg_field_name
117
119 ZEND_ARG_OBJ_INFO(0, result, PgSql\\Result, 0)
120 ZEND_ARG_TYPE_INFO(0, field, IS_LONG, 0)
122
123ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_pg_field_num, 0, 2, IS_LONG, 0)
124 ZEND_ARG_OBJ_INFO(0, result, PgSql\\Result, 0)
125 ZEND_ARG_TYPE_INFO(0, field, IS_STRING, 0)
127
128#define arginfo_pg_fieldnum arginfo_pg_field_num
129
131 ZEND_ARG_OBJ_INFO(0, result, PgSql\\Result, 0)
132 ZEND_ARG_INFO(0, row)
135
136#define arginfo_pg_result arginfo_pg_fetch_result
137
139 ZEND_ARG_OBJ_INFO(0, result, PgSql\\Result, 0)
143
145 ZEND_ARG_OBJ_INFO(0, result, PgSql\\Result, 0)
148
150 ZEND_ARG_OBJ_INFO(0, result, PgSql\\Result, 0)
154
156 ZEND_ARG_OBJ_INFO(0, result, PgSql\\Result, 0)
158 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, class, IS_STRING, 0, "\"stdClass\"")
159 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, constructor_args, IS_ARRAY, 0, "[]")
161
162ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_pg_fetch_all, 0, 1, IS_ARRAY, 0)
163 ZEND_ARG_OBJ_INFO(0, result, PgSql\\Result, 0)
166
167ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_pg_fetch_all_columns, 0, 1, IS_ARRAY, 0)
168 ZEND_ARG_OBJ_INFO(0, result, PgSql\\Result, 0)
171
172ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_pg_result_seek, 0, 2, _IS_BOOL, 0)
173 ZEND_ARG_OBJ_INFO(0, result, PgSql\\Result, 0)
174 ZEND_ARG_TYPE_INFO(0, row, IS_LONG, 0)
176
178 ZEND_ARG_OBJ_INFO(0, result, PgSql\\Result, 0)
179 ZEND_ARG_INFO(0, row)
182
183#define arginfo_pg_fieldprtlen arginfo_pg_field_prtlen
184
185#define arginfo_pg_field_is_null arginfo_pg_field_prtlen
186
187#define arginfo_pg_fieldisnull arginfo_pg_field_prtlen
188
189ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_pg_free_result, 0, 1, _IS_BOOL, 0)
190 ZEND_ARG_OBJ_INFO(0, result, PgSql\\Result, 0)
192
193#define arginfo_pg_freeresult arginfo_pg_free_result
194
196 ZEND_ARG_OBJ_INFO(0, result, PgSql\\Result, 0)
198
199#define arginfo_pg_getlastoid arginfo_pg_last_oid
200
201ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_pg_trace, 0, 1, _IS_BOOL, 0)
202 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
204 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, connection, PgSql\\Connection, 1, "null")
205 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, trace_mode, IS_LONG, 0, "0")
207
208#define arginfo_pg_untrace arginfo_pg_close
209
211 ZEND_ARG_INFO(0, connection)
212 ZEND_ARG_INFO(0, oid)
214
215#define arginfo_pg_locreate arginfo_pg_lo_create
216
217ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_pg_lo_unlink, 0, 1, _IS_BOOL, 0)
218 ZEND_ARG_INFO(0, connection)
219 ZEND_ARG_INFO(0, oid)
221
222#define arginfo_pg_lounlink arginfo_pg_lo_unlink
223
225 ZEND_ARG_INFO(0, connection)
226 ZEND_ARG_INFO(0, oid)
229
230#define arginfo_pg_loopen arginfo_pg_lo_open
231
232ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_pg_lo_close, 0, 1, _IS_BOOL, 0)
233 ZEND_ARG_OBJ_INFO(0, lob, PgSql\\Lob, 0)
235
236#define arginfo_pg_loclose arginfo_pg_lo_close
237
239 ZEND_ARG_OBJ_INFO(0, lob, PgSql\\Lob, 0)
242
243#define arginfo_pg_loread arginfo_pg_lo_read
244
246 ZEND_ARG_OBJ_INFO(0, lob, PgSql\\Lob, 0)
250
251#define arginfo_pg_lowrite arginfo_pg_lo_write
252
253ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_pg_lo_read_all, 0, 1, IS_LONG, 0)
254 ZEND_ARG_OBJ_INFO(0, lob, PgSql\\Lob, 0)
256
257#define arginfo_pg_loreadall arginfo_pg_lo_read_all
258
260 ZEND_ARG_INFO(0, connection)
261 ZEND_ARG_INFO(0, filename)
262 ZEND_ARG_INFO(0, oid)
264
265#define arginfo_pg_loimport arginfo_pg_lo_import
266
267ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_pg_lo_export, 0, 1, _IS_BOOL, 0)
268 ZEND_ARG_INFO(0, connection)
269 ZEND_ARG_INFO(0, oid)
270 ZEND_ARG_INFO(0, filename)
272
273#define arginfo_pg_loexport arginfo_pg_lo_export
274
275ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_pg_lo_seek, 0, 2, _IS_BOOL, 0)
276 ZEND_ARG_OBJ_INFO(0, lob, PgSql\\Lob, 0)
278 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, whence, IS_LONG, 0, "SEEK_CUR")
280
281#define arginfo_pg_lo_tell arginfo_pg_lo_read_all
282
283ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_pg_lo_truncate, 0, 2, _IS_BOOL, 0)
284 ZEND_ARG_OBJ_INFO(0, lob, PgSql\\Lob, 0)
287
288ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_pg_set_error_verbosity, 0, 1, MAY_BE_LONG|MAY_BE_FALSE)
289 ZEND_ARG_INFO(0, connection)
290 ZEND_ARG_TYPE_INFO(0, verbosity, IS_LONG, 0)
292
293ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_pg_set_client_encoding, 0, 1, IS_LONG, 0)
294 ZEND_ARG_INFO(0, connection)
297
298#define arginfo_pg_setclientencoding arginfo_pg_set_client_encoding
299
300#define arginfo_pg_client_encoding arginfo_pg_dbname
301
302#define arginfo_pg_clientencoding arginfo_pg_dbname
303
304#define arginfo_pg_end_copy arginfo_pg_ping
305
306ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_pg_put_line, 0, 1, _IS_BOOL, 0)
307 ZEND_ARG_INFO(0, connection)
308 ZEND_ARG_TYPE_INFO(0, query, IS_STRING, 0)
310
312 ZEND_ARG_OBJ_INFO(0, connection, PgSql\\Connection, 0)
313 ZEND_ARG_TYPE_INFO(0, table_name, IS_STRING, 0)
314 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, separator, IS_STRING, 0, "\"\\t\"")
315 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, null_as, IS_STRING, 0, "\"\\\\\\\\N\"")
317
318ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_pg_copy_from, 0, 3, _IS_BOOL, 0)
319 ZEND_ARG_OBJ_INFO(0, connection, PgSql\\Connection, 0)
320 ZEND_ARG_TYPE_INFO(0, table_name, IS_STRING, 0)
321 ZEND_ARG_TYPE_INFO(0, rows, IS_ARRAY, 0)
322 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, separator, IS_STRING, 0, "\"\\t\"")
323 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, null_as, IS_STRING, 0, "\"\\\\\\\\N\"")
325
326ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_pg_escape_string, 0, 1, IS_STRING, 0)
327 ZEND_ARG_INFO(0, connection)
328 ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
330
331#define arginfo_pg_escape_bytea arginfo_pg_escape_string
332
333ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_pg_unescape_bytea, 0, 1, IS_STRING, 0)
334 ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
336
338 ZEND_ARG_INFO(0, connection)
339 ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
341
342#define arginfo_pg_escape_identifier arginfo_pg_escape_literal
343
345 ZEND_ARG_OBJ_INFO(0, result, PgSql\\Result, 0)
347
349 ZEND_ARG_OBJ_INFO(0, result, PgSql\\Result, 0)
350 ZEND_ARG_TYPE_INFO(0, field_code, IS_LONG, 0)
352
353#define arginfo_pg_connection_status arginfo_pg_connect_poll
354
355#define arginfo_pg_transaction_status arginfo_pg_connect_poll
356
357ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_pg_connection_reset, 0, 1, _IS_BOOL, 0)
358 ZEND_ARG_OBJ_INFO(0, connection, PgSql\\Connection, 0)
360
361#define arginfo_pg_cancel_query arginfo_pg_connection_reset
362
363#define arginfo_pg_connection_busy arginfo_pg_connection_reset
364
366 ZEND_ARG_OBJ_INFO(0, connection, PgSql\\Connection, 0)
367 ZEND_ARG_TYPE_INFO(0, query, IS_STRING, 0)
369
370ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_pg_send_query_params, 0, 3, MAY_BE_LONG|MAY_BE_BOOL)
371 ZEND_ARG_OBJ_INFO(0, connection, PgSql\\Connection, 0)
372 ZEND_ARG_TYPE_INFO(0, query, IS_STRING, 0)
373 ZEND_ARG_TYPE_INFO(0, params, IS_ARRAY, 0)
375
377 ZEND_ARG_OBJ_INFO(0, connection, PgSql\\Connection, 0)
378 ZEND_ARG_TYPE_INFO(0, statement_name, IS_STRING, 0)
379 ZEND_ARG_TYPE_INFO(0, query, IS_STRING, 0)
381
383 ZEND_ARG_OBJ_INFO(0, connection, PgSql\\Connection, 0)
384 ZEND_ARG_TYPE_INFO(0, statement_name, IS_STRING, 0)
385 ZEND_ARG_TYPE_INFO(0, params, IS_ARRAY, 0)
387
388ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_pg_get_result, 0, 1, PgSql\\Result, MAY_BE_FALSE)
389 ZEND_ARG_OBJ_INFO(0, connection, PgSql\\Connection, 0)
391
393 ZEND_ARG_OBJ_INFO(0, result, PgSql\\Result, 0)
394 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, mode, IS_LONG, 0, "PGSQL_STATUS_LONG")
396
398 ZEND_ARG_OBJ_INFO(0, connection, PgSql\\Connection, 0)
401
402#define arginfo_pg_get_pid arginfo_pg_connect_poll
403
404ZEND_BEGIN_ARG_INFO_EX(arginfo_pg_socket, 0, 0, 1)
405 ZEND_ARG_OBJ_INFO(0, connection, PgSql\\Connection, 0)
407
408#define arginfo_pg_consume_input arginfo_pg_connection_reset
409
411 ZEND_ARG_OBJ_INFO(0, connection, PgSql\\Connection, 0)
413
415 ZEND_ARG_OBJ_INFO(0, connection, PgSql\\Connection, 0)
416 ZEND_ARG_TYPE_INFO(0, table_name, IS_STRING, 0)
417 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, extended, _IS_BOOL, 0, "false")
419
421 ZEND_ARG_OBJ_INFO(0, connection, PgSql\\Connection, 0)
422 ZEND_ARG_TYPE_INFO(0, table_name, IS_STRING, 0)
423 ZEND_ARG_TYPE_INFO(0, values, IS_ARRAY, 0)
426
428 ZEND_ARG_OBJ_INFO(0, connection, PgSql\\Connection, 0)
429 ZEND_ARG_TYPE_INFO(0, table_name, IS_STRING, 0)
430 ZEND_ARG_TYPE_INFO(0, values, IS_ARRAY, 0)
431 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flags, IS_LONG, 0, "PGSQL_DML_EXEC")
433
435 ZEND_ARG_OBJ_INFO(0, connection, PgSql\\Connection, 0)
436 ZEND_ARG_TYPE_INFO(0, table_name, IS_STRING, 0)
437 ZEND_ARG_TYPE_INFO(0, values, IS_ARRAY, 0)
438 ZEND_ARG_TYPE_INFO(0, conditions, IS_ARRAY, 0)
439 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flags, IS_LONG, 0, "PGSQL_DML_EXEC")
441
443 ZEND_ARG_OBJ_INFO(0, connection, PgSql\\Connection, 0)
444 ZEND_ARG_TYPE_INFO(0, table_name, IS_STRING, 0)
445 ZEND_ARG_TYPE_INFO(0, conditions, IS_ARRAY, 0)
446 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flags, IS_LONG, 0, "PGSQL_DML_EXEC")
448
450 ZEND_ARG_OBJ_INFO(0, connection, PgSql\\Connection, 0)
451 ZEND_ARG_TYPE_INFO(0, table_name, IS_STRING, 0)
452 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, conditions, IS_ARRAY, 0, "[]")
453 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flags, IS_LONG, 0, "PGSQL_DML_EXEC")
456
457ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_pg_set_error_context_visibility, 0, 2, IS_LONG, 0)
458 ZEND_ARG_OBJ_INFO(0, connection, PgSql\\Connection, 0)
459 ZEND_ARG_TYPE_INFO(0, visibility, IS_LONG, 0)
461
462#if defined(HAVE_PG_RESULT_MEMORY_SIZE)
463ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_pg_result_memory_size, 0, 1, IS_LONG, 0)
464 ZEND_ARG_OBJ_INFO(0, result, PgSql\\Result, 0)
466#endif
467
468ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_pg_change_password, 0, 3, _IS_BOOL, 0)
469 ZEND_ARG_OBJ_INFO(0, connection, PgSql\\Connection, 0)
470 ZEND_ARG_TYPE_INFO(0, user, IS_STRING, 0)
471 ZEND_ARG_TYPE_INFO(0, password, IS_STRING, 0)
473
474ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_pg_put_copy_data, 0, 2, IS_LONG, 0)
475 ZEND_ARG_OBJ_INFO(0, connection, PgSql\\Connection, 0)
476 ZEND_ARG_TYPE_INFO(0, cmd, IS_STRING, 0)
478
479ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_pg_put_copy_end, 0, 1, IS_LONG, 0)
480 ZEND_ARG_OBJ_INFO(0, connection, PgSql\\Connection, 0)
483
484ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_pg_socket_poll, 0, 3, IS_LONG, 0)
485 ZEND_ARG_INFO(0, socket)
486 ZEND_ARG_TYPE_INFO(0, read, IS_LONG, 0)
487 ZEND_ARG_TYPE_INFO(0, write, IS_LONG, 0)
490
491#if defined(HAVE_PG_SET_CHUNKED_ROWS_SIZE)
492ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_pg_set_chunked_rows_size, 0, 2, _IS_BOOL, 0)
493 ZEND_ARG_OBJ_INFO(0, connection, PgSql\\Connection, 0)
496#endif
497
591#if defined(HAVE_PG_RESULT_MEMORY_SIZE)
593#endif
598#if defined(HAVE_PG_SET_CHUNKED_ROWS_SIZE)
600#endif
601
602static const zend_function_entry ext_functions[] = {
603 ZEND_FE(pg_connect, arginfo_pg_connect)
605 ZEND_FE(pg_connect_poll, arginfo_pg_connect_poll)
606 ZEND_FE(pg_close, arginfo_pg_close)
607 ZEND_FE(pg_dbname, arginfo_pg_dbname)
609 ZEND_RAW_FENTRY("pg_errormessage", zif_pg_last_error, arginfo_pg_errormessage, ZEND_ACC_DEPRECATED, NULL, NULL)
614 ZEND_FE(pg_version, arginfo_pg_version)
616 ZEND_FE(pg_parameter_status, arginfo_pg_parameter_status)
617 ZEND_FE(pg_ping, arginfo_pg_ping)
618 ZEND_FE(pg_query, arginfo_pg_query)
619 ZEND_RAW_FENTRY("pg_exec", zif_pg_query, arginfo_pg_exec, 0, NULL, NULL)
620 ZEND_FE(pg_query_params, arginfo_pg_query_params)
621 ZEND_FE(pg_prepare, arginfo_pg_prepare)
622 ZEND_FE(pg_execute, arginfo_pg_execute)
623 ZEND_FE(pg_num_rows, arginfo_pg_num_rows)
624 ZEND_RAW_FENTRY("pg_numrows", zif_pg_num_rows, arginfo_pg_numrows, ZEND_ACC_DEPRECATED, NULL, NULL)
626 ZEND_RAW_FENTRY("pg_numfields", zif_pg_num_fields, arginfo_pg_numfields, ZEND_ACC_DEPRECATED, NULL, NULL)
628 ZEND_RAW_FENTRY("pg_cmdtuples", zif_pg_affected_rows, arginfo_pg_cmdtuples, ZEND_ACC_DEPRECATED, NULL, NULL)
629 ZEND_FE(pg_last_notice, arginfo_pg_last_notice)
630 ZEND_FE(pg_field_table, arginfo_pg_field_table)
631 ZEND_FE(pg_field_name, arginfo_pg_field_name)
632 ZEND_RAW_FENTRY("pg_fieldname", zif_pg_field_name, arginfo_pg_fieldname, ZEND_ACC_DEPRECATED, NULL, NULL)
633 ZEND_FE(pg_field_size, arginfo_pg_field_size)
634 ZEND_RAW_FENTRY("pg_fieldsize", zif_pg_field_size, arginfo_pg_fieldsize, ZEND_ACC_DEPRECATED, NULL, NULL)
636 ZEND_RAW_FENTRY("pg_fieldtype", zif_pg_field_type, arginfo_pg_fieldtype, ZEND_ACC_DEPRECATED, NULL, NULL)
637 ZEND_FE(pg_field_type_oid, arginfo_pg_field_type_oid)
638 ZEND_FE(pg_field_num, arginfo_pg_field_num)
639 ZEND_RAW_FENTRY("pg_fieldnum", zif_pg_field_num, arginfo_pg_fieldnum, ZEND_ACC_DEPRECATED, NULL, NULL)
640 ZEND_FE(pg_fetch_result, arginfo_pg_fetch_result)
641 ZEND_RAW_FENTRY("pg_result", zif_pg_fetch_result, arginfo_pg_result, ZEND_ACC_DEPRECATED, NULL, NULL)
642 ZEND_FE(pg_fetch_row, arginfo_pg_fetch_row)
643 ZEND_FE(pg_fetch_assoc, arginfo_pg_fetch_assoc)
644 ZEND_FE(pg_fetch_array, arginfo_pg_fetch_array)
645 ZEND_FE(pg_fetch_object, arginfo_pg_fetch_object)
646 ZEND_FE(pg_fetch_all, arginfo_pg_fetch_all)
647 ZEND_FE(pg_fetch_all_columns, arginfo_pg_fetch_all_columns)
648 ZEND_FE(pg_result_seek, arginfo_pg_result_seek)
649 ZEND_FE(pg_field_prtlen, arginfo_pg_field_prtlen)
650 ZEND_RAW_FENTRY("pg_fieldprtlen", zif_pg_fieldprtlen, arginfo_pg_fieldprtlen, ZEND_ACC_DEPRECATED, NULL, NULL)
652 ZEND_RAW_FENTRY("pg_fieldisnull", zif_pg_fieldisnull, arginfo_pg_fieldisnull, ZEND_ACC_DEPRECATED, NULL, NULL)
653 ZEND_FE(pg_free_result, arginfo_pg_free_result)
654 ZEND_RAW_FENTRY("pg_freeresult", zif_pg_free_result, arginfo_pg_freeresult, ZEND_ACC_DEPRECATED, NULL, NULL)
655 ZEND_FE(pg_last_oid, arginfo_pg_last_oid)
656 ZEND_RAW_FENTRY("pg_getlastoid", zif_pg_last_oid, arginfo_pg_getlastoid, ZEND_ACC_DEPRECATED, NULL, NULL)
657 ZEND_FE(pg_trace, arginfo_pg_trace)
659 ZEND_FE(pg_lo_create, arginfo_pg_lo_create)
660 ZEND_RAW_FENTRY("pg_locreate", zif_pg_lo_create, arginfo_pg_locreate, ZEND_ACC_DEPRECATED, NULL, NULL)
661 ZEND_FE(pg_lo_unlink, arginfo_pg_lo_unlink)
662 ZEND_RAW_FENTRY("pg_lounlink", zif_pg_lo_unlink, arginfo_pg_lounlink, ZEND_ACC_DEPRECATED, NULL, NULL)
663 ZEND_FE(pg_lo_open, arginfo_pg_lo_open)
664 ZEND_RAW_FENTRY("pg_loopen", zif_pg_lo_open, arginfo_pg_loopen, ZEND_ACC_DEPRECATED, NULL, NULL)
665 ZEND_FE(pg_lo_close, arginfo_pg_lo_close)
666 ZEND_RAW_FENTRY("pg_loclose", zif_pg_lo_close, arginfo_pg_loclose, ZEND_ACC_DEPRECATED, NULL, NULL)
667 ZEND_FE(pg_lo_read, arginfo_pg_lo_read)
668 ZEND_RAW_FENTRY("pg_loread", zif_pg_lo_read, arginfo_pg_loread, ZEND_ACC_DEPRECATED, NULL, NULL)
669 ZEND_FE(pg_lo_write, arginfo_pg_lo_write)
670 ZEND_RAW_FENTRY("pg_lowrite", zif_pg_lo_write, arginfo_pg_lowrite, ZEND_ACC_DEPRECATED, NULL, NULL)
671 ZEND_FE(pg_lo_read_all, arginfo_pg_lo_read_all)
672 ZEND_RAW_FENTRY("pg_loreadall", zif_pg_lo_read_all, arginfo_pg_loreadall, ZEND_ACC_DEPRECATED, NULL, NULL)
673 ZEND_FE(pg_lo_import, arginfo_pg_lo_import)
674 ZEND_RAW_FENTRY("pg_loimport", zif_pg_lo_import, arginfo_pg_loimport, ZEND_ACC_DEPRECATED, NULL, NULL)
675 ZEND_FE(pg_lo_export, arginfo_pg_lo_export)
676 ZEND_RAW_FENTRY("pg_loexport", zif_pg_lo_export, arginfo_pg_loexport, ZEND_ACC_DEPRECATED, NULL, NULL)
677 ZEND_FE(pg_lo_seek, arginfo_pg_lo_seek)
679 ZEND_FE(pg_lo_truncate, arginfo_pg_lo_truncate)
680 ZEND_FE(pg_set_error_verbosity, arginfo_pg_set_error_verbosity)
681 ZEND_FE(pg_set_client_encoding, arginfo_pg_set_client_encoding)
682 ZEND_RAW_FENTRY("pg_setclientencoding", zif_pg_set_client_encoding, arginfo_pg_setclientencoding, ZEND_ACC_DEPRECATED, NULL, NULL)
684 ZEND_RAW_FENTRY("pg_clientencoding", zif_pg_client_encoding, arginfo_pg_clientencoding, ZEND_ACC_DEPRECATED, NULL, NULL)
686 ZEND_FE(pg_put_line, arginfo_pg_put_line)
687 ZEND_FE(pg_copy_to, arginfo_pg_copy_to)
688 ZEND_FE(pg_copy_from, arginfo_pg_copy_from)
689 ZEND_FE(pg_escape_string, arginfo_pg_escape_string)
691 ZEND_FE(pg_unescape_bytea, arginfo_pg_unescape_bytea)
692 ZEND_FE(pg_escape_literal, arginfo_pg_escape_literal)
694 ZEND_FE(pg_result_error, arginfo_pg_result_error)
695 ZEND_FE(pg_result_error_field, arginfo_pg_result_error_field)
698 ZEND_FE(pg_connection_reset, arginfo_pg_connection_reset)
701 ZEND_FE(pg_send_query, arginfo_pg_send_query)
702 ZEND_FE(pg_send_query_params, arginfo_pg_send_query_params)
703 ZEND_FE(pg_send_prepare, arginfo_pg_send_prepare)
704 ZEND_FE(pg_send_execute, arginfo_pg_send_execute)
705 ZEND_FE(pg_get_result, arginfo_pg_get_result)
706 ZEND_FE(pg_result_status, arginfo_pg_result_status)
707 ZEND_FE(pg_get_notify, arginfo_pg_get_notify)
709 ZEND_FE(pg_socket, arginfo_pg_socket)
711 ZEND_FE(pg_flush, arginfo_pg_flush)
712 ZEND_FE(pg_meta_data, arginfo_pg_meta_data)
713 ZEND_FE(pg_convert, arginfo_pg_convert)
714 ZEND_FE(pg_insert, arginfo_pg_insert)
715 ZEND_FE(pg_update, arginfo_pg_update)
716 ZEND_FE(pg_delete, arginfo_pg_delete)
717 ZEND_FE(pg_select, arginfo_pg_select)
718 ZEND_FE(pg_set_error_context_visibility, arginfo_pg_set_error_context_visibility)
719#if defined(HAVE_PG_RESULT_MEMORY_SIZE)
720 ZEND_FE(pg_result_memory_size, arginfo_pg_result_memory_size)
721#endif
722 ZEND_FE(pg_change_password, arginfo_pg_change_password)
723 ZEND_FE(pg_put_copy_data, arginfo_pg_put_copy_data)
724 ZEND_FE(pg_put_copy_end, arginfo_pg_put_copy_end)
725 ZEND_FE(pg_socket_poll, arginfo_pg_socket_poll)
726#if defined(HAVE_PG_SET_CHUNKED_ROWS_SIZE)
727 ZEND_FE(pg_set_chunked_rows_size, arginfo_pg_set_chunked_rows_size)
728#endif
730};
731
732static void register_pgsql_symbols(int module_number)
733{
734 REGISTER_STRING_CONSTANT("PGSQL_LIBPQ_VERSION", pgsql_libpq_version, CONST_PERSISTENT);
735 REGISTER_STRING_CONSTANT("PGSQL_LIBPQ_VERSION_STR", pgsql_libpq_version, CONST_PERSISTENT | CONST_DEPRECATED);
744 REGISTER_LONG_CONSTANT("PGSQL_CONNECTION_BAD", CONNECTION_BAD, CONST_PERSISTENT);
745 REGISTER_LONG_CONSTANT("PGSQL_CONNECTION_OK", CONNECTION_OK, CONST_PERSISTENT);
746 REGISTER_LONG_CONSTANT("PGSQL_CONNECTION_STARTED", CONNECTION_STARTED, CONST_PERSISTENT);
747 REGISTER_LONG_CONSTANT("PGSQL_CONNECTION_MADE", CONNECTION_MADE, CONST_PERSISTENT);
748 REGISTER_LONG_CONSTANT("PGSQL_CONNECTION_AWAITING_RESPONSE", CONNECTION_AWAITING_RESPONSE, CONST_PERSISTENT);
749 REGISTER_LONG_CONSTANT("PGSQL_CONNECTION_AUTH_OK", CONNECTION_AUTH_OK, CONST_PERSISTENT);
750#if defined(CONNECTION_SSL_STARTUP)
751 REGISTER_LONG_CONSTANT("PGSQL_CONNECTION_SSL_STARTUP", CONNECTION_SSL_STARTUP, CONST_PERSISTENT);
752#endif
753 REGISTER_LONG_CONSTANT("PGSQL_CONNECTION_SETENV", CONNECTION_SETENV, CONST_PERSISTENT);
754 REGISTER_LONG_CONSTANT("PGSQL_POLLING_FAILED", PGRES_POLLING_FAILED, CONST_PERSISTENT);
755 REGISTER_LONG_CONSTANT("PGSQL_POLLING_READING", PGRES_POLLING_READING, CONST_PERSISTENT);
756 REGISTER_LONG_CONSTANT("PGSQL_POLLING_WRITING", PGRES_POLLING_WRITING, CONST_PERSISTENT);
757 REGISTER_LONG_CONSTANT("PGSQL_POLLING_OK", PGRES_POLLING_OK, CONST_PERSISTENT);
758 REGISTER_LONG_CONSTANT("PGSQL_POLLING_ACTIVE", PGRES_POLLING_ACTIVE, CONST_PERSISTENT);
759 REGISTER_LONG_CONSTANT("PGSQL_TRANSACTION_IDLE", PQTRANS_IDLE, CONST_PERSISTENT);
760 REGISTER_LONG_CONSTANT("PGSQL_TRANSACTION_ACTIVE", PQTRANS_ACTIVE, CONST_PERSISTENT);
761 REGISTER_LONG_CONSTANT("PGSQL_TRANSACTION_INTRANS", PQTRANS_INTRANS, CONST_PERSISTENT);
762 REGISTER_LONG_CONSTANT("PGSQL_TRANSACTION_INERROR", PQTRANS_INERROR, CONST_PERSISTENT);
763 REGISTER_LONG_CONSTANT("PGSQL_TRANSACTION_UNKNOWN", PQTRANS_UNKNOWN, CONST_PERSISTENT);
764 REGISTER_LONG_CONSTANT("PGSQL_ERRORS_TERSE", PQERRORS_TERSE, CONST_PERSISTENT);
765 REGISTER_LONG_CONSTANT("PGSQL_ERRORS_DEFAULT", PQERRORS_DEFAULT, CONST_PERSISTENT);
766 REGISTER_LONG_CONSTANT("PGSQL_ERRORS_VERBOSE", PQERRORS_VERBOSE, CONST_PERSISTENT);
767#if defined(HAVE_PQERRORS_SQLSTATE)
768 REGISTER_LONG_CONSTANT("PGSQL_ERRORS_SQLSTATE", PQERRORS_SQLSTATE, CONST_PERSISTENT);
769#endif
770#if !(defined(HAVE_PQERRORS_SQLSTATE))
771 REGISTER_LONG_CONSTANT("PGSQL_ERRORS_SQLSTATE", PQERRORS_TERSE, CONST_PERSISTENT);
772#endif
778 REGISTER_LONG_CONSTANT("PGSQL_EMPTY_QUERY", PGRES_EMPTY_QUERY, CONST_PERSISTENT);
779 REGISTER_LONG_CONSTANT("PGSQL_COMMAND_OK", PGRES_COMMAND_OK, CONST_PERSISTENT);
780 REGISTER_LONG_CONSTANT("PGSQL_TUPLES_OK", PGRES_TUPLES_OK, CONST_PERSISTENT);
781#if defined(HAVE_PG_SET_CHUNKED_ROWS_SIZE)
782 REGISTER_LONG_CONSTANT("PGSQL_TUPLES_CHUNK", PGRES_TUPLES_CHUNK, CONST_PERSISTENT);
783#endif
784 REGISTER_LONG_CONSTANT("PGSQL_COPY_OUT", PGRES_COPY_OUT, CONST_PERSISTENT);
785 REGISTER_LONG_CONSTANT("PGSQL_COPY_IN", PGRES_COPY_IN, CONST_PERSISTENT);
786 REGISTER_LONG_CONSTANT("PGSQL_BAD_RESPONSE", PGRES_BAD_RESPONSE, CONST_PERSISTENT);
787 REGISTER_LONG_CONSTANT("PGSQL_NONFATAL_ERROR", PGRES_NONFATAL_ERROR, CONST_PERSISTENT);
788 REGISTER_LONG_CONSTANT("PGSQL_FATAL_ERROR", PGRES_FATAL_ERROR, CONST_PERSISTENT);
789 REGISTER_LONG_CONSTANT("PGSQL_DIAG_SEVERITY", PG_DIAG_SEVERITY, CONST_PERSISTENT);
790 REGISTER_LONG_CONSTANT("PGSQL_DIAG_SQLSTATE", PG_DIAG_SQLSTATE, CONST_PERSISTENT);
791 REGISTER_LONG_CONSTANT("PGSQL_DIAG_MESSAGE_PRIMARY", PG_DIAG_MESSAGE_PRIMARY, CONST_PERSISTENT);
792 REGISTER_LONG_CONSTANT("PGSQL_DIAG_MESSAGE_DETAIL", PG_DIAG_MESSAGE_DETAIL, CONST_PERSISTENT);
793 REGISTER_LONG_CONSTANT("PGSQL_DIAG_MESSAGE_HINT", PG_DIAG_MESSAGE_HINT, CONST_PERSISTENT);
794 REGISTER_LONG_CONSTANT("PGSQL_DIAG_STATEMENT_POSITION", PG_DIAG_STATEMENT_POSITION, CONST_PERSISTENT);
795#if defined(PG_DIAG_INTERNAL_POSITION)
796 REGISTER_LONG_CONSTANT("PGSQL_DIAG_INTERNAL_POSITION", PG_DIAG_INTERNAL_POSITION, CONST_PERSISTENT);
797#endif
798#if defined(PG_DIAG_INTERNAL_QUERY)
799 REGISTER_LONG_CONSTANT("PGSQL_DIAG_INTERNAL_QUERY", PG_DIAG_INTERNAL_QUERY, CONST_PERSISTENT);
800#endif
801 REGISTER_LONG_CONSTANT("PGSQL_DIAG_CONTEXT", PG_DIAG_CONTEXT, CONST_PERSISTENT);
802 REGISTER_LONG_CONSTANT("PGSQL_DIAG_SOURCE_FILE", PG_DIAG_SOURCE_FILE, CONST_PERSISTENT);
803 REGISTER_LONG_CONSTANT("PGSQL_DIAG_SOURCE_LINE", PG_DIAG_SOURCE_LINE, CONST_PERSISTENT);
804 REGISTER_LONG_CONSTANT("PGSQL_DIAG_SOURCE_FUNCTION", PG_DIAG_SOURCE_FUNCTION, CONST_PERSISTENT);
805#if defined(PG_DIAG_SCHEMA_NAME)
806 REGISTER_LONG_CONSTANT("PGSQL_DIAG_SCHEMA_NAME", PG_DIAG_SCHEMA_NAME, CONST_PERSISTENT);
807#endif
808#if defined(PG_DIAG_TABLE_NAME)
809 REGISTER_LONG_CONSTANT("PGSQL_DIAG_TABLE_NAME", PG_DIAG_TABLE_NAME, CONST_PERSISTENT);
810#endif
811#if defined(PG_DIAG_COLUMN_NAME)
812 REGISTER_LONG_CONSTANT("PGSQL_DIAG_COLUMN_NAME", PG_DIAG_COLUMN_NAME, CONST_PERSISTENT);
813#endif
814#if defined(PG_DIAG_DATATYPE_NAME)
815 REGISTER_LONG_CONSTANT("PGSQL_DIAG_DATATYPE_NAME", PG_DIAG_DATATYPE_NAME, CONST_PERSISTENT);
816#endif
817#if defined(PG_DIAG_CONSTRAINT_NAME)
818 REGISTER_LONG_CONSTANT("PGSQL_DIAG_CONSTRAINT_NAME", PG_DIAG_CONSTRAINT_NAME, CONST_PERSISTENT);
819#endif
820#if defined(PG_DIAG_SEVERITY_NONLOCALIZED)
821 REGISTER_LONG_CONSTANT("PGSQL_DIAG_SEVERITY_NONLOCALIZED", PG_DIAG_SEVERITY_NONLOCALIZED, CONST_PERSISTENT);
822#endif
831#if defined(PQTRACE_SUPPPRESS_TIMESTAMPS)
832 REGISTER_LONG_CONSTANT("PGSQL_TRACE_SUPPRESS_TIMESTAMPS", PQTRACE_SUPPRESS_TIMESTAMPS, CONST_PERSISTENT);
833#endif
834#if defined(PQTRACE_REGRESS_MODE)
835 REGISTER_LONG_CONSTANT("PGSQL_TRACE_REGRESS_MODE", PQTRACE_REGRESS_MODE, CONST_PERSISTENT);
836#endif
837 REGISTER_LONG_CONSTANT("PGSQL_SHOW_CONTEXT_NEVER", PQSHOW_CONTEXT_NEVER, CONST_PERSISTENT);
838 REGISTER_LONG_CONSTANT("PGSQL_SHOW_CONTEXT_ERRORS", PQSHOW_CONTEXT_ERRORS, CONST_PERSISTENT);
839 REGISTER_LONG_CONSTANT("PGSQL_SHOW_CONTEXT_ALWAYS", PQSHOW_CONTEXT_ALWAYS, CONST_PERSISTENT);
840
841
842 zend_attribute *attribute_Deprecated_func_pg_errormessage_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "pg_errormessage", sizeof("pg_errormessage") - 1), ZSTR_KNOWN(ZEND_STR_DEPRECATED_CAPITALIZED), 2);
843 zval attribute_Deprecated_func_pg_errormessage_0_arg0;
844 zend_string *attribute_Deprecated_func_pg_errormessage_0_arg0_str = zend_string_init("8.0", strlen("8.0"), 1);
845 ZVAL_STR(&attribute_Deprecated_func_pg_errormessage_0_arg0, attribute_Deprecated_func_pg_errormessage_0_arg0_str);
846 ZVAL_COPY_VALUE(&attribute_Deprecated_func_pg_errormessage_0->args[0].value, &attribute_Deprecated_func_pg_errormessage_0_arg0);
847 attribute_Deprecated_func_pg_errormessage_0->args[0].name = ZSTR_KNOWN(ZEND_STR_SINCE);
848 zval attribute_Deprecated_func_pg_errormessage_0_arg1;
849 zend_string *attribute_Deprecated_func_pg_errormessage_0_arg1_str = zend_string_init("use pg_last_error() instead", strlen("use pg_last_error() instead"), 1);
850 ZVAL_STR(&attribute_Deprecated_func_pg_errormessage_0_arg1, attribute_Deprecated_func_pg_errormessage_0_arg1_str);
851 ZVAL_COPY_VALUE(&attribute_Deprecated_func_pg_errormessage_0->args[1].value, &attribute_Deprecated_func_pg_errormessage_0_arg1);
852 attribute_Deprecated_func_pg_errormessage_0->args[1].name = ZSTR_KNOWN(ZEND_STR_MESSAGE);
853
854 zend_attribute *attribute_Deprecated_func_pg_numrows_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "pg_numrows", sizeof("pg_numrows") - 1), ZSTR_KNOWN(ZEND_STR_DEPRECATED_CAPITALIZED), 2);
855 zval attribute_Deprecated_func_pg_numrows_0_arg0;
856 zend_string *attribute_Deprecated_func_pg_numrows_0_arg0_str = zend_string_init("8.0", strlen("8.0"), 1);
857 ZVAL_STR(&attribute_Deprecated_func_pg_numrows_0_arg0, attribute_Deprecated_func_pg_numrows_0_arg0_str);
858 ZVAL_COPY_VALUE(&attribute_Deprecated_func_pg_numrows_0->args[0].value, &attribute_Deprecated_func_pg_numrows_0_arg0);
859 attribute_Deprecated_func_pg_numrows_0->args[0].name = ZSTR_KNOWN(ZEND_STR_SINCE);
860 zval attribute_Deprecated_func_pg_numrows_0_arg1;
861 zend_string *attribute_Deprecated_func_pg_numrows_0_arg1_str = zend_string_init("use pg_num_rows() instead", strlen("use pg_num_rows() instead"), 1);
862 ZVAL_STR(&attribute_Deprecated_func_pg_numrows_0_arg1, attribute_Deprecated_func_pg_numrows_0_arg1_str);
863 ZVAL_COPY_VALUE(&attribute_Deprecated_func_pg_numrows_0->args[1].value, &attribute_Deprecated_func_pg_numrows_0_arg1);
864 attribute_Deprecated_func_pg_numrows_0->args[1].name = ZSTR_KNOWN(ZEND_STR_MESSAGE);
865
866 zend_attribute *attribute_Deprecated_func_pg_numfields_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "pg_numfields", sizeof("pg_numfields") - 1), ZSTR_KNOWN(ZEND_STR_DEPRECATED_CAPITALIZED), 2);
867 zval attribute_Deprecated_func_pg_numfields_0_arg0;
868 zend_string *attribute_Deprecated_func_pg_numfields_0_arg0_str = zend_string_init("8.0", strlen("8.0"), 1);
869 ZVAL_STR(&attribute_Deprecated_func_pg_numfields_0_arg0, attribute_Deprecated_func_pg_numfields_0_arg0_str);
870 ZVAL_COPY_VALUE(&attribute_Deprecated_func_pg_numfields_0->args[0].value, &attribute_Deprecated_func_pg_numfields_0_arg0);
871 attribute_Deprecated_func_pg_numfields_0->args[0].name = ZSTR_KNOWN(ZEND_STR_SINCE);
872 zval attribute_Deprecated_func_pg_numfields_0_arg1;
873 zend_string *attribute_Deprecated_func_pg_numfields_0_arg1_str = zend_string_init("use pg_num_fields() instead", strlen("use pg_num_fields() instead"), 1);
874 ZVAL_STR(&attribute_Deprecated_func_pg_numfields_0_arg1, attribute_Deprecated_func_pg_numfields_0_arg1_str);
875 ZVAL_COPY_VALUE(&attribute_Deprecated_func_pg_numfields_0->args[1].value, &attribute_Deprecated_func_pg_numfields_0_arg1);
876 attribute_Deprecated_func_pg_numfields_0->args[1].name = ZSTR_KNOWN(ZEND_STR_MESSAGE);
877
878 zend_attribute *attribute_Deprecated_func_pg_cmdtuples_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "pg_cmdtuples", sizeof("pg_cmdtuples") - 1), ZSTR_KNOWN(ZEND_STR_DEPRECATED_CAPITALIZED), 2);
879 zval attribute_Deprecated_func_pg_cmdtuples_0_arg0;
880 zend_string *attribute_Deprecated_func_pg_cmdtuples_0_arg0_str = zend_string_init("8.0", strlen("8.0"), 1);
881 ZVAL_STR(&attribute_Deprecated_func_pg_cmdtuples_0_arg0, attribute_Deprecated_func_pg_cmdtuples_0_arg0_str);
882 ZVAL_COPY_VALUE(&attribute_Deprecated_func_pg_cmdtuples_0->args[0].value, &attribute_Deprecated_func_pg_cmdtuples_0_arg0);
883 attribute_Deprecated_func_pg_cmdtuples_0->args[0].name = ZSTR_KNOWN(ZEND_STR_SINCE);
884 zval attribute_Deprecated_func_pg_cmdtuples_0_arg1;
885 zend_string *attribute_Deprecated_func_pg_cmdtuples_0_arg1_str = zend_string_init("use pg_affected_rows() instead", strlen("use pg_affected_rows() instead"), 1);
886 ZVAL_STR(&attribute_Deprecated_func_pg_cmdtuples_0_arg1, attribute_Deprecated_func_pg_cmdtuples_0_arg1_str);
887 ZVAL_COPY_VALUE(&attribute_Deprecated_func_pg_cmdtuples_0->args[1].value, &attribute_Deprecated_func_pg_cmdtuples_0_arg1);
888 attribute_Deprecated_func_pg_cmdtuples_0->args[1].name = ZSTR_KNOWN(ZEND_STR_MESSAGE);
889
890 zend_attribute *attribute_Deprecated_func_pg_fieldname_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "pg_fieldname", sizeof("pg_fieldname") - 1), ZSTR_KNOWN(ZEND_STR_DEPRECATED_CAPITALIZED), 2);
891 zval attribute_Deprecated_func_pg_fieldname_0_arg0;
892 zend_string *attribute_Deprecated_func_pg_fieldname_0_arg0_str = zend_string_init("8.0", strlen("8.0"), 1);
893 ZVAL_STR(&attribute_Deprecated_func_pg_fieldname_0_arg0, attribute_Deprecated_func_pg_fieldname_0_arg0_str);
894 ZVAL_COPY_VALUE(&attribute_Deprecated_func_pg_fieldname_0->args[0].value, &attribute_Deprecated_func_pg_fieldname_0_arg0);
895 attribute_Deprecated_func_pg_fieldname_0->args[0].name = ZSTR_KNOWN(ZEND_STR_SINCE);
896 zval attribute_Deprecated_func_pg_fieldname_0_arg1;
897 zend_string *attribute_Deprecated_func_pg_fieldname_0_arg1_str = zend_string_init("use pg_field_name() instead", strlen("use pg_field_name() instead"), 1);
898 ZVAL_STR(&attribute_Deprecated_func_pg_fieldname_0_arg1, attribute_Deprecated_func_pg_fieldname_0_arg1_str);
899 ZVAL_COPY_VALUE(&attribute_Deprecated_func_pg_fieldname_0->args[1].value, &attribute_Deprecated_func_pg_fieldname_0_arg1);
900 attribute_Deprecated_func_pg_fieldname_0->args[1].name = ZSTR_KNOWN(ZEND_STR_MESSAGE);
901
902 zend_attribute *attribute_Deprecated_func_pg_fieldsize_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "pg_fieldsize", sizeof("pg_fieldsize") - 1), ZSTR_KNOWN(ZEND_STR_DEPRECATED_CAPITALIZED), 2);
903 zval attribute_Deprecated_func_pg_fieldsize_0_arg0;
904 zend_string *attribute_Deprecated_func_pg_fieldsize_0_arg0_str = zend_string_init("8.0", strlen("8.0"), 1);
905 ZVAL_STR(&attribute_Deprecated_func_pg_fieldsize_0_arg0, attribute_Deprecated_func_pg_fieldsize_0_arg0_str);
906 ZVAL_COPY_VALUE(&attribute_Deprecated_func_pg_fieldsize_0->args[0].value, &attribute_Deprecated_func_pg_fieldsize_0_arg0);
907 attribute_Deprecated_func_pg_fieldsize_0->args[0].name = ZSTR_KNOWN(ZEND_STR_SINCE);
908 zval attribute_Deprecated_func_pg_fieldsize_0_arg1;
909 zend_string *attribute_Deprecated_func_pg_fieldsize_0_arg1_str = zend_string_init("use pg_field_size() instead", strlen("use pg_field_size() instead"), 1);
910 ZVAL_STR(&attribute_Deprecated_func_pg_fieldsize_0_arg1, attribute_Deprecated_func_pg_fieldsize_0_arg1_str);
911 ZVAL_COPY_VALUE(&attribute_Deprecated_func_pg_fieldsize_0->args[1].value, &attribute_Deprecated_func_pg_fieldsize_0_arg1);
912 attribute_Deprecated_func_pg_fieldsize_0->args[1].name = ZSTR_KNOWN(ZEND_STR_MESSAGE);
913
914 zend_attribute *attribute_Deprecated_func_pg_fieldtype_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "pg_fieldtype", sizeof("pg_fieldtype") - 1), ZSTR_KNOWN(ZEND_STR_DEPRECATED_CAPITALIZED), 2);
915 zval attribute_Deprecated_func_pg_fieldtype_0_arg0;
916 zend_string *attribute_Deprecated_func_pg_fieldtype_0_arg0_str = zend_string_init("8.0", strlen("8.0"), 1);
917 ZVAL_STR(&attribute_Deprecated_func_pg_fieldtype_0_arg0, attribute_Deprecated_func_pg_fieldtype_0_arg0_str);
918 ZVAL_COPY_VALUE(&attribute_Deprecated_func_pg_fieldtype_0->args[0].value, &attribute_Deprecated_func_pg_fieldtype_0_arg0);
919 attribute_Deprecated_func_pg_fieldtype_0->args[0].name = ZSTR_KNOWN(ZEND_STR_SINCE);
920 zval attribute_Deprecated_func_pg_fieldtype_0_arg1;
921 zend_string *attribute_Deprecated_func_pg_fieldtype_0_arg1_str = zend_string_init("use pg_field_type() instead", strlen("use pg_field_type() instead"), 1);
922 ZVAL_STR(&attribute_Deprecated_func_pg_fieldtype_0_arg1, attribute_Deprecated_func_pg_fieldtype_0_arg1_str);
923 ZVAL_COPY_VALUE(&attribute_Deprecated_func_pg_fieldtype_0->args[1].value, &attribute_Deprecated_func_pg_fieldtype_0_arg1);
924 attribute_Deprecated_func_pg_fieldtype_0->args[1].name = ZSTR_KNOWN(ZEND_STR_MESSAGE);
925
926 zend_attribute *attribute_Deprecated_func_pg_fieldnum_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "pg_fieldnum", sizeof("pg_fieldnum") - 1), ZSTR_KNOWN(ZEND_STR_DEPRECATED_CAPITALIZED), 2);
927 zval attribute_Deprecated_func_pg_fieldnum_0_arg0;
928 zend_string *attribute_Deprecated_func_pg_fieldnum_0_arg0_str = zend_string_init("8.0", strlen("8.0"), 1);
929 ZVAL_STR(&attribute_Deprecated_func_pg_fieldnum_0_arg0, attribute_Deprecated_func_pg_fieldnum_0_arg0_str);
930 ZVAL_COPY_VALUE(&attribute_Deprecated_func_pg_fieldnum_0->args[0].value, &attribute_Deprecated_func_pg_fieldnum_0_arg0);
931 attribute_Deprecated_func_pg_fieldnum_0->args[0].name = ZSTR_KNOWN(ZEND_STR_SINCE);
932 zval attribute_Deprecated_func_pg_fieldnum_0_arg1;
933 zend_string *attribute_Deprecated_func_pg_fieldnum_0_arg1_str = zend_string_init("use pg_field_num() instead", strlen("use pg_field_num() instead"), 1);
934 ZVAL_STR(&attribute_Deprecated_func_pg_fieldnum_0_arg1, attribute_Deprecated_func_pg_fieldnum_0_arg1_str);
935 ZVAL_COPY_VALUE(&attribute_Deprecated_func_pg_fieldnum_0->args[1].value, &attribute_Deprecated_func_pg_fieldnum_0_arg1);
936 attribute_Deprecated_func_pg_fieldnum_0->args[1].name = ZSTR_KNOWN(ZEND_STR_MESSAGE);
937
938 zend_attribute *attribute_Deprecated_func_pg_result_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "pg_result", sizeof("pg_result") - 1), ZSTR_KNOWN(ZEND_STR_DEPRECATED_CAPITALIZED), 2);
939 zval attribute_Deprecated_func_pg_result_0_arg0;
940 zend_string *attribute_Deprecated_func_pg_result_0_arg0_str = zend_string_init("8.0", strlen("8.0"), 1);
941 ZVAL_STR(&attribute_Deprecated_func_pg_result_0_arg0, attribute_Deprecated_func_pg_result_0_arg0_str);
942 ZVAL_COPY_VALUE(&attribute_Deprecated_func_pg_result_0->args[0].value, &attribute_Deprecated_func_pg_result_0_arg0);
943 attribute_Deprecated_func_pg_result_0->args[0].name = ZSTR_KNOWN(ZEND_STR_SINCE);
944 zval attribute_Deprecated_func_pg_result_0_arg1;
945 zend_string *attribute_Deprecated_func_pg_result_0_arg1_str = zend_string_init("use pg_fetch_result() instead", strlen("use pg_fetch_result() instead"), 1);
946 ZVAL_STR(&attribute_Deprecated_func_pg_result_0_arg1, attribute_Deprecated_func_pg_result_0_arg1_str);
947 ZVAL_COPY_VALUE(&attribute_Deprecated_func_pg_result_0->args[1].value, &attribute_Deprecated_func_pg_result_0_arg1);
948 attribute_Deprecated_func_pg_result_0->args[1].name = ZSTR_KNOWN(ZEND_STR_MESSAGE);
949
950 zend_attribute *attribute_Deprecated_func_pg_fieldprtlen_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "pg_fieldprtlen", sizeof("pg_fieldprtlen") - 1), ZSTR_KNOWN(ZEND_STR_DEPRECATED_CAPITALIZED), 2);
951 zval attribute_Deprecated_func_pg_fieldprtlen_0_arg0;
952 zend_string *attribute_Deprecated_func_pg_fieldprtlen_0_arg0_str = zend_string_init("8.0", strlen("8.0"), 1);
953 ZVAL_STR(&attribute_Deprecated_func_pg_fieldprtlen_0_arg0, attribute_Deprecated_func_pg_fieldprtlen_0_arg0_str);
954 ZVAL_COPY_VALUE(&attribute_Deprecated_func_pg_fieldprtlen_0->args[0].value, &attribute_Deprecated_func_pg_fieldprtlen_0_arg0);
955 attribute_Deprecated_func_pg_fieldprtlen_0->args[0].name = ZSTR_KNOWN(ZEND_STR_SINCE);
956 zval attribute_Deprecated_func_pg_fieldprtlen_0_arg1;
957 zend_string *attribute_Deprecated_func_pg_fieldprtlen_0_arg1_str = zend_string_init("use pg_field_prtlen() instead", strlen("use pg_field_prtlen() instead"), 1);
958 ZVAL_STR(&attribute_Deprecated_func_pg_fieldprtlen_0_arg1, attribute_Deprecated_func_pg_fieldprtlen_0_arg1_str);
959 ZVAL_COPY_VALUE(&attribute_Deprecated_func_pg_fieldprtlen_0->args[1].value, &attribute_Deprecated_func_pg_fieldprtlen_0_arg1);
960 attribute_Deprecated_func_pg_fieldprtlen_0->args[1].name = ZSTR_KNOWN(ZEND_STR_MESSAGE);
961
962 zend_attribute *attribute_Deprecated_func_pg_fieldisnull_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "pg_fieldisnull", sizeof("pg_fieldisnull") - 1), ZSTR_KNOWN(ZEND_STR_DEPRECATED_CAPITALIZED), 2);
963 zval attribute_Deprecated_func_pg_fieldisnull_0_arg0;
964 zend_string *attribute_Deprecated_func_pg_fieldisnull_0_arg0_str = zend_string_init("8.0", strlen("8.0"), 1);
965 ZVAL_STR(&attribute_Deprecated_func_pg_fieldisnull_0_arg0, attribute_Deprecated_func_pg_fieldisnull_0_arg0_str);
966 ZVAL_COPY_VALUE(&attribute_Deprecated_func_pg_fieldisnull_0->args[0].value, &attribute_Deprecated_func_pg_fieldisnull_0_arg0);
967 attribute_Deprecated_func_pg_fieldisnull_0->args[0].name = ZSTR_KNOWN(ZEND_STR_SINCE);
968 zval attribute_Deprecated_func_pg_fieldisnull_0_arg1;
969 zend_string *attribute_Deprecated_func_pg_fieldisnull_0_arg1_str = zend_string_init("use pg_field_is_null() instead", strlen("use pg_field_is_null() instead"), 1);
970 ZVAL_STR(&attribute_Deprecated_func_pg_fieldisnull_0_arg1, attribute_Deprecated_func_pg_fieldisnull_0_arg1_str);
971 ZVAL_COPY_VALUE(&attribute_Deprecated_func_pg_fieldisnull_0->args[1].value, &attribute_Deprecated_func_pg_fieldisnull_0_arg1);
972 attribute_Deprecated_func_pg_fieldisnull_0->args[1].name = ZSTR_KNOWN(ZEND_STR_MESSAGE);
973
974 zend_attribute *attribute_Deprecated_func_pg_freeresult_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "pg_freeresult", sizeof("pg_freeresult") - 1), ZSTR_KNOWN(ZEND_STR_DEPRECATED_CAPITALIZED), 2);
975 zval attribute_Deprecated_func_pg_freeresult_0_arg0;
976 zend_string *attribute_Deprecated_func_pg_freeresult_0_arg0_str = zend_string_init("8.0", strlen("8.0"), 1);
977 ZVAL_STR(&attribute_Deprecated_func_pg_freeresult_0_arg0, attribute_Deprecated_func_pg_freeresult_0_arg0_str);
978 ZVAL_COPY_VALUE(&attribute_Deprecated_func_pg_freeresult_0->args[0].value, &attribute_Deprecated_func_pg_freeresult_0_arg0);
979 attribute_Deprecated_func_pg_freeresult_0->args[0].name = ZSTR_KNOWN(ZEND_STR_SINCE);
980 zval attribute_Deprecated_func_pg_freeresult_0_arg1;
981 zend_string *attribute_Deprecated_func_pg_freeresult_0_arg1_str = zend_string_init("use pg_free_result() instead", strlen("use pg_free_result() instead"), 1);
982 ZVAL_STR(&attribute_Deprecated_func_pg_freeresult_0_arg1, attribute_Deprecated_func_pg_freeresult_0_arg1_str);
983 ZVAL_COPY_VALUE(&attribute_Deprecated_func_pg_freeresult_0->args[1].value, &attribute_Deprecated_func_pg_freeresult_0_arg1);
984 attribute_Deprecated_func_pg_freeresult_0->args[1].name = ZSTR_KNOWN(ZEND_STR_MESSAGE);
985
986 zend_attribute *attribute_Deprecated_func_pg_getlastoid_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "pg_getlastoid", sizeof("pg_getlastoid") - 1), ZSTR_KNOWN(ZEND_STR_DEPRECATED_CAPITALIZED), 2);
987 zval attribute_Deprecated_func_pg_getlastoid_0_arg0;
988 zend_string *attribute_Deprecated_func_pg_getlastoid_0_arg0_str = zend_string_init("8.0", strlen("8.0"), 1);
989 ZVAL_STR(&attribute_Deprecated_func_pg_getlastoid_0_arg0, attribute_Deprecated_func_pg_getlastoid_0_arg0_str);
990 ZVAL_COPY_VALUE(&attribute_Deprecated_func_pg_getlastoid_0->args[0].value, &attribute_Deprecated_func_pg_getlastoid_0_arg0);
991 attribute_Deprecated_func_pg_getlastoid_0->args[0].name = ZSTR_KNOWN(ZEND_STR_SINCE);
992 zval attribute_Deprecated_func_pg_getlastoid_0_arg1;
993 zend_string *attribute_Deprecated_func_pg_getlastoid_0_arg1_str = zend_string_init("use pg_last_oid() instead", strlen("use pg_last_oid() instead"), 1);
994 ZVAL_STR(&attribute_Deprecated_func_pg_getlastoid_0_arg1, attribute_Deprecated_func_pg_getlastoid_0_arg1_str);
995 ZVAL_COPY_VALUE(&attribute_Deprecated_func_pg_getlastoid_0->args[1].value, &attribute_Deprecated_func_pg_getlastoid_0_arg1);
996 attribute_Deprecated_func_pg_getlastoid_0->args[1].name = ZSTR_KNOWN(ZEND_STR_MESSAGE);
997
998 zend_attribute *attribute_Deprecated_func_pg_locreate_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "pg_locreate", sizeof("pg_locreate") - 1), ZSTR_KNOWN(ZEND_STR_DEPRECATED_CAPITALIZED), 2);
999 zval attribute_Deprecated_func_pg_locreate_0_arg0;
1000 zend_string *attribute_Deprecated_func_pg_locreate_0_arg0_str = zend_string_init("8.0", strlen("8.0"), 1);
1001 ZVAL_STR(&attribute_Deprecated_func_pg_locreate_0_arg0, attribute_Deprecated_func_pg_locreate_0_arg0_str);
1002 ZVAL_COPY_VALUE(&attribute_Deprecated_func_pg_locreate_0->args[0].value, &attribute_Deprecated_func_pg_locreate_0_arg0);
1003 attribute_Deprecated_func_pg_locreate_0->args[0].name = ZSTR_KNOWN(ZEND_STR_SINCE);
1004 zval attribute_Deprecated_func_pg_locreate_0_arg1;
1005 zend_string *attribute_Deprecated_func_pg_locreate_0_arg1_str = zend_string_init("use pg_lo_create() instead", strlen("use pg_lo_create() instead"), 1);
1006 ZVAL_STR(&attribute_Deprecated_func_pg_locreate_0_arg1, attribute_Deprecated_func_pg_locreate_0_arg1_str);
1007 ZVAL_COPY_VALUE(&attribute_Deprecated_func_pg_locreate_0->args[1].value, &attribute_Deprecated_func_pg_locreate_0_arg1);
1008 attribute_Deprecated_func_pg_locreate_0->args[1].name = ZSTR_KNOWN(ZEND_STR_MESSAGE);
1009
1010 zend_attribute *attribute_Deprecated_func_pg_lounlink_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "pg_lounlink", sizeof("pg_lounlink") - 1), ZSTR_KNOWN(ZEND_STR_DEPRECATED_CAPITALIZED), 2);
1011 zval attribute_Deprecated_func_pg_lounlink_0_arg0;
1012 zend_string *attribute_Deprecated_func_pg_lounlink_0_arg0_str = zend_string_init("8.0", strlen("8.0"), 1);
1013 ZVAL_STR(&attribute_Deprecated_func_pg_lounlink_0_arg0, attribute_Deprecated_func_pg_lounlink_0_arg0_str);
1014 ZVAL_COPY_VALUE(&attribute_Deprecated_func_pg_lounlink_0->args[0].value, &attribute_Deprecated_func_pg_lounlink_0_arg0);
1015 attribute_Deprecated_func_pg_lounlink_0->args[0].name = ZSTR_KNOWN(ZEND_STR_SINCE);
1016 zval attribute_Deprecated_func_pg_lounlink_0_arg1;
1017 zend_string *attribute_Deprecated_func_pg_lounlink_0_arg1_str = zend_string_init("use pg_lo_unlink() instead", strlen("use pg_lo_unlink() instead"), 1);
1018 ZVAL_STR(&attribute_Deprecated_func_pg_lounlink_0_arg1, attribute_Deprecated_func_pg_lounlink_0_arg1_str);
1019 ZVAL_COPY_VALUE(&attribute_Deprecated_func_pg_lounlink_0->args[1].value, &attribute_Deprecated_func_pg_lounlink_0_arg1);
1020 attribute_Deprecated_func_pg_lounlink_0->args[1].name = ZSTR_KNOWN(ZEND_STR_MESSAGE);
1021
1022 zend_attribute *attribute_Deprecated_func_pg_loopen_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "pg_loopen", sizeof("pg_loopen") - 1), ZSTR_KNOWN(ZEND_STR_DEPRECATED_CAPITALIZED), 2);
1023 zval attribute_Deprecated_func_pg_loopen_0_arg0;
1024 zend_string *attribute_Deprecated_func_pg_loopen_0_arg0_str = zend_string_init("8.0", strlen("8.0"), 1);
1025 ZVAL_STR(&attribute_Deprecated_func_pg_loopen_0_arg0, attribute_Deprecated_func_pg_loopen_0_arg0_str);
1026 ZVAL_COPY_VALUE(&attribute_Deprecated_func_pg_loopen_0->args[0].value, &attribute_Deprecated_func_pg_loopen_0_arg0);
1027 attribute_Deprecated_func_pg_loopen_0->args[0].name = ZSTR_KNOWN(ZEND_STR_SINCE);
1028 zval attribute_Deprecated_func_pg_loopen_0_arg1;
1029 zend_string *attribute_Deprecated_func_pg_loopen_0_arg1_str = zend_string_init("use pg_lo_open() instead", strlen("use pg_lo_open() instead"), 1);
1030 ZVAL_STR(&attribute_Deprecated_func_pg_loopen_0_arg1, attribute_Deprecated_func_pg_loopen_0_arg1_str);
1031 ZVAL_COPY_VALUE(&attribute_Deprecated_func_pg_loopen_0->args[1].value, &attribute_Deprecated_func_pg_loopen_0_arg1);
1032 attribute_Deprecated_func_pg_loopen_0->args[1].name = ZSTR_KNOWN(ZEND_STR_MESSAGE);
1033
1034 zend_attribute *attribute_Deprecated_func_pg_loclose_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "pg_loclose", sizeof("pg_loclose") - 1), ZSTR_KNOWN(ZEND_STR_DEPRECATED_CAPITALIZED), 2);
1035 zval attribute_Deprecated_func_pg_loclose_0_arg0;
1036 zend_string *attribute_Deprecated_func_pg_loclose_0_arg0_str = zend_string_init("8.0", strlen("8.0"), 1);
1037 ZVAL_STR(&attribute_Deprecated_func_pg_loclose_0_arg0, attribute_Deprecated_func_pg_loclose_0_arg0_str);
1038 ZVAL_COPY_VALUE(&attribute_Deprecated_func_pg_loclose_0->args[0].value, &attribute_Deprecated_func_pg_loclose_0_arg0);
1039 attribute_Deprecated_func_pg_loclose_0->args[0].name = ZSTR_KNOWN(ZEND_STR_SINCE);
1040 zval attribute_Deprecated_func_pg_loclose_0_arg1;
1041 zend_string *attribute_Deprecated_func_pg_loclose_0_arg1_str = zend_string_init("use pg_lo_close() instead", strlen("use pg_lo_close() instead"), 1);
1042 ZVAL_STR(&attribute_Deprecated_func_pg_loclose_0_arg1, attribute_Deprecated_func_pg_loclose_0_arg1_str);
1043 ZVAL_COPY_VALUE(&attribute_Deprecated_func_pg_loclose_0->args[1].value, &attribute_Deprecated_func_pg_loclose_0_arg1);
1044 attribute_Deprecated_func_pg_loclose_0->args[1].name = ZSTR_KNOWN(ZEND_STR_MESSAGE);
1045
1046 zend_attribute *attribute_Deprecated_func_pg_loread_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "pg_loread", sizeof("pg_loread") - 1), ZSTR_KNOWN(ZEND_STR_DEPRECATED_CAPITALIZED), 2);
1047 zval attribute_Deprecated_func_pg_loread_0_arg0;
1048 zend_string *attribute_Deprecated_func_pg_loread_0_arg0_str = zend_string_init("8.0", strlen("8.0"), 1);
1049 ZVAL_STR(&attribute_Deprecated_func_pg_loread_0_arg0, attribute_Deprecated_func_pg_loread_0_arg0_str);
1050 ZVAL_COPY_VALUE(&attribute_Deprecated_func_pg_loread_0->args[0].value, &attribute_Deprecated_func_pg_loread_0_arg0);
1051 attribute_Deprecated_func_pg_loread_0->args[0].name = ZSTR_KNOWN(ZEND_STR_SINCE);
1052 zval attribute_Deprecated_func_pg_loread_0_arg1;
1053 zend_string *attribute_Deprecated_func_pg_loread_0_arg1_str = zend_string_init("use pg_lo_read() instead", strlen("use pg_lo_read() instead"), 1);
1054 ZVAL_STR(&attribute_Deprecated_func_pg_loread_0_arg1, attribute_Deprecated_func_pg_loread_0_arg1_str);
1055 ZVAL_COPY_VALUE(&attribute_Deprecated_func_pg_loread_0->args[1].value, &attribute_Deprecated_func_pg_loread_0_arg1);
1056 attribute_Deprecated_func_pg_loread_0->args[1].name = ZSTR_KNOWN(ZEND_STR_MESSAGE);
1057
1058 zend_attribute *attribute_Deprecated_func_pg_lowrite_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "pg_lowrite", sizeof("pg_lowrite") - 1), ZSTR_KNOWN(ZEND_STR_DEPRECATED_CAPITALIZED), 2);
1059 zval attribute_Deprecated_func_pg_lowrite_0_arg0;
1060 zend_string *attribute_Deprecated_func_pg_lowrite_0_arg0_str = zend_string_init("8.0", strlen("8.0"), 1);
1061 ZVAL_STR(&attribute_Deprecated_func_pg_lowrite_0_arg0, attribute_Deprecated_func_pg_lowrite_0_arg0_str);
1062 ZVAL_COPY_VALUE(&attribute_Deprecated_func_pg_lowrite_0->args[0].value, &attribute_Deprecated_func_pg_lowrite_0_arg0);
1063 attribute_Deprecated_func_pg_lowrite_0->args[0].name = ZSTR_KNOWN(ZEND_STR_SINCE);
1064 zval attribute_Deprecated_func_pg_lowrite_0_arg1;
1065 zend_string *attribute_Deprecated_func_pg_lowrite_0_arg1_str = zend_string_init("use pg_lo_write() instead", strlen("use pg_lo_write() instead"), 1);
1066 ZVAL_STR(&attribute_Deprecated_func_pg_lowrite_0_arg1, attribute_Deprecated_func_pg_lowrite_0_arg1_str);
1067 ZVAL_COPY_VALUE(&attribute_Deprecated_func_pg_lowrite_0->args[1].value, &attribute_Deprecated_func_pg_lowrite_0_arg1);
1068 attribute_Deprecated_func_pg_lowrite_0->args[1].name = ZSTR_KNOWN(ZEND_STR_MESSAGE);
1069
1070 zend_attribute *attribute_Deprecated_func_pg_loreadall_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "pg_loreadall", sizeof("pg_loreadall") - 1), ZSTR_KNOWN(ZEND_STR_DEPRECATED_CAPITALIZED), 2);
1071 zval attribute_Deprecated_func_pg_loreadall_0_arg0;
1072 zend_string *attribute_Deprecated_func_pg_loreadall_0_arg0_str = zend_string_init("8.0", strlen("8.0"), 1);
1073 ZVAL_STR(&attribute_Deprecated_func_pg_loreadall_0_arg0, attribute_Deprecated_func_pg_loreadall_0_arg0_str);
1074 ZVAL_COPY_VALUE(&attribute_Deprecated_func_pg_loreadall_0->args[0].value, &attribute_Deprecated_func_pg_loreadall_0_arg0);
1075 attribute_Deprecated_func_pg_loreadall_0->args[0].name = ZSTR_KNOWN(ZEND_STR_SINCE);
1076 zval attribute_Deprecated_func_pg_loreadall_0_arg1;
1077 zend_string *attribute_Deprecated_func_pg_loreadall_0_arg1_str = zend_string_init("use pg_lo_read_all() instead", strlen("use pg_lo_read_all() instead"), 1);
1078 ZVAL_STR(&attribute_Deprecated_func_pg_loreadall_0_arg1, attribute_Deprecated_func_pg_loreadall_0_arg1_str);
1079 ZVAL_COPY_VALUE(&attribute_Deprecated_func_pg_loreadall_0->args[1].value, &attribute_Deprecated_func_pg_loreadall_0_arg1);
1080 attribute_Deprecated_func_pg_loreadall_0->args[1].name = ZSTR_KNOWN(ZEND_STR_MESSAGE);
1081
1082 zend_attribute *attribute_Deprecated_func_pg_loimport_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "pg_loimport", sizeof("pg_loimport") - 1), ZSTR_KNOWN(ZEND_STR_DEPRECATED_CAPITALIZED), 2);
1083 zval attribute_Deprecated_func_pg_loimport_0_arg0;
1084 zend_string *attribute_Deprecated_func_pg_loimport_0_arg0_str = zend_string_init("8.0", strlen("8.0"), 1);
1085 ZVAL_STR(&attribute_Deprecated_func_pg_loimport_0_arg0, attribute_Deprecated_func_pg_loimport_0_arg0_str);
1086 ZVAL_COPY_VALUE(&attribute_Deprecated_func_pg_loimport_0->args[0].value, &attribute_Deprecated_func_pg_loimport_0_arg0);
1087 attribute_Deprecated_func_pg_loimport_0->args[0].name = ZSTR_KNOWN(ZEND_STR_SINCE);
1088 zval attribute_Deprecated_func_pg_loimport_0_arg1;
1089 zend_string *attribute_Deprecated_func_pg_loimport_0_arg1_str = zend_string_init("use pg_lo_import() instead", strlen("use pg_lo_import() instead"), 1);
1090 ZVAL_STR(&attribute_Deprecated_func_pg_loimport_0_arg1, attribute_Deprecated_func_pg_loimport_0_arg1_str);
1091 ZVAL_COPY_VALUE(&attribute_Deprecated_func_pg_loimport_0->args[1].value, &attribute_Deprecated_func_pg_loimport_0_arg1);
1092 attribute_Deprecated_func_pg_loimport_0->args[1].name = ZSTR_KNOWN(ZEND_STR_MESSAGE);
1093
1094 zend_attribute *attribute_Deprecated_func_pg_loexport_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "pg_loexport", sizeof("pg_loexport") - 1), ZSTR_KNOWN(ZEND_STR_DEPRECATED_CAPITALIZED), 2);
1095 zval attribute_Deprecated_func_pg_loexport_0_arg0;
1096 zend_string *attribute_Deprecated_func_pg_loexport_0_arg0_str = zend_string_init("8.0", strlen("8.0"), 1);
1097 ZVAL_STR(&attribute_Deprecated_func_pg_loexport_0_arg0, attribute_Deprecated_func_pg_loexport_0_arg0_str);
1098 ZVAL_COPY_VALUE(&attribute_Deprecated_func_pg_loexport_0->args[0].value, &attribute_Deprecated_func_pg_loexport_0_arg0);
1099 attribute_Deprecated_func_pg_loexport_0->args[0].name = ZSTR_KNOWN(ZEND_STR_SINCE);
1100 zval attribute_Deprecated_func_pg_loexport_0_arg1;
1101 zend_string *attribute_Deprecated_func_pg_loexport_0_arg1_str = zend_string_init("use pg_lo_export() instead", strlen("use pg_lo_export() instead"), 1);
1102 ZVAL_STR(&attribute_Deprecated_func_pg_loexport_0_arg1, attribute_Deprecated_func_pg_loexport_0_arg1_str);
1103 ZVAL_COPY_VALUE(&attribute_Deprecated_func_pg_loexport_0->args[1].value, &attribute_Deprecated_func_pg_loexport_0_arg1);
1104 attribute_Deprecated_func_pg_loexport_0->args[1].name = ZSTR_KNOWN(ZEND_STR_MESSAGE);
1105
1106 zend_attribute *attribute_Deprecated_func_pg_setclientencoding_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "pg_setclientencoding", sizeof("pg_setclientencoding") - 1), ZSTR_KNOWN(ZEND_STR_DEPRECATED_CAPITALIZED), 2);
1107 zval attribute_Deprecated_func_pg_setclientencoding_0_arg0;
1108 zend_string *attribute_Deprecated_func_pg_setclientencoding_0_arg0_str = zend_string_init("8.0", strlen("8.0"), 1);
1109 ZVAL_STR(&attribute_Deprecated_func_pg_setclientencoding_0_arg0, attribute_Deprecated_func_pg_setclientencoding_0_arg0_str);
1110 ZVAL_COPY_VALUE(&attribute_Deprecated_func_pg_setclientencoding_0->args[0].value, &attribute_Deprecated_func_pg_setclientencoding_0_arg0);
1111 attribute_Deprecated_func_pg_setclientencoding_0->args[0].name = ZSTR_KNOWN(ZEND_STR_SINCE);
1112 zval attribute_Deprecated_func_pg_setclientencoding_0_arg1;
1113 zend_string *attribute_Deprecated_func_pg_setclientencoding_0_arg1_str = zend_string_init("use pg_set_client_encoding() instead", strlen("use pg_set_client_encoding() instead"), 1);
1114 ZVAL_STR(&attribute_Deprecated_func_pg_setclientencoding_0_arg1, attribute_Deprecated_func_pg_setclientencoding_0_arg1_str);
1115 ZVAL_COPY_VALUE(&attribute_Deprecated_func_pg_setclientencoding_0->args[1].value, &attribute_Deprecated_func_pg_setclientencoding_0_arg1);
1116 attribute_Deprecated_func_pg_setclientencoding_0->args[1].name = ZSTR_KNOWN(ZEND_STR_MESSAGE);
1117
1118 zend_attribute *attribute_Deprecated_func_pg_clientencoding_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "pg_clientencoding", sizeof("pg_clientencoding") - 1), ZSTR_KNOWN(ZEND_STR_DEPRECATED_CAPITALIZED), 2);
1119 zval attribute_Deprecated_func_pg_clientencoding_0_arg0;
1120 zend_string *attribute_Deprecated_func_pg_clientencoding_0_arg0_str = zend_string_init("8.0", strlen("8.0"), 1);
1121 ZVAL_STR(&attribute_Deprecated_func_pg_clientencoding_0_arg0, attribute_Deprecated_func_pg_clientencoding_0_arg0_str);
1122 ZVAL_COPY_VALUE(&attribute_Deprecated_func_pg_clientencoding_0->args[0].value, &attribute_Deprecated_func_pg_clientencoding_0_arg0);
1123 attribute_Deprecated_func_pg_clientencoding_0->args[0].name = ZSTR_KNOWN(ZEND_STR_SINCE);
1124 zval attribute_Deprecated_func_pg_clientencoding_0_arg1;
1125 zend_string *attribute_Deprecated_func_pg_clientencoding_0_arg1_str = zend_string_init("use pg_client_encoding() instead", strlen("use pg_client_encoding() instead"), 1);
1126 ZVAL_STR(&attribute_Deprecated_func_pg_clientencoding_0_arg1, attribute_Deprecated_func_pg_clientencoding_0_arg1_str);
1127 ZVAL_COPY_VALUE(&attribute_Deprecated_func_pg_clientencoding_0->args[1].value, &attribute_Deprecated_func_pg_clientencoding_0_arg1);
1128 attribute_Deprecated_func_pg_clientencoding_0->args[1].name = ZSTR_KNOWN(ZEND_STR_MESSAGE);
1129
1130 zend_add_parameter_attribute(zend_hash_str_find_ptr(CG(function_table), "pg_change_password", sizeof("pg_change_password") - 1), 2, ZSTR_KNOWN(ZEND_STR_SENSITIVEPARAMETER), 0);
1131}
1132
1133static zend_class_entry *register_class_PgSql_Connection(void)
1134{
1135 zend_class_entry ce, *class_entry;
1136
1137 INIT_NS_CLASS_ENTRY(ce, "PgSql", "Connection", NULL);
1139
1140 return class_entry;
1141}
1142
1143static zend_class_entry *register_class_PgSql_Result(void)
1144{
1145 zend_class_entry ce, *class_entry;
1146
1147 INIT_NS_CLASS_ENTRY(ce, "PgSql", "Result", NULL);
1149
1150 return class_entry;
1151}
1152
1153static zend_class_entry *register_class_PgSql_Lob(void)
1154{
1155 zend_class_entry ce, *class_entry;
1156
1157 INIT_NS_CLASS_ENTRY(ce, "PgSql", "Lob", NULL);
1159
1160 return class_entry;
1161}
error($message)
Definition ext_skel.php:22
new_type size
Definition ffi.c:4365
const SEEK_CUR
Definition file.stub.php:16
const SEEK_END
Definition file.stub.php:21
zend_long offset
char * mode
#define SEEK_SET
Definition gd_io_file.c:20
#define NULL
Definition gdcache.h:45
pg_get_result(PgSql\Connection $connection)
pg_trace(string $filename, string $mode="w", ?PgSql\Connection $connection=null, int $trace_mode=0)
pg_fetch_result(PgSql\Result $result, $row, string|int $field=UNKNOWN)
pg_lo_close(PgSql\Lob $lob)
pg_parameter_status($connection, string $name=UNKNOWN)
pg_lo_seek(PgSql\Lob $lob, int $offset, int $whence=SEEK_CUR)
pg_unescape_bytea(string $string)
pg_field_prtlen(PgSql\Result $result, $row, string|int $field=UNKNOWN)
pg_pconnect(string $connection_string, int $flags=0)
const PGSQL_CONNECT_ASYNC
const PGSQL_CONV_FORCE_NULL
pg_select(PgSql\Connection $connection, string $table_name, array $conditions=[], int $flags=PGSQL_DML_EXEC, int $mode=PGSQL_ASSOC)
pg_lo_unlink($connection, $oid=UNKNOWN)
pg_untrace(?PgSql\Connection $connection=null)
pg_prepare($connection, string $statement_name, string $query=UNKNOWN)
pg_close(?PgSql\Connection $connection=null)
pg_field_name(PgSql\Result $result, int $field)
const PGSQL_ASSOC
pg_fetch_all_columns(PgSql\Result $result, int $field=0)
pg_set_error_verbosity($connection, int $verbosity=UNKNOWN)
pg_fieldprtlen(PgSql\Result $result, $row, string|int $field=UNKNOWN)
pg_field_type(PgSql\Result $result, int $field)
pg_query($connection, string $query=UNKNOWN)
pg_lo_tell(PgSql\Lob $lob)
pg_fetch_array(PgSql\Result $result, ?int $row=null, int $mode=PGSQL_BOTH)
const PGSQL_CONV_IGNORE_NOT_NULL
pg_escape_literal($connection, string $string=UNKNOWN)
pg_set_client_encoding($connection, string $encoding=UNKNOWN)
pg_connection_status(PgSql\Connection $connection)
const PGSQL_STATUS_STRING
pg_convert(PgSql\Connection $connection, string $table_name, array $values, int $flags=0)
pg_socket(PgSql\Connection $connection)
pg_result_status(PgSql\Result $result, int $mode=PGSQL_STATUS_LONG)
pg_field_type_oid(PgSql\Result $result, int $field)
pg_connect(string $connection_string, int $flags=0)
pg_escape_string($connection, string $string=UNKNOWN)
const PGSQL_CONNECT_FORCE_NEW
pg_free_result(PgSql\Result $result)
pg_field_table(PgSql\Result $result, int $field, bool $oid_only=false)
pg_port(?PgSql\Connection $connection=null)
pg_put_copy_data(PgSql\Connection $connection, string $cmd)
pg_version(?PgSql\Connection $connection=null)
pg_client_encoding(?PgSql\Connection $connection=null)
pg_meta_data(PgSql\Connection $connection, string $table_name, bool $extended=false)
const PGSQL_NOTICE_CLEAR
pg_last_error(?PgSql\Connection $connection=null)
pg_last_notice(PgSql\Connection $connection, int $mode=PGSQL_NOTICE_LAST)
pg_flush(PgSql\Connection $connection)
pg_num_rows(PgSql\Result $result)
const PGSQL_DML_NO_CONV
pg_lo_open($connection, $oid=UNKNOWN, string $mode=UNKNOWN)
pg_lo_truncate(PgSql\Lob $lob, int $size)
const PGSQL_DML_ESCAPE
pg_result_seek(PgSql\Result $result, int $row)
pg_ping(?PgSql\Connection $connection=null)
pg_put_line($connection, string $query=UNKNOWN)
pg_num_fields(PgSql\Result $result)
pg_escape_bytea($connection, string $string=UNKNOWN)
const PGSQL_DML_STRING
pg_field_num(PgSql\Result $result, string $field)
pg_lo_export($connection, $oid=UNKNOWN, $filename=UNKNOWN)
pg_result_memory_size(PgSql\Result $result)
pg_fieldisnull(PgSql\Result $result, $row, string|int $field=UNKNOWN)
pg_escape_identifier($connection, string $string=UNKNOWN)
const PGSQL_DML_EXEC
pg_fetch_all(PgSql\Result $result, int $mode=PGSQL_ASSOC)
pg_fetch_row(PgSql\Result $result, ?int $row=null, int $mode=PGSQL_NUM)
pg_connect_poll(PgSql\Connection $connection)
pg_get_pid(PgSql\Connection $connection)
pg_options(?PgSql\Connection $connection=null)
const PGSQL_BOTH
pg_send_prepare(PgSql\Connection $connection, string $statement_name, string $query)
pg_send_execute(PgSql\Connection $connection, string $statement_name, array $params)
pg_send_query(PgSql\Connection $connection, string $query)
const PGSQL_STATUS_LONG
pg_query_params($connection, $query, array $params=UNKNOWN)
pg_transaction_status(PgSql\Connection $connection)
pg_cancel_query(PgSql\Connection $connection)
const PGSQL_NOTICE_ALL
pg_consume_input(PgSql\Connection $connection)
pg_tty(?PgSql\Connection $connection=null)
pg_end_copy(?PgSql\Connection $connection=null)
pg_connection_busy(PgSql\Connection $connection)
pg_lo_write(PgSql\Lob $lob, string $data, ?int $length=null)
pg_execute($connection, $statement_name, array $params=UNKNOWN)
pg_result_error(PgSql\Result $result)
pg_last_oid(PgSql\Result $result)
const PGSQL_CONV_IGNORE_DEFAULT
pg_result_error_field(PgSql\Result $result, int $field_code)
pg_field_is_null(PgSql\Result $result, $row, string|int $field=UNKNOWN)
pg_fetch_object(PgSql\Result $result, ?int $row=null, string $class="stdClass", array $constructor_args=[])
pg_copy_from(PgSql\Connection $connection, string $table_name, array $rows, string $separator="\t", string $null_as="\\\\N")
pg_fetch_assoc(PgSql\Result $result, ?int $row=null)
pg_affected_rows(PgSql\Result $result)
const PGSQL_NUM
pg_dbname(?PgSql\Connection $connection=null)
pg_host(?PgSql\Connection $connection=null)
pg_lo_read(PgSql\Lob $lob, int $length=8192)
pg_insert(PgSql\Connection $connection, string $table_name, array $values, int $flags=PGSQL_DML_EXEC)
pg_lo_create($connection=UNKNOWN, $oid=UNKNOWN)
pg_get_notify(PgSql\Connection $connection, int $mode=PGSQL_ASSOC)
pg_delete(PgSql\Connection $connection, string $table_name, array $conditions, int $flags=PGSQL_DML_EXEC)
pg_change_password(PgSql\Connection $connection, string $user, #[\SensitiveParameter] string $password)
pg_send_query_params(PgSql\Connection $connection, string $query, array $params)
const PGSQL_NOTICE_LAST
pg_lo_import($connection, $filename=UNKNOWN, $oid=UNKNOWN)
pg_copy_to(PgSql\Connection $connection, string $table_name, string $separator="\t", string $null_as="\\\\N")
pg_socket_poll($socket, int $read, int $write, int $timeout=-1)
pg_field_size(PgSql\Result $result, int $field)
pg_put_copy_end(PgSql\Connection $connection, ?string $error=null)
pg_jit(?PgSql\Connection $connection=null)
const PGSQL_DML_ASYNC
pg_lo_read_all(PgSql\Lob $lob)
pg_set_chunked_rows_size(PgSql\Connection $connection, int $size)
pg_set_error_context_visibility(PgSql\Connection $connection, int $visibility)
pg_connection_reset(PgSql\Connection $connection)
pg_update(PgSql\Connection $connection, string $table_name, array $values, array $conditions, int $flags=PGSQL_DML_EXEC)
#define arginfo_pg_escape_bytea
#define arginfo_pg_tty
#define arginfo_pg_last_error
#define arginfo_pg_field_type
#define arginfo_pg_consume_input
#define arginfo_pg_fieldsize
#define arginfo_pg_affected_rows
#define arginfo_pg_fieldnum
#define arginfo_pg_get_pid
#define arginfo_pg_port
#define arginfo_pg_numrows
#define arginfo_pg_lounlink
#define arginfo_pg_connection_status
#define arginfo_pg_getlastoid
#define arginfo_pg_loclose
#define arginfo_pg_lowrite
#define arginfo_pg_locreate
#define arginfo_pg_loopen
#define arginfo_pg_fieldname
#define arginfo_pg_end_copy
#define arginfo_pg_connection_busy
#define arginfo_pg_setclientencoding
#define arginfo_pg_lo_tell
#define arginfo_pg_untrace
#define arginfo_pg_escape_identifier
#define arginfo_pg_errormessage
#define arginfo_pg_fieldprtlen
#define arginfo_pg_pconnect
#define arginfo_pg_loexport
#define arginfo_pg_result
#define arginfo_pg_freeresult
#define arginfo_pg_fieldisnull
#define arginfo_pg_exec
#define arginfo_pg_jit
#define arginfo_pg_transaction_status
#define arginfo_pg_cmdtuples
#define arginfo_pg_loreadall
#define arginfo_pg_cancel_query
#define arginfo_pg_numfields
#define arginfo_pg_num_fields
#define arginfo_pg_field_is_null
#define arginfo_pg_options
#define arginfo_pg_client_encoding
#define arginfo_pg_loimport
#define arginfo_pg_fieldtype
#define arginfo_pg_loread
#define arginfo_pg_host
#define arginfo_pg_clientencoding
xmlCharEncodingHandlerPtr encoding
Definition php_soap.h:170
zend_constant * data
zend_attribute_arg args[1]
ZEND_API zend_class_entry * zend_register_internal_class_with_flags(zend_class_entry *class_entry, zend_class_entry *parent_ce, uint32_t ce_flags)
Definition zend_API.c:3512
#define ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(name, return_reference, required_num_args, class_name, type)
Definition zend_API.h:195
#define ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(name, return_reference, required_num_args, type)
Definition zend_API.h:185
#define ZEND_FE_END
Definition zend_API.h:124
#define ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(pass_by_ref, name, class_name, allow_null, default_value)
Definition zend_API.h:156
struct _zend_function_entry zend_function_entry
#define ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(name, return_reference, required_num_args, type, allow_null)
Definition zend_API.h:205
#define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags, frameless_function_infos, doc_comment)
Definition zend_API.h:80
#define ZEND_ARG_INFO(pass_by_ref, name)
Definition zend_API.h:130
#define ZEND_ARG_TYPE_MASK(pass_by_ref, name, type_mask, default_value)
Definition zend_API.h:146
#define ZEND_END_ARG_INFO()
Definition zend_API.h:219
#define ZEND_ARG_OBJ_INFO(pass_by_ref, name, class_name, allow_null)
Definition zend_API.h:154
#define ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(pass_by_ref, name, type_hint, allow_null, default_value)
Definition zend_API.h:140
#define ZEND_ARG_TYPE_INFO(pass_by_ref, name, type_hint, allow_null)
Definition zend_API.h:138
#define ZEND_BEGIN_ARG_INFO_EX(name, _unused, return_reference, required_num_args)
Definition zend_API.h:214
#define ZEND_FE(name, arg_info)
Definition zend_API.h:86
#define ZEND_FUNCTION(name)
Definition zend_API.h:75
#define INIT_NS_CLASS_ENTRY(class_container, ns, class_name, functions)
Definition zend_API.h:325
struct _zend_attribute zend_attribute
struct _zval_struct zval
strlen(string $string)
#define ZEND_ACC_NO_DYNAMIC_PROPERTIES
#define ZEND_ACC_FINAL
#define ZEND_ACC_NOT_SERIALIZABLE
#define ZEND_ACC_DEPRECATED
#define REGISTER_STRING_CONSTANT(name, str, flags)
#define CONST_PERSISTENT
#define CONST_DEPRECATED
#define REGISTER_LONG_CONSTANT(name, lval, flags)
#define CG(v)
struct _zend_string zend_string
struct _zend_class_entry zend_class_entry
#define ZSTR_KNOWN(idx)
#define MAY_BE_STRING
#define MAY_BE_FALSE
#define MAY_BE_BOOL
#define MAY_BE_NULL
#define MAY_BE_LONG
#define MAY_BE_OBJECT
#define MAY_BE_ARRAY
#define IS_TRUE
Definition zend_types.h:603
#define ZVAL_STR(z, s)
#define IS_STRING
Definition zend_types.h:606
#define IS_ARRAY
Definition zend_types.h:607
#define IS_LONG
Definition zend_types.h:604
#define _IS_BOOL
Definition zend_types.h:629
#define ZVAL_COPY_VALUE(z, v)
zend_string * name
bool result