@@ 1055-1060 (lines=6) @@ | ||
1052 | } |
|
1053 | ||
1054 | $content = null; |
|
1055 | for ($i = $stackPtr; $i < $this->numTokens; $i++) { |
|
1056 | if ($this->tokens[$i]['code'] === T_STRING) { |
|
1057 | $content = $this->tokens[$i]['content']; |
|
1058 | break; |
|
1059 | } |
|
1060 | } |
|
1061 | ||
1062 | return $content; |
|
1063 | ||
@@ 1090-1095 (lines=6) @@ | ||
1087 | } |
|
1088 | ||
1089 | $name = false; |
|
1090 | for ($i = ($stackPtr + 1); $i < $this->numTokens; $i++) { |
|
1091 | if ($this->tokens[$i]['code'] === T_STRING) { |
|
1092 | $name = $i; |
|
1093 | break; |
|
1094 | } |
|
1095 | } |
|
1096 | ||
1097 | if ($name === false) { |
|
1098 | // No name found. |