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.
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.