Hi I have the following code and get the error even if i check if the variable is exist , why the php throw error? , how can I check it without error
if(!defined (ENV)){
define('ENV', getenv('ENV'));
};
( ! ) Notice: Use of undefined constant ENV - assumed 'ENV' in index.php on line 10