I have updated application to Laravel latest version 5.8 and after update the getenv() function which returns env file variable value is returning false.
However when i used env() I am able to get the env variable value.
I have followed the official documentation and nothing is there which suggest to change from getenv() to env().
https://laravel.com/docs/5.8/configuration
Here suggesting to change to env from getenv()
Please suggest if i need to change every reference of getenv to env or there is another way out.