Closed acasademont closed 6 years ago
I don't know- where are those env variables set?
getenv() and $_SERVER behave the same way, the only difference is that getenv() is case-insensitive. In the Symfony Bootstrap we already used getenv() previously hence the PR to keep it coherent.
To be clear, this is not a bug fix, is just a simpler version of the same lines using getenv()
I believe using
getenv
provides a simpler way to extract the variable, avoiding theisset
ternary.getenv
is case insensitive