Use the options below to customize the inspection:
Search for variable's definition outside the current file: if selected, the IDE reports a global variable as undefined only in case there are no include or require statements in the current file and the variable's definition cannot be found in the project. Note that the IDE does not examine the actual content of included files but only checks the presence of include or require statements.
Otherwise, if not selected, the IDE searches for the variable's definition only in the current file and ignores the include or require statements if any.