Skip to content

Describe precedence for pipe and throw operators - #5083

Merged
TimWolla merged 4 commits into
php:masterfrom
vadimonus:precedence-fixes
Jan 15, 2026
Merged

TimWolla merged 4 commits into
php:masterfrom
vadimonus:precedence-fixes

Conversation

@vadimonus

@vadimonus vadimonus commented Jan 8, 2026 •

Copy link
Copy Markdown
Contributor

Pipe operator docs was introduced in 8.5 (#4890), but currently missing in precedence table.

Throw operator was intorduced in 8.0 (https://wiki.php.net/rfc/throw_expression), but precedence still not documented.

@vadimonus vadimonus changed the title Describe precedence for pipe and throw operator Describe precedence for pipe and throw operators Jan 8, 2026
Comment thread language/operators/precedence.xml Resolved
vadimonus and others added 2 commits January 10, 2026 15:39
@TimWolla
TimWolla merged commit a742846 into php:master Jan 15, 2026
2 checks passed
jordikroon pushed a commit to Narkunan/doc-en that referenced this pull request May 17, 2026
* Throw operator precedence

* Pipe operator precedence

* Update language/operators/precedence.xml

Co-authored-by: Larry Garfield <larry@garfieldtech.com>

---------

Co-authored-by: Larry Garfield <larry@garfieldtech.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants