@@ -212,7 +212,100 @@ static const func_info_t func_infos[] = {
212
212
F1 ("exif_tagname" , MAY_BE_STRING |MAY_BE_FALSE ),
213
213
F1 ("exif_read_data" , MAY_BE_ARRAY |MAY_BE_ARRAY_KEY_STRING |MAY_BE_ARRAY_OF_ANY |MAY_BE_FALSE ),
214
214
F1 ("exif_thumbnail" , MAY_BE_STRING |MAY_BE_FALSE ),
215
+ F1 ("pg_dbname" , MAY_BE_STRING ),
216
+ F1 ("pg_options" , MAY_BE_STRING ),
217
+ F1 ("pg_port" , MAY_BE_STRING ),
218
+ F1 ("pg_tty" , MAY_BE_STRING ),
219
+ F1 ("pg_host" , MAY_BE_STRING ),
220
+ F1 ("pg_version" , MAY_BE_ARRAY |MAY_BE_ARRAY_KEY_STRING |MAY_BE_ARRAY_OF_LONG |MAY_BE_ARRAY_OF_STRING |MAY_BE_ARRAY_OF_NULL ),
221
+ F1 ("pg_parameter_status" , MAY_BE_STRING |MAY_BE_FALSE ),
222
+ F1 ("pg_query" , MAY_BE_OBJECT |MAY_BE_FALSE ),
223
+ F1 ("pg_query_params" , MAY_BE_OBJECT |MAY_BE_FALSE ),
224
+ F1 ("pg_prepare" , MAY_BE_OBJECT |MAY_BE_FALSE ),
225
+ F1 ("pg_execute" , MAY_BE_OBJECT |MAY_BE_FALSE ),
226
+ F1 ("pg_field_name" , MAY_BE_STRING ),
227
+ F1 ("pg_field_type_oid" , MAY_BE_STRING |MAY_BE_LONG ),
228
+ F1 ("pg_fetch_result" , MAY_BE_STRING |MAY_BE_FALSE |MAY_BE_NULL ),
229
+ F1 ("pg_fetch_row" , MAY_BE_ARRAY |MAY_BE_ARRAY_KEY_LONG |MAY_BE_ARRAY_KEY_STRING |MAY_BE_ARRAY_OF_STRING |MAY_BE_ARRAY_OF_NULL |MAY_BE_FALSE ),
230
+ F1 ("pg_fetch_assoc" , MAY_BE_ARRAY |MAY_BE_ARRAY_KEY_LONG |MAY_BE_ARRAY_KEY_STRING |MAY_BE_ARRAY_OF_STRING |MAY_BE_ARRAY_OF_NULL |MAY_BE_FALSE ),
231
+ F1 ("pg_fetch_array" , MAY_BE_ARRAY |MAY_BE_ARRAY_KEY_LONG |MAY_BE_ARRAY_KEY_STRING |MAY_BE_ARRAY_OF_STRING |MAY_BE_ARRAY_OF_NULL |MAY_BE_FALSE ),
232
+ F1 ("pg_fetch_object" , MAY_BE_OBJECT |MAY_BE_FALSE ),
233
+ F1 ("pg_fetch_all" , MAY_BE_ARRAY |MAY_BE_ARRAY_KEY_LONG |MAY_BE_ARRAY_OF_ARRAY ),
234
+ F1 ("pg_fetch_all_columns" , MAY_BE_ARRAY |MAY_BE_ARRAY_KEY_LONG |MAY_BE_ARRAY_OF_STRING |MAY_BE_ARRAY_OF_NULL ),
235
+ F1 ("pg_last_oid" , MAY_BE_STRING |MAY_BE_LONG |MAY_BE_FALSE ),
236
+ F1 ("pg_lo_create" , MAY_BE_STRING |MAY_BE_LONG |MAY_BE_FALSE ),
237
+ F1 ("pg_lo_open" , MAY_BE_OBJECT |MAY_BE_FALSE ),
238
+ F1 ("pg_lo_read" , MAY_BE_STRING |MAY_BE_FALSE ),
239
+ F1 ("pg_lo_import" , MAY_BE_STRING |MAY_BE_LONG |MAY_BE_FALSE ),
240
+ F1 ("pg_copy_to" , MAY_BE_ARRAY |MAY_BE_ARRAY_KEY_LONG |MAY_BE_ARRAY_OF_STRING |MAY_BE_FALSE ),
241
+ F1 ("pg_escape_string" , MAY_BE_STRING ),
242
+ F1 ("pg_escape_bytea" , MAY_BE_STRING ),
243
+ F1 ("pg_unescape_bytea" , MAY_BE_STRING ),
244
+ F1 ("pg_escape_literal" , MAY_BE_STRING |MAY_BE_FALSE ),
245
+ F1 ("pg_escape_identifier" , MAY_BE_STRING |MAY_BE_FALSE ),
246
+ F1 ("pg_result_error" , MAY_BE_STRING |MAY_BE_FALSE ),
247
+ F1 ("pg_result_error_field" , MAY_BE_STRING |MAY_BE_FALSE |MAY_BE_NULL ),
248
+ F1 ("pg_get_result" , MAY_BE_OBJECT |MAY_BE_FALSE ),
249
+ F1 ("pg_result_status" , MAY_BE_STRING |MAY_BE_LONG ),
250
+ F1 ("pg_get_notify" , MAY_BE_ARRAY |MAY_BE_ARRAY_KEY_LONG |MAY_BE_ARRAY_KEY_STRING |MAY_BE_ARRAY_OF_ANY |MAY_BE_FALSE ),
215
251
F1 ("pg_socket" , MAY_BE_RESOURCE |MAY_BE_FALSE ),
252
+ F1 ("pg_meta_data" , MAY_BE_ARRAY |MAY_BE_ARRAY_KEY_STRING |MAY_BE_ARRAY_OF_ARRAY |MAY_BE_FALSE ),
253
+ F1 ("pg_convert" , MAY_BE_ARRAY |MAY_BE_ARRAY_KEY_STRING |MAY_BE_ARRAY_OF_ANY |MAY_BE_FALSE ),
254
+ F1 ("pg_insert" , MAY_BE_OBJECT |MAY_BE_STRING |MAY_BE_BOOL ),
255
+ F1 ("pg_update" , MAY_BE_STRING |MAY_BE_BOOL ),
256
+ F1 ("pg_delete" , MAY_BE_STRING |MAY_BE_BOOL ),
257
+ F1 ("pg_select" , MAY_BE_ARRAY |MAY_BE_ARRAY_KEY_LONG |MAY_BE_ARRAY_OF_ARRAY |MAY_BE_STRING |MAY_BE_FALSE ),
258
+ F1 ("gd_info" , MAY_BE_ARRAY |MAY_BE_ARRAY_KEY_STRING |MAY_BE_ARRAY_OF_STRING |MAY_BE_ARRAY_OF_FALSE |MAY_BE_ARRAY_OF_TRUE ),
259
+ F1 ("imagecreatetruecolor" , MAY_BE_OBJECT |MAY_BE_FALSE ),
260
+ #if defined(PHP_WIN32 )
261
+ F1 ("imagegrabwindow" , MAY_BE_OBJECT |MAY_BE_FALSE ),
262
+ #endif
263
+ #if defined(PHP_WIN32 )
264
+ F1 ("imagegrabscreen" , MAY_BE_OBJECT |MAY_BE_FALSE ),
265
+ #endif
266
+ F1 ("imagerotate" , MAY_BE_OBJECT |MAY_BE_FALSE ),
267
+ F1 ("imagecreate" , MAY_BE_OBJECT |MAY_BE_FALSE ),
268
+ F1 ("imagecreatefromstring" , MAY_BE_OBJECT |MAY_BE_FALSE ),
269
+ #if defined(HAVE_GD_AVIF )
270
+ F1 ("imagecreatefromavif" , MAY_BE_OBJECT |MAY_BE_FALSE ),
271
+ #endif
272
+ F1 ("imagecreatefromgif" , MAY_BE_OBJECT |MAY_BE_FALSE ),
273
+ #if defined(HAVE_GD_JPG )
274
+ F1 ("imagecreatefromjpeg" , MAY_BE_OBJECT |MAY_BE_FALSE ),
275
+ #endif
276
+ #if defined(HAVE_GD_PNG )
277
+ F1 ("imagecreatefrompng" , MAY_BE_OBJECT |MAY_BE_FALSE ),
278
+ #endif
279
+ #if defined(HAVE_GD_WEBP )
280
+ F1 ("imagecreatefromwebp" , MAY_BE_OBJECT |MAY_BE_FALSE ),
281
+ #endif
282
+ F1 ("imagecreatefromxbm" , MAY_BE_OBJECT |MAY_BE_FALSE ),
283
+ #if defined(HAVE_GD_XPM )
284
+ F1 ("imagecreatefromxpm" , MAY_BE_OBJECT |MAY_BE_FALSE ),
285
+ #endif
286
+ F1 ("imagecreatefromwbmp" , MAY_BE_OBJECT |MAY_BE_FALSE ),
287
+ F1 ("imagecreatefromgd" , MAY_BE_OBJECT |MAY_BE_FALSE ),
288
+ F1 ("imagecreatefromgd2" , MAY_BE_OBJECT |MAY_BE_FALSE ),
289
+ F1 ("imagecreatefromgd2part" , MAY_BE_OBJECT |MAY_BE_FALSE ),
290
+ #if defined(HAVE_GD_BMP )
291
+ F1 ("imagecreatefrombmp" , MAY_BE_OBJECT |MAY_BE_FALSE ),
292
+ #endif
293
+ F0 ("imagecolorset" , MAY_BE_FALSE |MAY_BE_NULL ),
294
+ F1 ("imagecolorsforindex" , MAY_BE_ARRAY |MAY_BE_ARRAY_KEY_STRING |MAY_BE_ARRAY_OF_LONG ),
295
+ F1 ("imagegetclip" , MAY_BE_ARRAY |MAY_BE_ARRAY_KEY_LONG |MAY_BE_ARRAY_OF_LONG ),
296
+ #if defined(HAVE_GD_FREETYPE )
297
+ F1 ("imageftbbox" , MAY_BE_ARRAY |MAY_BE_ARRAY_KEY_LONG |MAY_BE_ARRAY_OF_LONG |MAY_BE_FALSE ),
298
+ #endif
299
+ #if defined(HAVE_GD_FREETYPE )
300
+ F1 ("imagefttext" , MAY_BE_ARRAY |MAY_BE_ARRAY_KEY_LONG |MAY_BE_ARRAY_OF_LONG |MAY_BE_FALSE ),
301
+ #endif
302
+ F1 ("imagecrop" , MAY_BE_OBJECT |MAY_BE_FALSE ),
303
+ F1 ("imagecropauto" , MAY_BE_OBJECT |MAY_BE_FALSE ),
304
+ F1 ("imagescale" , MAY_BE_OBJECT |MAY_BE_FALSE ),
305
+ F1 ("imageaffine" , MAY_BE_OBJECT |MAY_BE_FALSE ),
306
+ F1 ("imageaffinematrixget" , MAY_BE_ARRAY |MAY_BE_ARRAY_KEY_LONG |MAY_BE_ARRAY_OF_DOUBLE |MAY_BE_FALSE ),
307
+ F1 ("imageaffinematrixconcat" , MAY_BE_ARRAY |MAY_BE_ARRAY_KEY_LONG |MAY_BE_ARRAY_OF_DOUBLE |MAY_BE_FALSE ),
308
+ F1 ("imageresolution" , MAY_BE_ARRAY |MAY_BE_ARRAY_KEY_LONG |MAY_BE_ARRAY_OF_LONG |MAY_BE_TRUE ),
216
309
FN ("preg_replace" , MAY_BE_STRING |MAY_BE_ARRAY |MAY_BE_ARRAY_KEY_LONG |MAY_BE_ARRAY_KEY_STRING |MAY_BE_ARRAY_OF_STRING |MAY_BE_NULL ),
217
310
FN ("preg_filter" , MAY_BE_STRING |MAY_BE_ARRAY |MAY_BE_ARRAY_KEY_LONG |MAY_BE_ARRAY_KEY_STRING |MAY_BE_ARRAY_OF_STRING |MAY_BE_NULL ),
218
311
FN ("preg_replace_callback" , MAY_BE_STRING |MAY_BE_ARRAY |MAY_BE_ARRAY_KEY_LONG |MAY_BE_ARRAY_KEY_STRING |MAY_BE_ARRAY_OF_STRING |MAY_BE_NULL ),
0 commit comments