Home > PHP > Function > Yaml > yaml_parse_url()

yaml_parse_url()

yaml_parse_url - Parse a Yaml stream from a URL

Syntax

mixed yaml_parse_url ()

Arguments

-

Description

Convert all or part of a YAML document stream read from a URL to a PHP variable.

Version

PHP PECL yaml >= 0.4.0

Return value

Returns the value encoded in input in appropriate PHP type. NULL is returned if the input cannot be decoded. If pos is -1an array will be returned with one entry for each document found in the stream.