private function _processSquareBracketOpen($token) {

		// If the [ is preceded by = we are in a array declaration
		if ($this->tokenizer->checkPreviousValidToken(T_EQUAL)) {

			$stackitem = new StatementItem();
			$stackitem->line = $token->line;
			$stackitem->type = 'ARRAY';
			$stackitem->name = 'square_bracket_open';

			$this->statementStack->push($stackitem);
		}
	}
private function _processSquareBracketOpen($token) {

		// If the [ is preceded by = we are in a array declaration
		if ($this->tokenizer->checkPreviousValidToken(T_EQUAL)) {

			$stackitem = new StatementItem();
			$stackitem->line = $token->line;
			$stackitem->type = 'ARRAY';
			$stackitem->name = 'square_bracket_open';

			$this->statementStack->push($stackitem);
		}
	}
private function _processSquareBracketOpen ( $ token ) { // If the [ is preceded by = we are in a array declaration if ( $ this -> tokenizer -> checkPreviousValidToken ( T_EQUAL ) ) { $ stackitem = new StatementItem ( ) ; $ stackitem -> line = $ token -> line ; $ stackitem -> type = 'ARRAY' ; $ stackitem -> name = 'square_bracket_open' ; $ this -> statementStack -> push ( $ stackitem ) ; } }
Launched when a [ is encountered.

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