private function _processParenthesisOpen($token) {
		if ($this->_inFuncCall) {
			// inside a function call
			$this->_fcLeftParenthesis += 1;
		} elseif ($this->_inControlStatement || $this->_inFunctionStatement) {
			// inside a function or control statement
			$this->_csLeftParenthesis += 1;
		}

		// We are in a array declaration
		if ($this->_beforeArrayDeclaration) {
			$stackitem = new StatementItem();
			$stackitem->line = $token->line;
			$stackitem->type = 'ARRAY';
			$stackitem->name = 'ARRAY';
			$this->statementStack->push($stackitem);

			$this->_beforeArrayDeclaration = false;
		}

		$this->statementStack->getCurrentStackItem()->openParentheses += 1;
	}
private function _processParenthesisOpen($token) {
		if ($this->_inFuncCall) {
			// inside a function call
			$this->_fcLeftParenthesis += 1;
		} elseif ($this->_inControlStatement || $this->_inFunctionStatement) {
			// inside a function or control statement
			$this->_csLeftParenthesis += 1;
		}

		// We are in a array declaration
		if ($this->_beforeArrayDeclaration) {
			$stackitem = new StatementItem();
			$stackitem->line = $token->line;
			$stackitem->type = 'ARRAY';
			$stackitem->name = 'ARRAY';
			$this->statementStack->push($stackitem);

			$this->_beforeArrayDeclaration = false;
		}

		$this->statementStack->getCurrentStackItem()->openParentheses += 1;
	}
private function _processParenthesisOpen ( $ token ) { if ( $ this -> _inFuncCall ) { // inside a function call $ this -> _fcLeftParenthesis += 1 ; } elseif ( $ this -> _inControlStatement || $ this -> _inFunctionStatement ) { // inside a function or control statement $ this -> _csLeftParenthesis += 1 ; } // We are in a array declaration if ( $ this -> _beforeArrayDeclaration ) { $ stackitem = new StatementItem ( ) ; $ stackitem -> line = $ token -> line ; $ stackitem -> type = 'ARRAY' ; $ stackitem -> name = 'ARRAY' ; $ this -> statementStack -> push ( $ stackitem ) ; $ this -> _beforeArrayDeclaration = false ; } $ this -> statementStack -> getCurrentStackItem ( ) -> openParentheses += 1 ; }
Launched when a ( sign is encountered.

@param TokenInfo $token
the current token
Launched when a ( sign is encountered .