PHP - yaml_parse_url() Function



The yaml_parse_url() function can parse a Yaml stream from an URL

Syntax

mixed yaml_parse_url(http://tutorialspoint.com/string%20$url%20[,%20int%20$pos%20=%200%20[,%20int%20&$ndocs%20[,%20array%20$callbacks%20=%20null%20]]])

The yaml_parse_url() function can convert all or part of a YAML document stream read from a URL to a PHP variable.

The yaml_parse_url() function can return a value encoded in input in appropriate PHP type or false on failure. If pos is -1, an array can be returned with one entry for each document found in the stream.

php_function_reference.htm
Advertisements