diff --git a/src/fXmlRpc/Parser/NativeParser.php b/src/fXmlRpc/Parser/NativeParser.php index edefb21..4320940 100644 --- a/src/fXmlRpc/Parser/NativeParser.php +++ b/src/fXmlRpc/Parser/NativeParser.php @@ -70,8 +70,8 @@ public function parse($xmlString) } $toBeVisited = [&$result]; - while (isset($toBeVisited[0]) && $value = &$toBeVisited[0]) { - + while (isset($toBeVisited[0])) { + $value = &$toBeVisited[0]; $type = gettype($value); if ($type === 'object') { $xmlRpcType = $value->{'xmlrpc_type'};