Skip to content

Commit 56ca55f

Browse files
committed
Merge branch '6.4' into 7.0
* 6.4: minor [Configuration] Clarify `variables_order`
2 parents 0d56417 + 62e1792 commit 56ca55f

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
@@ -858,9 +858,10 @@ the right situation:
858858
but the overrides only apply to one environment.
859859

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

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

0 commit comments

Comments
 (0)