mirror of
https://github.com/php/php-src.git
synced 2026-03-26 17:22:15 +01:00
The parser files for ext/json are generated by bison from the *.y file. Parser files in Zend and sapi/phpdbg already follow such approach of these files being ignored from tracking in the Git repository and they are shipped via the release packages later on. This way the end users still don't need to have bison dependency installed to install PHP. The genfiles script was refactored to generate the ext/json parser and lexer files.
JSON ========== This extension implements the JavaScript Object Notation (JSON) data-interchange format as specified in RFC 7159 The parser is implemented using re2c and Bison. The used versions of both tools for generating files in the repository are following: re2c 0.16 Bison 3.0.4 It is recommended to do all contributions to the JSON extension through the Github Pull Requests and preferably ping @bukka who maintains the extension.