|
@@ 228-231 (lines=4) @@
|
| 225 |
|
$this->GetCode($data, $bInit); |
| 226 |
|
|
| 227 |
|
$this->Fresh = 1; |
| 228 |
|
for ($i = 0; $i < $this->ClearCode; $i++) { |
| 229 |
|
$this->Next[$i] = 0; |
| 230 |
|
$this->Vals[$i] = $i; |
| 231 |
|
} |
| 232 |
|
|
| 233 |
|
for (; $i < (1 << $this->MAX_LZW_BITS); $i++) { |
| 234 |
|
$this->Next[$i] = 0; |
|
@@ 260-263 (lines=4) @@
|
| 257 |
|
|
| 258 |
|
while (($Code = $this->GetCode($data, $bInit)) >= 0) { |
| 259 |
|
if ($Code == $this->ClearCode) { |
| 260 |
|
for ($i = 0; $i < $this->ClearCode; $i++) { |
| 261 |
|
$this->Next[$i] = 0; |
| 262 |
|
$this->Vals[$i] = $i; |
| 263 |
|
} |
| 264 |
|
|
| 265 |
|
for (; $i < (1 << $this->MAX_LZW_BITS); $i++) { |
| 266 |
|
$this->Next[$i] = 0; |