@@ 359-363 (lines=5) @@ | ||
356 | // check if we are inside an array or struct: |
|
357 | // if value just built is inside an array, let's move it into array on the stack |
|
358 | $vscount = count($this->_xh['valuestack']); |
|
359 | if ($vscount && $this->_xh['valuestack'][$vscount - 1]['type'] == 'ARRAY') { |
|
360 | $this->_xh['valuestack'][$vscount - 1]['values'][] = $temp; |
|
361 | } else { |
|
362 | $this->_xh['value'] = $temp; |
|
363 | } |
|
364 | } else { |
|
365 | /// @todo this needs to treat correctly php-serialized objects, |
|
366 | /// since std deserializing is done by php_xmlrpc_decode, |
|
@@ 374-376 (lines=3) @@ | ||
371 | // check if we are inside an array or struct: |
|
372 | // if value just built is inside an array, let's move it into array on the stack |
|
373 | $vscount = count($this->_xh['valuestack']); |
|
374 | if ($vscount && $this->_xh['valuestack'][$vscount - 1]['type'] == 'ARRAY') { |
|
375 | $this->_xh['valuestack'][$vscount - 1]['values'][] = $this->_xh['value']; |
|
376 | } |
|
377 | } |
|
378 | break; |
|
379 | case 'BOOLEAN': |