PHP 8.6 Grammar
| From: | Alwyn Bester | Date: | Sat, 21 Nov 2026 11:39:21 +0000 |
| Subject: | PHP 8.6 Grammar | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-328900@lists.php.net to get a copy of this message | ||
Hi everyone,
I'm pleased to share the release of *php-grammar v1.1.0*, an open-source project providing versioned, machine-readable EBNF grammars and matching human-readable specifications for PHP.
This release adds *PHP 8.6 support*, including:
*
A complete, standalone PHP 8.6 structural grammar.
*
A new |changes.md|documenting differences from PHP 8.5.
*
Source-backed verification against the official PHP 8.6.0 release.
*
27 passing structural certification gates, with 6,548 tests and
59,934 assertions.
The project currently supports PHP 8.5 and PHP 8.6, with separate grammar specifications for each version.
*GitHub:*https://github.com/Zoclee/php-grammar <https://github.com/Zoclee/php-grammar>
*Website:*https://zoclee.com/php-grammar <https://zoclee.com/php-grammar>
The grammar focuses on structural syntax, with contextual and compiler-specific limitations documented separately.
Feedback, contributions, and suggestions from the PHP community would be very welcome.
Best regards,
Alwyn Bester