Fixed signature of yaml_emit()

This commit is contained in:
Dylan K. Taylor 2019-05-14 19:48:01 +01:00
parent 9363654443
commit d4f4a3126c
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ function yaml_emit_file($filename,$data,$encoding=YAML_ANY_ENCODING,$linebreak=Y
* @param array $callbacks [optional] Content handlers for YAML nodes. Associative array of YAML tag => callable mappings. See parse callbacks for more details.
* @return string Returns a YAML encoded string on success.
*/
function yaml_emit($data,$encoding,$linebreak,$callbacks=array()) {}
function yaml_emit($data,$encoding=YAML_ANY_ENCODING,$linebreak=YAML_ANY_BREAK,$callbacks=array()) {}
/**
* (PHP 5 &gt;= 5.2.0, PECL yaml &gt;= 0.4.0)<br/>