PHP - Manual: odbc_field_len
2024-11-14
(PHP 4, PHP 5, PHP 7, PHP 8)
odbc_field_len — Get the length (precision) of a field
$statement
, int $field
): int|falseGets the length of the field referenced by number in the given result identifier.
statement
The result identifier.
field
The field number. Field numbering starts at 1.
Returns the field length, or false
on error.
官方地址:https://www.php.net/manual/en/function.odbc-field-len.php