private function _processFunctionCall($text) {
		if (strtolower($text) === "define") {
			$this->_constantDef = true;
		}

		if ($this->tokenizer->checkNextValidToken(T_PARENTHESIS_OPEN)) {
			// ASSUMPTION:that T_STRING followed by "(" is a function call
			$this->_inFuncCall = true;

			array_push($this->_currentFuncCall, $text);

			// Add the function name to the list of used functions
			$this->_usedFunctions[$text] = $text;

			// Check if the function call is made on an object of if it's a base PHP function.
			$isObjectCall = $this->tokenizer->checkPreviousToken(T_OBJECT_OPERATOR);

			if (!$isObjectCall) {

				// Detect prohibited functions
				$this->_checkProhibitedFunctions($text);

				// Detect deprecated functions
				$this->_checkDeprecation($text);

				// Detect aliased functions
				$this->_checkAliases($text);

				// Detect replaced functions
				$this->_checkReplacements($text);
			}

			// Detect an @ before the function call
			$this->_checkSilenced($text);

			// Detect space after function name
			if ($this->_isActive('noSpaceAfterFunctionName')) {
				if (!$this->tokenizer->checkNextToken(T_PARENTHESIS_OPEN)) {
					$msg = $this->_getMessage('NO_SPACE_AFTER_TOKEN', $text);
					$this->_writeError('noSpaceAfterFunctionName', $msg);
				}
			}
		}

		// Optimisation : Avoid using count/sizeof inside a loop
		if ($this->_isActive('functionInsideLoop')) {
			if ((strtolower($text) === 'count' || strtolower($text) === 'sizeof') && $this->_inControlStatement) {
				$loops = array(
					'do',
					'while',
					'for',
					'foreach'
				);
				if (in_array($this->_currentStatement, $loops)) {
					$msg = $this->_getMessage('FUNCTION_INSIDE_LOOP', strtolower($text));
					$this->_writeError('functionInsideLoop', $msg);
				}
			}
		}
	}