protected function captureOutputExpression()
	{
		$parens = 0;
		$php = '';
		do
		{
			if ($this->tokens[$this->i] === ';')
			{
				break;
			}
			elseif ($this->tokens[$this->i] === '.' && !$parens)
			{
				break;
			}
			elseif ($this->tokens[$this->i] === '(')
			{
				++$parens;
			}
			elseif ($this->tokens[$this->i] === ')')
			{
				--$parens;
			}

			$php .= $this->serializeToken($this->tokens[$this->i]);
		}
		while (++$this->i < $this->cnt);

		return $php;
	}
protected function captureOutputExpression()
	{
		$parens = 0;
		$php = '';
		do
		{
			if ($this->tokens[$this->i] === ';')
			{
				break;
			}
			elseif ($this->tokens[$this->i] === '.' && !$parens)
			{
				break;
			}
			elseif ($this->tokens[$this->i] === '(')
			{
				++$parens;
			}
			elseif ($this->tokens[$this->i] === ')')
			{
				--$parens;
			}

			$php .= $this->serializeToken($this->tokens[$this->i]);
		}
		while (++$this->i < $this->cnt);

		return $php;
	}
protected function captureOutputExpression ( ) { $ parens = 0 ; $ php = '' ; do { if ( $ this -> tokens [ $ this -> i ] === ';' ) { break ; } elseif ( $ this -> tokens [ $ this -> i ] === '.' && ! $ parens ) { break ; } elseif ( $ this -> tokens [ $ this -> i ] === '(' ) { ++ $ parens ; } elseif ( $ this -> tokens [ $ this -> i ] === ')' ) { -- $ parens ; } $ php .= $ this -> serializeToken ( $ this -> tokens [ $ this -> i ] ) ; } while ( ++ $ this -> i < $ this -> cnt ) ; return $ php ; }
Capture an expression used in output at current index

Ends on "." or ";"

@return string
Capture an expression used in output at current index