PHP SOAP stdClass

I want to get info of an external serve with SOAP. When i do a print_r of that SOAP call i get:

stdClass Object (
    [Ticket] => stdClass Object
        (
            [Timestamp] => 2012-07-24T17:46:01.306+02:00
            [ExpiryTimestamp] => 2012-07-24T18:47:46.626+02:00
        )

    [FUP] => stdClass Object
        (
            [Period] => stdClass Object
                (
                    [From] => 2012-06-25+02:00
                    [Till] => 2012-07-24+02:00
                    [CurrentDay] => 30
                )

            [Usage] => stdClass Object
                (
                    [TotalUsage] => 75.1
                    [MinUsageRemaining] => 182.59
                    [MaxUsageRemaining] => 612.54
                    [Unit] => GB
                    [LastUpdate] => 2012-07-24T17:40:44.000+02:00
                )

            [Status] => Vrij verbruik
            [StatusDescription] => stdClass Object
                (
                    [NL] => Je surft met volledige surfsnelheid.
                    [FR] => Vous surfez à vitesse normale.
                )

        )

)

This is the PHP code to get the data:

$wsdl_url = "https://t4t.services.telenet.be/TelemeterService.wsdl";
$client = new SoapClient($wsdl_url);


try
      {
         $result = $client->retrieveUsage(new SoapParam(array("UserId" => $userName, "Password" => $password), "RetrieveUsageRequestType"));
      }

How can i display the data of TotalUsage?

It's just a PHP object with a number of properties.

You can access TotalUsage like this:

$result->FUP->Usage->TotalUsage;
<?php

$usage = $result->FUP->Usage->TotalUsage;