Skip to content

Commit 2272cbd

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

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

@@ -489,6 +494,8 @@ The following table summarizes the operators and their associativity from the
489494
+-----------------------------------------------------------------+---------------+
490495
| ``or``, ``||`` | left |
491496
+-----------------------------------------------------------------+---------------+
497+
| ``xor`` | left |
498+
+-----------------------------------------------------------------+---------------+
492499

493500
Built-in Objects and Variables
494501
------------------------------

0 commit comments

Comments
 (0)