从函数丢失值返回数组

can't explain the following Problem: i have a php function returning the following array. When i do a Print_r within the function the array echos as follows:

Array ( [title] => Even&Odd Shopper Bag Handtasche Damen in Schwarz [brand] => Even&Odd [category] => Shoes [ProductTypeName] => HANDBAG [Department] => Damen [bildpfad] => https://images-eu.ssl-images-amazon.com/images/I/31w5kOgS2BL.jpg [Prices] => Array ( [Var_HighestSalePrice] => [Var_LowestSalePrice] => [Var_HighestPrice] => [Var_LowestPrice] => [Offer_HighestPrice] => [Offer_LowestPrice] => 2495 [uvp] => 2995 ) [Discount] => 17 [available] => in stock [Color] => Schwarz [error] => ) 

if i return the array when calling the function from another php and then print_r the response. there are some values lost. Here the value "color" and "bildpfad" and the array looks as follows:

Array ( [title] => Even&Odd Shopper Bag - Handtasche Damen in Schwarz, Rot, Blau o. Cognac-Braun - Tasche aus Kunstleder mit Reißverschluss & Handyfach [brand] => Even&Odd [category] => Shoes [ProductTypeName] => HANDBAG [Department] => Damen [bildpfad] => [Prices] => Array ( [Var_HighestSalePrice] => [Var_LowestSalePrice] => 2495 [Var_HighestPrice] => 2995 [Var_LowestPrice] => 2995 [Offer_HighestPrice] => [Offer_LowestPrice] => [uvp] => ) [Discount] => [available] => in stock [Color] => [error] => ) 

I tried nearly everything with addslashes, trim the fields etc. etc. any ideas what this could be?

UPDATE: The Function

function getAmazonData($region, $asin) {
    $xml = aws_signed_request($region, array(
        "Operation" => "ItemLookup",
        "ItemId" => $asin,
        "IncludeReviewsSummary" => False,
        "ResponseGroup" => "Images,ItemAttributes,OfferFull,VariationSummary",
        'MerchantId' => 'All'
    ));
    $error= $xml->Items->Request->Errors;
    $item = $xml->Items->Item;  
    $response = array(
            "title" => htmlentities((string) $item->ItemAttributes->Title),
            "brand" => htmlentities((string) $item->ItemAttributes->Brand),
            "category" => htmlentities((string) $item->ItemAttributes->ProductGroup),
            "ProductTypeName" => htmlentities((string) $item->ItemAttributes->ProductTypeName),
            "Department" => htmlentities((string) $item->ItemAttributes->Department),
            "bildpfad"=> htmlentities((string) $item->LargeImage->URL),
            "Prices" => array(
                "Var_HighestSalePrice" => htmlentities((string) $item->VariationSummary->HighestSalePrice->Amount),
                "Var_LowestSalePrice" => htmlentities((string) $item->VariationSummary->LowestSalePrice->Amount),
                "Var_HighestPrice" => htmlentities((string) $item->VariationSummary->HighestPrice->Amount),
                "Var_LowestPrice" => htmlentities((string) $item->VariationSummary->LowestPrice->Amount),
                "Offer_HighestPrice" => htmlentities((string) $item->OfferSummary->HighestNewPrice->Amount),
                "Offer_LowestPrice" => htmlentities((string) $item->OfferSummary->LowestNewPrice->Amount),
                "uvp" => htmlentities((string) $item->ItemAttributes->ListPrice->Amount)
            ),
            "Discount" => htmlentities((string) $item->Offers->Offer->OfferListing->PercentageSaved),
            "available"=> "in stock",
            "Color" => htmlentities((string) $item->ItemAttributes->Color),
            "error" => htmlentities((string) $error->Error->Code)

            );  


Print_r($response);
return $response;
};

call the function and print result:

$response = getAmazonData("de", $parent);
Print_r($response);