Login  |  Packages  |  Support  |  Bugs
PECL is deprecated.

Have you heard about PIE? 🥧 PHP Installer for Extensions (PIE) is the replacement for PECL. We recommend publishing your extension using PIE instead.

Find out more at https://github.com/php/pie.

Top Level :: Tools and Utilities :: zephir_parser :: 2.6.0

zephir_parser 2.6.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.6.0
(stable)
### Added
- Closures accept a return type: `function () -> int { }`, in all eight closure forms (with or without a parameter list, with or without a `use (...)` clause, with or without a body). The type follows the `use (...)` clause, mirroring PHP's `function () use ($x): int`, and reuses the method return-type grammar, so `void`, unions (`int|string`) and `<Class>` casts are accepted. The closure node gains a `return-type` key, emitted only when a type is present ([zephir-lang/zephir#1841](https://github.com/zephir-lang/zephir/issues/1841)).

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

Dependencies for release 2.6.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 Jun 17 13:08:36 2026 UTC
Bandwidth and hardware provided by: pair Networks