Lines Matching refs:x

366                     for ($x = ($i - 1); $x >= 0; $x--) {
367 if ($chars[$x] !== '\\') {
483 for ($x = 1; $x <= $lookAheadLength; $x++) {
484 if (isset($chars[($i + $x)]) === false) {
488 $charBuffer .= $chars[($i + $x)];
492 echo "\t\t=> Looking ahead $x chars => $content".PHP_EOL;
504 && $chars[($i + $x + 1)] === '/'
574 for ($x = 1; $x <= $maxTokenLength; $x++) {
575 if (isset($chars[($i + $x)]) === false) {
579 $charBuffer .= $chars[($i + $x)];
583 echo "\t\t=> Looking ahead $x chars => $content".PHP_EOL;
636 for ($x = 0; $x < $lastNumChars; $x++) {
637 $lastChar = $lastChars[$x];
1010 for ($x = $char; $x <= $regexEnd; $x++) {
1011 $content .= $chars[$x];
1055 for ($x = ($i + 1); $x < $numTokens; $x++) {
1056 … if (isset(PHP_CodeSniffer_Tokens::$emptyTokens[$tokens[$x]['code']]) === false) {
1061 if ($tokens[$x]['code'] === T_OPEN_PARENTHESIS) {
1070 … for ($x = ($tokens[$i]['scope_opener'] + 1); $x < $tokens[$i]['scope_closer']; $x++) {
1071 if (isset($tokens[$x]['conditions'][$i]) === false) {
1075 $tokens[$x]['conditions'][$i] = T_CLOSURE;
1077 $type = $tokens[$x]['type'];
1079 echo "\t\t* cleaned $x ($type) *".PHP_EOL;
1104 for ($x = ($i + 1); $x < $closer; $x++) {
1105 $tokens[$x]['conditions'][$i] = T_OBJECT;
1106 ksort($tokens[$x]['conditions'], SORT_NUMERIC);
1108 $type = $tokens[$x]['type'];
1110 echo "\t\t* added T_OBJECT condition to $x ($type) *".PHP_EOL;
1123 for ($x = ($i - 1); $x >= 0; $x--) {
1124 if ($tokens[$x]['code'] === T_INLINE_THEN) {
1134 } else if ($tokens[$x]['line'] < $tokens[$i]['line']) {