php / pecl-file_formats-yaml

YAML-1.1 parser and emitter
https://pecl.php.net/package/yaml
MIT License
72 stars 32 forks source link

yaml_parse_url method not working #65

Closed miguelluiscorreia closed 2 years ago

miguelluiscorreia commented 2 years ago

I'm trying to use the yaml_parse_url, with version 2.2.2 and is not working. The method returns NULL.

<?php $data = yaml_parse_url('https://raw.githubusercontent.com/codefresh-io/yaml-examples/master/codefresh-build-1.yml'); var_dump($data); ?>

Am I doing something wrong or is there a bug in this method?

remicollet commented 2 years ago

see PR #66

miguelluiscorreia commented 2 years ago

Thanks for the quick response. It looks fine in my understanding :)