| @@ 82-86 (lines=5) @@ | ||
| 79 | $this->GetCode($data, $bInit); |
|
| 80 | ||
| 81 | $this->Fresh = 1; |
|
| 82 | for ($i = 0; $i < $this->ClearCode; $i++) |
|
| 83 | { |
|
| 84 | $this->Next[$i] = 0; |
|
| 85 | $this->Vals[$i] = $i; |
|
| 86 | } |
|
| 87 | ||
| 88 | for (; $i < (1 << $this->MAX_LZW_BITS); $i++) |
|
| 89 | { |
|
| @@ 121-125 (lines=5) @@ | ||
| 118 | { |
|
| 119 | if ($Code == $this->ClearCode) |
|
| 120 | { |
|
| 121 | for ($i = 0; $i < $this->ClearCode; $i++) |
|
| 122 | { |
|
| 123 | $this->Next[$i] = 0; |
|
| 124 | $this->Vals[$i] = $i; |
|
| 125 | } |
|
| 126 | ||
| 127 | for (; $i < (1 << $this->MAX_LZW_BITS); $i++) |
|
| 128 | { |
|