environment
environment copied to clipboard
A simple library (with all methods covered by php unit tests) to increase the power of your environment variables.
Include call to `getenv()` in `EnvironmentVariable::getEnvironmentVariables()` to align with results from `EnvironmentVariable::getEnvironmentVariable()`. Fixes #10.
Using `Environment::get()`, one can obtain variables not included in `Environment::getAll()`. This odd behavior is caused by `EnvironmentVariable::getEnvironmentVariables()` searching only `$_ENV` and `$_SERVER`, whereas `EnvironmentVariable::getEnvironmentVariable()` searches `$_ENV`, `$_SERVER`, and `getenv()`. I...