leocavalcante/siler

Use $_ENV global instead of getenv()

leocavalcante opened this issue · 2 comments

Use the $_ENV magic global instead of the getenv() function.

out of curiousity why is this a bug? The only difference should be case sensitivity?

For projects that loads environments variables from files, like symfony/dotenv and vlucas/phpdotenv, it only works if populated using putenv which is disabled by default because it is not thread safe.