The warning will open, see the figure below, whenever using a variable, for example, $empty that has not been specifiedFigure 2: Invalid Reference Warning Message.