downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

yaml_emit> <Funciones de Yaml
Last updated: Fri, 20 May 2011

view this page in

yaml_emit_file

(PECL yaml >= 0.5.0)

yaml_emit_fileEnviar la representación YAML de un valor de un fichero

Descripción

bool yaml_emit_file ( string $filename , mixed $data [, int $encoding = YAML_ANY_ENCODING [, int $linebreak = YAML_ANY_BREAK ]] )

Genera una representación YAML de data proporcionando en el filename, el nombre del fichero.

Parámetros

filename

Ruta al archivo.

data

La data se codifica. Puede ser de cualquier, expceto un resource.

encoding

Salida de codificación de carácteres elegidos. YAML_ANY_ENCODING, YAML_UTF8_ENCODING, YAML_UTF16LE_ENCODING, YAML_UTF16BE_ENCODING. Predeterminado YAML_ANY_ENCODING.

linebreak

Seleccione el estilo de salto de línea desde YAML_ANY_BREAK, YAML_CR_BREAK, YAML_LN_BREAK, YAML_CRLN_BREAK. Predeterminado YAML_ANY_BREAK.

Valores devueltos

Devuelve TRUE si es correcto.

Ver también



add a note add a note User Contributed Notes yaml_emit_file
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites