Skip to content

[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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 20, 2017

Conversation

nicolas-grekas
Copy link
Member

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 -

@chr-hertel
Copy link
Contributor

thanks @nicolas-grekas! fixes the issue in our project, just tested it 👍

@nicolas-grekas nicolas-grekas merged commit 0d4bce6 into symfony:3.3 Dec 20, 2017
nicolas-grekas added a commit that referenced this pull request Dec 20, 2017
…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
@nicolas-grekas nicolas-grekas deleted the proc-no-getenv branch December 20, 2017 12:21
@ghost
Copy link

ghost commented Dec 27, 2017

this bug also occurs in 3.4

@nicolas-grekas
Copy link
Member Author

@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
Copy link

The fix is not merged yet. Is there any workaround applicable?

@xabbuh
Copy link
Member

xabbuh commented Dec 31, 2017

@n-sviridenko In the meantime it seems to have been merged up to master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants