Lines Matching refs:char
303 $char = $chars[$i];
306 $content = PHP_CodeSniffer::prepareForOutput($char);
323 if (trim($char) !== '' && trim($buffer) === '') {
342 && trim($char) === ''
361 if ($inComment === '' && isset($this->stringTokens[$char]) === true) {
362 if ($inString === $char) {
380 'content' => str_replace("\n", $eolChar, $buffer).$char,
385 $content = PHP_CodeSniffer::prepareForOutput($buffer.$char);
396 $inString = $char;
406 if ($inString !== '' && $char === "\n") {
416 $char = $chars[$i];
424 $buffer .= $char;
435 if ($buffer === $char && $char === '/' && $chars[($i + 1)] !== '*') {
466 && (preg_match('|[a-zA-z0-9_]|', $char) === 0
547 } else if (isset($this->tokenValues[strtolower($char)]) === true) {
572 $charBuffer = $char;
600 $value = $this->tokenValues[strtolower($char)];
604 'content' => $char,
609 $content = PHP_CodeSniffer::prepareForOutput($char);
615 $buffer = $char;
888 * @param string $char The index of the possible regex start character.
896 public function getRegexToken($char, $string, $chars, $tokens, $eolChar) argument
947 for ($next = ($char + 1); $next < $numChars; $next++) {
1010 for ($x = $char; $x <= $regexEnd; $x++) {
1015 'start' => $char,