Skip to content

Commit faf2615

Browse files
[Configuration] Clarify variables_order
1 parent 3e350e2 commit faf2615

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

configuration.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -874,9 +874,10 @@ the right situation:
874874
but the overrides only apply to one environment.
875875

876876
*Real* environment variables always win over env vars created by any of the
877-
``.env`` files. This behavior depends on
878-
`variables_order <http://php.net/manual/en/ini.core.php#ini.variables-order>`_ to
879-
contain an ``E`` to expose the ``$_ENV`` superglobal.
877+
``.env`` files. Note that this behavior depends on the
878+
`variables_order <http://php.net/manual/en/ini.core.php#ini.variables-order>`_
879+
configuration, which must contain an ``E`` to expose the ``$_ENV`` superglobal.
880+
This is the default configuration in PHP.
880881

881882
The ``.env`` and ``.env.<environment>`` files should be committed to the
882883
repository because they are the same for all developers and machines. However,

0 commit comments

Comments
 (0)