class Inline
Inline implements a YAML parser/dumper for the YAML inline syntax.
Constants
REGEX_QUOTED_STRING |
Methods
static array | parse(string $value, int $flags, array $references = array()) Converts a YAML string to a PHP array. | |
static string | dump(mixed $value, int $flags) Dumps a given PHP variable to a YAML string. | |
static bool | isHash(array $value) Check if given array is hash or just normal indexed array. | |
static string | parseScalar(string $scalar, int $flags, string $delimiters = null, array $stringDelimiters = array('"', '\''), int $i, bool $evaluate = true, array $references = array()) Parses a scalar to a YAML string. | |
static string | evaluateBinaryScalar(string $scalar) |
Details
static array parse(string $value, int $flags, array $references = array())
Converts a YAML string to a PHP array.
static string dump(mixed $value, int $flags)
Dumps a given PHP variable to a YAML string.
static bool isHash(array $value)
Check if given array is hash or just normal indexed array.
static string parseScalar(string $scalar, int $flags, string $delimiters = null, array $stringDelimiters = array('"', '\''), int $i, bool $evaluate = true, array $references = array())
Parses a scalar to a YAML string.
Please login to continue.