Zephir code parser.
Zephir Parser is a code parser, delivered as a C extension for the PHP language.
License: MIT
| Version | Release | Download |
| 2.0.0 | 2026-04-05 | zephir_parser-2.0.0.tgz |
| 1.8.0 | 2025-09-28 | zephir_parser-1.8.0.tgz |
| 1.7.0 | 2024-11-23 | zephir_parser-1.7.0.tgz |
| 1.6.1 | 2024-06-03 | zephir_parser-1.6.1.tgz |
| 1.6.0 | 2023-08-27 | zephir_parser-1.6.0.tgz |
| Version | Message |
| 2.0.0 |
Sun, Apr 05, 2026 - Zephir Parser 2.0.0 = Added: - Added support for array destructuring assignment syntax `let [a, b, c] = expr;`, matching PHP 7.1+ short list convention. Supports skipped slots (`let [a, , c] = arr;`) and all-caps variable names. Parser-only; compiler code generation tracked in zephir#2496 (#18) - Added `docs/grammar.ebnf` containing the complete Zephir grammar in EBNF notation for railroad diagram visualization (#106) = Fixed: - All-uppercase identifiers (e.g. `RBF`, `LU`, `A`) are now accepted as class names, method names, function names, variable names, property names, and parameters. Previously the scanner emitted XX_T_CONSTANT for any all-caps token and grammar rules for name positions only accepted XX_T_IDENTIFIER, causing a syntax error (#39) |
| 1.8.0 |
### Added - Enabled PHP 8.5 support [#160](https://github.com/phalcon/php-zephir-parser/issues/160) - Added full support for object variable declaration [#37](https://github.com/phalcon/php-zephir-parser/issues/37) - Added support for single letter classes [#166](https://github.com/phalcon/php-zephir-parser/issues/166) |
| 1.7.0 |
### Added - Enabled PHP 8.4 support [#154](https://github.com/phalcon/php-zephir-parser/issues/154) |
| 1.6.1 |
### Fixed - Fix lcov coverage [#151](https://github.com/phalcon/php-zephir-parser/issues/151) |
| 1.6.0 |
### Added - Enabled support of PHP8.3 for PECL [#141](https://github.com/phalcon/php-zephir-parser/issues/148) |