Function

yaml_encode

Synopsis

yaml_encode(mixed): mixed

Area
Runtime\PS\Core\Yaml\yaml_encodeareas

Description

yaml_encode returns $value as YAML, writing an array that is a list as a sequence and any other array as a mapping in key order.

Usage

$value = yaml_encode($arguments);
$fn = yaml_encode(...);

See also