PHPTS:一键免费搭建 Nginx + PHP + MySQL 运行环境

fbsql_fetch_lengths

(PHP 4 >= 4.0.6, PHP 5, PHP 7)

fbsql_fetch_lengthsGet the length of each output in a result

说明

fbsql_fetch_lengths ( resource $result ) : array

Stores the lengths of each result column in the last row returned by fbsql_fetch_row(), fbsql_fetch_array() and fbsql_fetch_object() in an array.

参数

result

fbsql_query()fbsql_db_query() 返回的结果标识符。

返回值

Returns an array, starting at offset 0, that corresponds to the lengths of each field in the last row fetched by fbsql_fetch_row(), or FALSE on error.

参见