• PHP Video Tutorials

PHP - yaml_emit_file() Function



The yaml_emit_file() function can send a YAML representation of value to a file.

Syntax

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

The yaml_emit_file() function can generate a YAML representation of the provided data in a filename.

The yaml_emit_file() function can return true on success.

php_function_reference.htm
Advertisements