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.
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.