Top Level :: Tools and Utilities
:: zephir_parser
:: 2.0.1
:: Windows
zephir_parser 2.0.1 for Windows
| 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.1
(stable)
|
### Added - Added grammar rule for `<static>` cast and method return type. `STATIC` is a reserved keyword token, so `<static>` never reached the existing `LESS IDENTIFIER GREATER` cast rule and was rejected as a syntax error. A dedicated `LESS STATIC GREATER` production now emits the literal `"static"` string in the same AST shape that `<self>` (and any other `<IDENTIFIER>` cast) produces, so the downstream compiler picks it up with no further parser-level changes. Enables `public function foo() -> <static>` for late-static-binding return types in Zephir ([zephir-lang/zephir#2505](https://github.com/zephir-lang/zephir/issues/2505)). |
|
In case of missing DLLs, consider to contact the
Windows Internals List
(subscribe first).
| Dependencies for release 2.0.1 |
|
PHP Version: PHP version 8.5.99 or older PHP Version: PHP 7.0.0 or newer PEAR Package: PEAR 1.10 or newer
|
|
|