Sample Call

<?php
// SOAP_CLIENT_BASEDIR - folder that contains the PHP Toolkit and your WSDL
// $USERNAME - variable that contains your Salesforce.com username (must be in the form of an email)
// $PASSWORD - variable that contains your Salesforce.ocm password

define("SOAP_CLIENT_BASEDIR", "../../soapclient");
require_once (SOAP_CLIENT_BASEDIR.'/SforceEnterpriseClient.php');
require_once (SOAP_CLIENT_BASEDIR.'/SforceHeaderOptions.php');

try {
  $mySforceConnection = new SforceEnterpriseClient();
  $mySoapClient = $mySforceConnection->createConnection(SOAP_CLIENT_BASEDIR.'/enterprise.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
    [types] => Array
        (
            [0] => Account
            [1] => AccountContactRole
            [2] => AccountHistory
            [3] => AccountPartner
            [4] => AccountShare
            [5] => ActivityHistory
            [6] => AdditionalNumber
            [7] => ApexClass
            [8] => ApexPage
            [9] => ApexTrigger
            [10] => Approval
            [11] => Art__c
            [12] => Asset
            [13] => AssignmentRule
            [14] => Attachment
            [15] => Blog_Post__c
            [16] => Book__c
            [17] => BrandTemplate
            [18] => BusinessHours
            [19] => BusinessProcess
            [20] => CallCenter
            [21] => Campaign
            [22] => CampaignMember
            [23] => CampaignMemberStatus
            [24] => CampaignShare
            [25] => Case
            [26] => CaseComment
            [27] => CaseContactRole
            [28] => CaseHistory
            [29] => CaseShare
            [30] => CaseSolution
            [31] => CaseStatus
            [32] => CategoryData
            [33] => CategoryNode
            [34] => Clothing__c
            [35] => CommunityProfile__c
            [36] => Contact
            [37] => ContactHistory
            [38] => ContactShare
            [39] => Contract
            [40] => ContractContactRole
            [41] => ContractHistory
            [42] => ContractStatus
            [43] => CustomEvent__c
            [44] => CustomObjFromPHP0__History
            [45] => CustomObjFromPHP0__c
            [46] => CustomObjFromPHP1__History
            [47] => CustomObjFromPHP1__c
            [48] => CustomObjFromPHP2__History
            [49] => CustomObjFromPHP2__c
            [50] => DEAL_Config_Deal__c
            [51] => Document
            [52] => DocumentAttachmentMap
            [53] => EmailStatus
            [54] => EmailTemplate
            [55] => Event
            [56] => EventAttendee
            [57] => FiscalYearSettings
            [58] => Folder
            [59] => Food__c
            [60] => ForecastShare
            [61] => Group
            [62] => GroupMember
            [63] => Idea__c
            [64] => Laptop__c
            [65] => Lead
            [66] => LeadHistory
            [67] => LeadShare
            [68] => LeadStatus
            [69] => MailmergeTemplate
            [70] => Mileage__c
            [71] => Music_Group__c
            [72] => Name
            [73] => Note
            [74] => NoteAndAttachment
            [75] => OpenActivity
            [76] => Opportunity
            [77] => OpportunityCompetitor
            [78] => OpportunityContactRole
            [79] => OpportunityHistory
            [80] => OpportunityLineItem
            [81] => OpportunityPartner
            [82] => OpportunityShare
            [83] => OpportunityStage
            [84] => Organization
            [85] => Partner
            [86] => PartnerRole
            [87] => Period
            [88] => Person__c
            [89] => Phone__c
            [90] => Photo_Frames__c
            [91] => Poster__c
            [92] => Pricebook2
            [93] => PricebookEntry
            [94] => ProcessInstance
            [95] => ProcessInstanceHistory
            [96] => ProcessInstanceStep
            [97] => ProcessInstanceWorkitem
            [98] => Product2
            [99] => Profile
            [100] => QueueSobject
            [101] => RecordType
            [102] => Scontrol
            [103] => SelfServiceUser
            [104] => Shoes__c
            [105] => Software_Project__c
            [106] => Software__c
            [107] => Solution
            [108] => SolutionHistory
            [109] => SolutionStatus
            [110] => Sport__c
            [111] => StaticResource
            [112] => Studen__c
            [113] => Support__c
            [114] => Task
            [115] => TaskPriority
            [116] => TaskStatus
            [117] => User
            [118] => UserLicense
            [119] => UserPreference
            [120] => UserRole
            [121] => Video__c
            [122] => Vote__c
            [123] => WebLink
            [124] => Websites__c
        )

)