protected function captureOutput()
	{
		$expressions = [];
		while ($this->skipOutputAssignment())
		{
			do
			{
				$expressions[] = $this->captureOutputExpression();
			}
			while ($this->tokens[$this->i++] === '.');
		}

		return $expressions;
	}
protected function captureOutput()
	{
		$expressions = [];
		while ($this->skipOutputAssignment())
		{
			do
			{
				$expressions[] = $this->captureOutputExpression();
			}
			while ($this->tokens[$this->i++] === '.');
		}

		return $expressions;
	}
protected function captureOutput ( ) { $ expressions = [ ] ; while ( $ this -> skipOutputAssignment ( ) ) { do { $ expressions [ ] = $ this -> captureOutputExpression ( ) ; } while ( $ this -> tokens [ $ this -> i ++ ] === '.' ) ; } return $ expressions ; }
Capture the expressions used in any number of consecutive output statements

Starts looking at current index. Ends at the first token that's not part of an output
statement

@return string[]
Capture the expressions used in any number of consecutive output statements