You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the default Php ini has variables_order = "GPCS" ('E' is not present) so the shell env is not present/copied in php $_ENV.
use of $dotenv = Dotenv::createImmutable('.'); $res = $dotenv->load();
If I export a shell env variable "TOTO" then the "TOTO" entry in the .env file is not read because ImmutableWriter::isExternallyDefined() determine that the variable is externally defined.
Finaly I cannot access "TOTO" value which is set in shell env and in .env file.
Isn't this behaviour strange?
The text was updated successfully, but these errors were encountered:
Hi
variables_order = "GPCS"
('E' is not present) so the shell env is not present/copied in php $_ENV.$dotenv = Dotenv::createImmutable('.'); $res = $dotenv->load();
If I export a shell env variable "TOTO" then the "TOTO" entry in the .env file is not read because
ImmutableWriter::isExternallyDefined()
determine that the variable is externally defined.Finaly I cannot access "TOTO" value which is set in shell env and in .env file.
Isn't this behaviour strange?
The text was updated successfully, but these errors were encountered: