mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-16 12:26:30 +00:00
added missing operators in the precedence docs (closes #1057)
This commit is contained in:
+2
-1
@@ -557,7 +557,8 @@ even if you're not working with PHP you should feel comfortable with it.
|
||||
The operator precedence is as follows, with the lowest-precedence
|
||||
operators listed first: ``b-and``, ``b-xor``, ``b-or``, ``or``, ``and``,
|
||||
``==``, ``!=``, ``<``, ``>``, ``>=``, ``<=``, ``in``, ``..``, ``+``,
|
||||
``-``, ``~``, ``*``, ``/``, ``//``, ``%``, ``is``, and ``**``.
|
||||
``-``, ``~``, ``*``, ``/``, ``//``, ``%``, ``is``, ``**``, ``|``, ``[]``,
|
||||
and ``.``.
|
||||
|
||||
Literals
|
||||
~~~~~~~~
|
||||
|
||||
Reference in New Issue
Block a user