Login  |  Packages  |  Support  |  Bugs
Top Level :: Tools and Utilities :: zephir_parser :: 2.0.0

zephir_parser 2.0.0

Package Information
Summary Zephir code parser.
Maintainers Anton Vasiliev < anton at phalcon dot io > (lead) [wishlist] [details]
License MIT
Description Zephir Parser is a code parser, delivered as a C extension for the PHP language.
Homepage https://github.com/zephir-lang/php-zephir-parser
Release notes
Version 2.0.0
(stable)
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)

[ Latest Tarball ] [ Changelog ] [ View Statistics ]
[ Browse Source ] [ Package Bugs ]

Dependencies for release 2.0.0
PHP Version: PHP version 8.5.99 or older
PHP Version: PHP 7.0.0 or newer
PEAR Package: PEAR 1.10 or newer
PRIVACY POLICY  |  CREDITS
Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Sep 03 10:50:24 2025 UTC
Bandwidth and hardware provided by: pair Networks