| @@ 1043-1046 (lines=4) @@ | ||
| 1040 | for ($i = 0; $i < $cnt; ++ $i) { |
|
| 1041 | $this->scope = &$this->scope[$this->scopeTree[$i]]; |
|
| 1042 | } |
|
| 1043 | } elseif ($bit === '_root' || $bit === '__') { |
|
| 1044 | $this->scope = &$this->data; |
|
| 1045 | $this->scopeTree = array(); |
|
| 1046 | } elseif (isset($this->scope[$bit])) { |
|
| 1047 | $this->scope = &$this->scope[$bit]; |
|
| 1048 | $this->scopeTree[] = $bit; |
|
| 1049 | } else { |
|
| @@ 1697-1700 (lines=4) @@ | ||
| 1694 | for ($i = 0; $i < $cnt; ++ $i) { |
|
| 1695 | $this->scope = &$this->scope[$this->scopeTree[$i]]; |
|
| 1696 | } |
|
| 1697 | } elseif ($bit === '__' || $bit === '_root') { |
|
| 1698 | $this->scope = &$this->data; |
|
| 1699 | $this->scopeTree = array(); |
|
| 1700 | } elseif (isset($this->scope[$bit])) { |
|
| 1701 | if ($this->scope instanceof ArrayAccess) { |
|
| 1702 | $tmp = $this->scope[$bit]; |
|
| 1703 | $this->scope = &$tmp; |
|