in pgsql/pgsql.php [612:704]
function pg_fetch_row(#[LanguageLevelTypeAware(['8.1' => 'PgSql\Result'], default: 'resource')] $result, ?int $row = null, int $mode = 2): array|false {}
/**
* Fetch a row as an associative array
* @link https://php.net/manual/en/function.pg-fetch-assoc.php
* @param resource $result <p>
* PostgreSQL query result resource, returned by <b>pg_query</b>,
* <b>pg_query_params</b> or <b>pg_execute</b>
* (among others).
* </p>
* @param int $row [optional] <p>
* Row number in result to fetch. Rows are numbered from 0 upwards. If
* omitted or <b>NULL</b>, the next row is fetched.
* </p>
* @return array|false An array indexed associatively (by field name).
* Each value in the array is represented as a
* string. Database NULL
* values are returned as <b>NULL</b>.
* </p>
* <p>
* <b>FALSE</b> is returned if <i>row</i> exceeds the number
* of rows in the set, there are no more rows, or on any other error.
*/
function pg_fetch_assoc(#[LanguageLevelTypeAware(['8.1' => 'PgSql\Result'], default: 'resource')] $result, ?int $row = null): array|false {}
/**
* Fetch a row as an array
* @link https://php.net/manual/en/function.pg-fetch-array.php
* @param resource $result <p>
* PostgreSQL query result resource, returned by <b>pg_query</b>,
* <b>pg_query_params</b> or <b>pg_execute</b>
* (among others).
* </p>
* @param int $row [optional] <p>
* Row number in result to fetch. Rows are numbered from 0 upwards. If
* omitted or <b>NULL</b>, the next row is fetched.
* </p>
* @param int $mode [optional] <p>
* An optional parameter that controls
* how the returned array is indexed.
* <i>result_type</i> is a constant and can take the
* following values: <b>PGSQL_ASSOC</b>,
* <b>PGSQL_NUM</b> and <b>PGSQL_BOTH</b>.
* Using <b>PGSQL_NUM</b>, <b>pg_fetch_array</b>
* will return an array with numerical indices, using
* <b>PGSQL_ASSOC</b> it will return only associative indices
* while <b>PGSQL_BOTH</b>, the default, will return both
* numerical and associative indices.
* </p>
* @return array|false An array indexed numerically (beginning with 0) or
* associatively (indexed by field name), or both.
* Each value in the array is represented as a
* string. Database NULL
* values are returned as <b>NULL</b>.
* </p>
* <p>
* <b>FALSE</b> is returned if <i>row</i> exceeds the number
* of rows in the set, there are no more rows, or on any other error.
*/
function pg_fetch_array(#[LanguageLevelTypeAware(['8.1' => 'PgSql\Result'], default: 'resource')] $result, ?int $row = null, int $mode = PGSQL_BOTH): array|false {}
/**
* Fetch a row as an object
* @link https://php.net/manual/en/function.pg-fetch-object.php
* @param resource $result <p>
* PostgreSQL query result resource, returned by <b>pg_query</b>,
* <b>pg_query_params</b> or <b>pg_execute</b>
* (among others).
* </p>
* @param int|null $row [optional] <p>
* Row number in result to fetch. Rows are numbered from 0 upwards. If
* omitted or <b>NULL</b>, the next row is fetched.
* </p>
* @param string $class [optional] <p>
* Ignored and deprecated.
* </p>
* @param array $constructor_args [optional] <p>
* </p>
* @return object|false An object with one attribute for each field
* name in the result. Database NULL
* values are returned as <b>NULL</b>.
* </p>
* <p>
* <b>FALSE</b> is returned if <i>row</i> exceeds the number
* of rows in the set, there are no more rows, or on any other error.
*/
function pg_fetch_object(
#[LanguageLevelTypeAware(['8.1' => 'PgSql\Result'], default: 'resource')] $result,
?int $row = null,
string $class = 'stdClass',
#[PhpStormStubsElementAvailable(from: '5.3', to: '7.4')] $l = null,
array $constructor_args = []
): object|false {}