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

Forced environment variables do not affect getenv() #2886

Closed
wants to merge 1 commit into
base: master
from

Conversation

2 participants
@ralphschindler
Contributor

ralphschindler commented Nov 30, 2017

We've noticed that when forcing environment variables from a phpunit.xml file, it will set $_ENV appropriately, but will fail to reflect the same change to environment variables that existed in the calling environment when attempting to retrieve them through getenv().

All existing tests pass.

@sebastianbergmann sebastianbergmann changed the title from Forced env variables should affect getenv() as well to Forced environment variables do not affect getenv() Dec 1, 2017

@sebastianbergmann

This comment has been minimized.

Show comment
Hide comment
@sebastianbergmann

sebastianbergmann Dec 1, 2017

Owner

Merged manually, thanks.

Owner

sebastianbergmann commented Dec 1, 2017

Merged manually, thanks.

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