Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[Process] Dont use getenv(), it returns arrays and can introduce subtle breaks accros PHP versions#25559
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 commentedDec 20, 2017
| Q | A |
|---|---|
| Branch? | 3.3 |
| Bug fix? | yes |
| New feature? | no |
| BC breaks? | no |
| Deprecations? | no |
| Tests pass? | yes |
| Fixed tickets | #25511 |
| License | MIT |
| Doc PR | - |
…le breaks accros PHP versions
0e4347f to0d4bce6Comparechr-hertel commentedDec 20, 2017
thanks@nicolas-grekas! fixes the issue in our project, just tested it 👍 |
…roduce subtle breaks accros PHP versions (nicolas-grekas)This PR was merged into the 3.3 branch.Discussion----------[Process] Dont use getenv(), it returns arrays and can introduce subtle breaks accros PHP versions| Q | A| ------------- | ---| Branch? | 3.3| Bug fix? | yes| New feature? | no| BC breaks? | no| Deprecations? | no| Tests pass? | yes| Fixed tickets |#25511| License | MIT| Doc PR | -Commits-------0d4bce6 [Process] Dont use getenv(), it returns arrays and can introduce subtle breaks accros PHP versions
ghost commentedDec 27, 2017 • edited by ghost
Loading Uh oh!
There was an error while loading.Please reload this page.
edited by ghost
Uh oh!
There was an error while loading.Please reload this page.
this bug also occurs in 3.4 |
nicolas-grekas commentedDec 27, 2017
@WPPD 3.3 will be merged into 3.4 if not already the case, so all upper branches will get the fix before next release. |
n-sviridenko commentedDec 29, 2017
The fix is not merged yet. Is there any workaround applicable? |
xabbuh commentedDec 31, 2017
@n-sviridenko In the meantime it seems to have been merged up to |