pecl-file_formats-yaml
pecl-file_formats-yaml copied to clipboard
YAML-1.1 parser and emitter
`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
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...
YAML 1.2
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...
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: 
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