| @@ 3302-3308 (lines=7) @@ | ||
| 3299 | } |
|
| 3300 | } |
|
| 3301 | ||
| 3302 | if ($found === true) { |
|
| 3303 | if ($value === null) { |
|
| 3304 | return $i; |
|
| 3305 | } else if ($this->_tokens[$i]['content'] === $value) { |
|
| 3306 | return $i; |
|
| 3307 | } |
|
| 3308 | } |
|
| 3309 | ||
| 3310 | if ($local === true) { |
|
| 3311 | if (isset($this->_tokens[$i]['scope_opener']) === true |
|
| @@ 3383-3389 (lines=7) @@ | ||
| 3380 | } |
|
| 3381 | } |
|
| 3382 | ||
| 3383 | if ($found === true) { |
|
| 3384 | if ($value === null) { |
|
| 3385 | return $i; |
|
| 3386 | } else if ($this->_tokens[$i]['content'] === $value) { |
|
| 3387 | return $i; |
|
| 3388 | } |
|
| 3389 | } |
|
| 3390 | ||
| 3391 | if ($local === true && $this->_tokens[$i]['code'] === T_SEMICOLON) { |
|
| 3392 | break; |
|