pecl-file_formats-yaml icon indicating copy to clipboard operation
pecl-file_formats-yaml copied to clipboard

YAML-1.1 parser and emitter

Results 9 pecl-file_formats-yaml issues
Sort by recently updated
recently updated
newest added

`json_encode()` can ouptut empty object, but `yaml_emit()` cannot. Please tell me how to output empty object like `{}`. tested with versions: php 8.1.8 (Windows x86_64) php_yaml-2.2.2-8.1-nts-vs16-x64.zip ```php

question

yaml_parse is not treating tags as strings and is trying to treat any integer (eg 1) or float (eg 1.1) as an integer before storing it as a tag. This...

Hi I'm looking into using this yaml extension to improve performance on yaml parsing for an application I'm working on, but have a question. My current parser, the Symfony yaml...

question

I am pleased to announce that this extension is now compiled for Windows by the PHP Extension Repository site. You can download the DLLs on the extension page: https://phpext.phptools.online/extension/file-formats/yaml-330 If...

Here is what the compilation says: ``` /opt/php/src/ext/yaml/parse.c: In function 'handle_sequence': /opt/php/src/ext/yaml/parse.c:534:18: warning: passing argument 1 of 'zval_ptr_dtor' from incompatible pointer type [-Wincompatible-pointer-types] 534 | zval_ptr_dtor(&retval); | ^~~~~~~ | |...

This is result: `- name: "\U0001F1ED\U0001F1F0香港"`, its escaped. And this is `Symfony\Component\Yaml` library dump result: `- name: '🇭🇰香港'` **HK** is an Emoji symbol, like this: ![20240531025712](https://github.com/php/pecl-file_formats-yaml/assets/7405522/2717805a-4aa5-4ef4-99c9-184aaf8eee4b)

Adds support for [PIE](https://github.com/php/pie). Once merged, a maintainer would need to add this repo's URL to https://packagist.org/packages/submit :) More info/documentation can be read on: https://github.com/php/pie/blob/main/docs/extension-maintainers.md

Packagist works best when it gets pinged when new versions are tagged. https://packagist.org/about#how-to-update-packages

enhancement