Answer the question
In order to leave comments, you need to log in
Why does PHP Storm highlight variables in red if they are included from another file?
There are 2 files in the project: index.php and config.php.
config.php included in index.php
file config.php
index.php
$workmode = 1;
require('config.php');
if ($workmode == 0) {
echo 'Проверка отключена.';
exit;
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question