Skip to content

Commit c61ad37

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

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

reference/formats/expression_language.rst

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

349353
For example::
350354

@@ -489,6 +493,8 @@ The following table summarizes the operators and their associativity from the
489493
+-----------------------------------------------------------------+---------------+
490494
| ``or``, ``||`` | left |
491495
+-----------------------------------------------------------------+---------------+
496+
| ``xor`` | left |
497+
+-----------------------------------------------------------------+---------------+
492498

493499
Built-in Objects and Variables
494500
------------------------------

0 commit comments

Comments
 (0)