| @@ 88-92 (lines=5) @@ | ||
| 85 | $this->Vals[$i] = $i; |
|
| 86 | } |
|
| 87 | ||
| 88 | for (; $i < (1 << $this->MAX_LZW_BITS); $i++) |
|
| 89 | { |
|
| 90 | $this->Next[$i] = 0; |
|
| 91 | $this->Vals[$i] = 0; |
|
| 92 | } |
|
| 93 | ||
| 94 | $this->sp = 0; |
|
| 95 | return 1; |
|
| @@ 127-131 (lines=5) @@ | ||
| 124 | $this->Vals[$i] = $i; |
|
| 125 | } |
|
| 126 | ||
| 127 | for (; $i < (1 << $this->MAX_LZW_BITS); $i++) |
|
| 128 | { |
|
| 129 | $this->Next[$i] = 0; |
|
| 130 | $this->Vals[$i] = 0; |
|
| 131 | } |
|
| 132 | ||
| 133 | $this->CodeSize = $this->SetCodeSize + 1; |
|
| 134 | $this->MaxCodeSize = $this->ClearCode << 1; |
|