1
0
mirror of https://github.com/php/doc-en.git synced 2026-03-23 23:32:18 +01:00

Describe precedence for pipe and throw operators (#5083)

* 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>
This commit is contained in:
Vadim Dvorovenko
2026-01-15 16:23:32 +07:00
committed by GitHub
parent 1526b45ee5
commit a7428462fe

View File

@@ -144,6 +144,13 @@
<link linkend="language.operators.string">string</link> (as of PHP 8.0.0)
</entry>
</row>
<row>
<entry>left</entry>
<entry><literal>|&gt;</literal></entry>
<entry>
<link linkend="language.operators.functional">pipe</link>
</entry>
</row>
<row>
<entry>non-associative</entry>
<entry>
@@ -282,6 +289,13 @@
<link linkend="language.operators.logical">logical</link>
</entry>
</row>
<row>
<entry>(n/a)</entry>
<entry><literal>throw</literal></entry>
<entry>
<link linkend="language.exceptions">throw</link>
</entry>
</row>
</tbody>
</tgroup>
</table>