Skip to content

Commit 743f4c6

Browse files
committed
Document logical xor in expression language
1 parent 768b8ad commit 743f4c6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

reference/formats/expression_language.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,11 @@ Logical Operators
345345
* ``not`` or ``!``
346346
* ``and`` or ``&&``
347347
* ``or`` or ``||``
348+
* ``xor``
349+
350+
.. versionadded:: 7.2
351+
352+
Support for the ``xor`` logical operator was introduced in Symfony 7.2.
348353

349354
For example::
350355

@@ -487,6 +492,8 @@ The following table summarizes the operators and their associativity from the
487492
+-----------------------------------------------------------------+---------------+
488493
| ``and``, ``&&`` | left |
489494
+-----------------------------------------------------------------+---------------+
495+
| ``xor`` | left |
496+
+-----------------------------------------------------------------+---------------+
490497
| ``or``, ``||`` | left |
491498
+-----------------------------------------------------------------+---------------+
492499

0 commit comments

Comments
 (0)