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:
@@ -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>|></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>
|
||||
|
||||
Reference in New Issue
Block a user