@@ 207-209 (lines=3) @@ | ||
204 | $this->assocData = [$this->result[1] => $this->result[2]]; |
|
205 | } elseif ($this->resultType === static::RESULT_TYPE_ARGSVALS) { |
|
206 | $hash = []; |
|
207 | for ($i = 0, $s = sizeof($this->result); $i < $s; ++$i) { |
|
208 | $hash[$this->args[$i]] = $this->result[$i]; |
|
209 | } |
|
210 | $this->assocData = $hash; |
|
211 | } elseif ($this->resultType === static::RESULT_TYPE_ASSOC) { |
|
212 | $hash = []; |
|
@@ 213-215 (lines=3) @@ | ||
210 | $this->assocData = $hash; |
|
211 | } elseif ($this->resultType === static::RESULT_TYPE_ASSOC) { |
|
212 | $hash = []; |
|
213 | for ($i = 0, $s = sizeof($this->result) - 1; $i < $s; ++$i) { |
|
214 | $hash[$this->result[$i]] = $this->result[++$i]; |
|
215 | } |
|
216 | $this->assocData = $hash; |
|
217 | } else { |
|
218 | $this->assocData = $this->result; |