|
@@ 252-256 (lines=5) @@
|
| 249 |
|
// check if we are inside an array or struct: |
| 250 |
|
// if value just built is inside an array, let's move it into array on the stack |
| 251 |
|
$vscount = count($this->_xh['valuestack']); |
| 252 |
|
if ($vscount && $this->_xh['valuestack'][$vscount - 1]['type'] == 'ARRAY') { |
| 253 |
|
$this->_xh['valuestack'][$vscount - 1]['values'][] = $temp; |
| 254 |
|
} else { |
| 255 |
|
$this->_xh['value'] = $temp; |
| 256 |
|
} |
| 257 |
|
} else { |
| 258 |
|
/// @todo this needs to treat correctly php-serialized objects, |
| 259 |
|
/// since std deserializing is done by php_xmlrpc_decode, |
|
@@ 267-269 (lines=3) @@
|
| 264 |
|
// check if we are inside an array or struct: |
| 265 |
|
// if value just built is inside an array, let's move it into array on the stack |
| 266 |
|
$vscount = count($this->_xh['valuestack']); |
| 267 |
|
if ($vscount && $this->_xh['valuestack'][$vscount - 1]['type'] == 'ARRAY') { |
| 268 |
|
$this->_xh['valuestack'][$vscount - 1]['values'][] = $this->_xh['value']; |
| 269 |
|
} |
| 270 |
|
} |
| 271 |
|
break; |
| 272 |
|
case 'BOOLEAN': |