I want to know how I can retrieve the var inside of the env() function...
/**
* Debug Level:
*
* Production Mode:
* false: No error messages, errors, or warnings shown.
*
* Development Mode:
* true: Errors and warnings shown.
*/
'debug' => filter_var(env('DEBUG', true), FILTER_VALIDATE_BOOLEAN),
Right now I am using
<?php if(DEBUG == true) { ?>
but that is throwing an error
Use of undefined constant DEBUG - assumed 'DEBUG' (this will throw an Error in a future version of PHP)