Fixed signature of yaml_emit()
This commit is contained in:
parent
9363654443
commit
d4f4a3126c
|
@ -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 >= 5.2.0, PECL yaml >= 0.4.0)<br/>
|
||||
|
|
Loading…
Reference in New Issue