Skip to content
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

Avoid use of getenv which is not threadsafe #1

Open
theojlab opened this issue Nov 6, 2024 · 0 comments
Open

Avoid use of getenv which is not threadsafe #1

theojlab opened this issue Nov 6, 2024 · 0 comments

Comments

@theojlab
Copy link
Collaborator

theojlab commented Nov 6, 2024

Testing under PHP8, produced errors related to the use of getenv to access environment variables read from .env file by the Dotenv package.

The Readme for the package has the explanation: https://github.com/vlucas/phpdotenv#putenv-and-getenv

The task appears to be to use the superglobal $_ENV in lieu of calls to getenv.

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

No branches or pull requests

1 participant