| @@ 189-192 (lines=4) @@ | ||
| 186 | $this->Vals[$i] = $i; |
|
| 187 | } |
|
| 188 | ||
| 189 | for(; $i < (1 << $this->MAX_LZW_BITS); $i++) { |
|
| 190 | $this->Next[$i] = 0; |
|
| 191 | $this->Vals[$i] = 0; |
|
| 192 | } |
|
| 193 | ||
| 194 | $this->sp = 0; |
|
| 195 | ||
| @@ 223-226 (lines=4) @@ | ||
| 220 | $this->Vals[$i] = $i; |
|
| 221 | } |
|
| 222 | ||
| 223 | for(; $i < (1 << $this->MAX_LZW_BITS); $i++) { |
|
| 224 | $this->Next[$i] = 0; |
|
| 225 | $this->Vals[$i] = 0; |
|
| 226 | } |
|
| 227 | ||
| 228 | $this->CodeSize = $this->SetCodeSize + 1; |
|
| 229 | $this->MaxCodeSize = $this->ClearCode << 1; |
|