pg_field_prtlen
PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8
pg_field_prtlen - Returns the printed length
Manual
pg_field_prtlen(
PgSql\Result$result,
int$row_number,
mixed$field_name_or_number ): int
intpg_field_prtlen
PgSql\Resultresult
mixedfield_name_or_number
Parameters
- result
-
An PgSql\Result instance, returned by pg_query, pg_query_params or pg_execute(among others).
- row
-
Row number in result. Rows are numbered from 0 upwards. If omitted, current row is fetched.
Return Values
The field printed length.
Changelog
Version | Description |
8.1.0 | The result parameter expects an PgSql\Result instance now; previously, a resource was expected. |