Inline::dump()

static string dump(mixed $value, int $flags)

Dumps a given PHP variable to a YAML string.

Parameters

mixed $value The PHP variable to convert
int $flags A bit field of Yaml::DUMP_* constants to customize the dumped YAML string

Return Value

string The YAML string representing the PHP array

Exceptions

DumpException When trying to dump PHP resource
doc_Symfony
2016-10-28 06:21:04
Comments
Leave a Comment

Please login to continue.