• PHP Video Tutorials

PHP - yaml_parse_url() Function



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

Syntax

mixed yaml_parse_url( string $url [, int $pos = 0 [, int &$ndocs [, array $callbacks = null ]]] )

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