Sample

<?php
define("SOAP_CLIENT_BASEDIR", "../../soapclient");
require_once (SOAP_CLIENT_BASEDIR.'/SforcePartnerClient.php');
require_once (SOAP_CLIENT_BASEDIR.'/SforceHeaderOptions.php');
require_once ('../userAuth.php');

try {
  $mySforceConnection = new SforcePartnerClient();
  $mySoapClient = $mySforceConnection->createConnection(SOAP_CLIENT_BASEDIR.'/partner.wsdl.xml');
  $mylogin = $mySforceConnection->login($USERNAME, $PASSWORD);

  print_r($mySforceConnection->describeGlobal());

} catch (Exception $e) {
  echo $mySforceConnection->getLastRequest();
  echo $e->faultstring;
}
?> 

Sample Output

stdClass Object
(
    [encoding] => UTF-8
    [maxBatchSize] => 200
    [sobjects] => Array
        (
            [0] => stdClass Object
                (
                    [activateable] => 
                    [createable] => 1
                    [custom] => 
                    [customSetting] => 
                    [deletable] => 1
                    [deprecatedAndHidden] => 
                    [feedEnabled] => 1
                    [keyPrefix] => 001
                    [label] => Account
                    [labelPlural] => Accounts
                    [layoutable] => 1
                    [mergeable] => 1
                    [name] => Account
                    [queryable] => 1
                    [replicateable] => 1
                    [retrieveable] => 1
                    [searchable] => 1
                    [triggerable] => 1
                    [undeletable] => 1
                    [updateable] => 1
                )

            [1] => stdClass Object
                (
                    [activateable] => 
                    [createable] => 1
                    [custom] => 
                    [customSetting] => 
                    [deletable] => 1
                    [deprecatedAndHidden] => 
                    [feedEnabled] => 
                    [keyPrefix] => 02Z
                    [label] => Contact Role
                    [labelPlural] => Contact Role
                    [layoutable] => 
                    [mergeable] => 
                    [name] => AccountContactRole
                    [queryable] => 1
                    [replicateable] => 1
                    [retrieveable] => 1
                    [searchable] => 
                    [triggerable] => 
                    [undeletable] => 
                    [updateable] => 1
                )

            [2] => stdClass Object
                (
                    [activateable] => 
                    [createable] => 
                    [custom] => 
                    [customSetting] => 
                    [deletable] => 1
                    [deprecatedAndHidden] => 
                    [feedEnabled] => 
                    [keyPrefix] => 
                    [label] => Account Feed
                    [labelPlural] => Account Feed
                    [layoutable] => 
                    [mergeable] => 
                    [name] => AccountFeed
                    [queryable] => 1
                    [replicateable] => 1
                    [retrieveable] => 1
                    [searchable] => 
                    [triggerable] => 
                    [undeletable] => 
                    [updateable] => 
                )

            [3] => stdClass Object
                (
                    [activateable] => 
                    [createable] => 
                    [custom] => 
                    [customSetting] => 
                    [deletable] => 
                    [deprecatedAndHidden] => 
                    [feedEnabled] => 
                    [keyPrefix] => 
                    [label] => Account History
                    [labelPlural] => Account History
                    [layoutable] => 
                    [mergeable] => 
                    [name] => AccountHistory
                    [queryable] => 1
                    [replicateable] => 1
                    [retrieveable] => 1
                    [searchable] => 
                    [triggerable] => 
                    [undeletable] => 
                    [updateable] => 
                )
            // LOTS more output!