Check that defined global variables are prefixed.

@since 1.1.0 Logic was previously contained in the process_token() method.

@param int $stackPtr The position of the current token in the stack.

@return void