Inline::parse()

static array parse(string $value, int $flags, array $references = array())

Converts a YAML string to a PHP array.

Parameters

string $value A YAML string
int $flags A bit field of PARSE_* constants to customize the YAML parser behavior
array $references Mapping of variable names to values

Return Value

array A PHP array representing the YAML string

Exceptions

ParseException
doc_Symfony
2016-10-28 06:21:04
Comments
Leave a Comment

Please login to continue.