--TEST-- odbc_field_precision(): Getting the precision of the field --EXTENSIONS-- odbc --SKIPIF-- --FILE-- getMessage() . "\n"; } var_dump(odbc_field_precision($res, 1)); var_dump(odbc_field_precision($res, 2)); var_dump(odbc_field_precision($res, 3)); var_dump(odbc_field_precision($res, 4)); ?> --CLEAN-- --EXPECTF-- odbc_field_precision(): Argument #2 ($field) must be greater than 0 int(10) int(7) int(50) Warning: odbc_field_precision(): Field index larger than number of fields in %s on line %d bool(false)