Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[dotenv] Support array notation#25942
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
nicolas-grekas commentedJan 29, 2018
The dotenv file is meant as a fallback when real env vars cannot be used. Instead, you should maybe use env processors, seehttps://symfony.com/blog/new-in-symfony-3-4-advanced-environment-variables (3.4 & up) and#25627 (4.1 & up) |
sanpii commentedJan 29, 2018
@nicolas-grekas Ok, thank you. |
Uh oh!
There was an error while loading.Please reload this page.
In addition of
FOO[bar]=BARnotation, supported by bash, this PR adds support for empty keys. I don’t know if it’s a good idea.