src/Parser.php
protected function variable(&$out)
    {
        $s = $this->count;

        if ($this->matchChar('$', false) && $this->keyword($name)) {
            $out = [Type::T_VARIABLE, $name];

            return true;
        }

        $this->seek($s);

        return false;
    }
protected function variable(&$out)
    {
        $s = $this->count;

        if ($this->matchChar('$', false) && $this->keyword($name)) {
            $out = [Type::T_VARIABLE, $name];

            return true;
        }

        $this->seek($s);

        return false;
    }
protected function variable ( & $ out ) { $ s = $ this -> count ; if ( $ this -> matchChar ( '$' , false ) && $ this -> keyword ( $ name ) ) { $ out = [ Type :: T_VARIABLE , $ name ] ; return true ; } $ this -> seek ( $ s ) ; return false ; }
Parse a variable

@param array $out

@return boolean
Parse a variable