pg_field_prtlen

(PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8)

pg_field_prtlen返回打印出來的長度

說明

pg_field_prtlen(resource $result, int $row_number, string $field_name): int

pg_field_prtlen() 返回 PostgreSQL result 中得到的值實(shí)際上打印出來的長度(字符數(shù))。行編號(hào)從 0 開始。如果出錯(cuò)本函數(shù)返回 -1。

例子參見 pg_field_name() 頁。

注意:

本函數(shù)以前的名字為 pg_field_prtlen()。

參見 pg_field_size()