Skip to content

Commit 53c7305

Browse files
committed
Merge branch '4.4' into 5.0
* 4.4: List which values are true for %env(bool:xxx)%
2 parents 6de312e + de04b16 commit 53c7305

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

configuration/env_var_processors.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,8 @@ Symfony provides the following env var processors:
9696
]);
9797
9898
``env(bool:FOO)``
99-
Casts ``FOO`` to a bool:
99+
Casts ``FOO`` to a bool (``true`` values are ``'true'``, ``'on'``, ``'yes'``
100+
and all numbers except ``0`` and ``0.0``; everything else is ``false``):
100101

101102
.. configuration-block::
102103

0 commit comments

Comments
 (0)