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.com password

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

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

  print_r($mySforceConnection->describeSObject('Task'));

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

Sample Output

stdClass Object
(
    [activateable] => 
    [childRelationships] => Array
        (
            [0] => stdClass Object
                (
                    [cascadeDelete] => 
                    [childSObject] => Attachment
                    [field] => ParentId
                    [relationshipName] => Attachments
                )

            [1] => stdClass Object
                (
                    [cascadeDelete] => 
                    [childSObject] => EmailStatus
                    [field] => TaskId
                )

        )

    [createable] => 1
    [custom] => 
    [deletable] => 1
    [fields] => Array
        (
            [0] => stdClass Object
                (
                    [autoNumber] => 
                    [byteLength] => 18
                    [calculated] => 
                    [caseSensitive] => 
                    [createable] => 
                    [custom] => 
                    [defaultedOnCreate] => 1
                    [digits] => 0
                    [filterable] => 1
                    [idLookup] => 1
                    [label] => Activity ID
                    [length] => 18
                    [name] => Id
                    [nameField] => 
                    [namePointing] => 
                    [nillable] => 
                    [precision] => 0
                    [restrictedPicklist] => 
                    [scale] => 0
                    [soapType] => tns:ID
                    [sortable] => 1
                    [type] => id
                    [unique] => 
                    [updateable] => 
                )

            [1] => stdClass Object
                (
                    [autoNumber] => 
                    [byteLength] => 18
                    [calculated] => 
                    [caseSensitive] => 
                    [createable] => 1
                    [custom] => 
                    [defaultedOnCreate] => 
                    [digits] => 0
                    [filterable] => 1
                    [idLookup] => 
                    [label] => Contact/Lead ID
                    [length] => 18
                    [name] => WhoId
                    [nameField] => 
                    [namePointing] => 1
                    [nillable] => 1
                    [precision] => 0
                    [referenceTo] => Array
                        (
                            [0] => Contact
                            [1] => Lead
                        )

                    [relationshipName] => Who
                    [restrictedPicklist] => 
                    [scale] => 0
                    [soapType] => tns:ID
                    [sortable] => 1
                    [type] => reference
                    [unique] => 
                    [updateable] => 1
                )

            [2] => stdClass Object
                (
                    [autoNumber] => 
                    [byteLength] => 18
                    [calculated] => 
                    [caseSensitive] => 
                    [createable] => 1
                    [custom] => 
                    [defaultedOnCreate] => 
                    [digits] => 0
                    [filterable] => 1
                    [idLookup] => 
                    [label] => Opportunity/Account ID
                    [length] => 18
                    [name] => WhatId
                    [nameField] => 
                    [namePointing] => 1
                    [nillable] => 1
                    [precision] => 0
                    [referenceTo] => Array
                        (
                            [0] => Account
                            [1] => Asset
                            [2] => Campaign
                            [3] => Case
                            [4] => Contract
                            [5] => Opportunity
                            [6] => Product2
                            [7] => Solution
                        )

                    [relationshipName] => What
                    [restrictedPicklist] => 
                    [scale] => 0
                    [soapType] => tns:ID
                    [sortable] => 1
                    [type] => reference
                    [unique] => 
                    [updateable] => 1
                )

            [3] => stdClass Object
                (
                    [autoNumber] => 
                    [byteLength] => 240
                    [calculated] => 
                    [caseSensitive] => 
                    [createable] => 1
                    [custom] => 
                    [defaultedOnCreate] => 
                    [digits] => 0
                    [filterable] => 1
                    [idLookup] => 
                    [label] => Subject
                    [length] => 80
                    [name] => Subject
                    [nameField] => 1
                    [namePointing] => 
                    [nillable] => 1
                    [picklistValues] => Array
                        (
                            [0] => stdClass Object
                                (
                                    [active] => 1
                                    [defaultValue] => 
                                    [label] => Call
                                    [value] => Call
                                )

                            [1] => stdClass Object
                                (
                                    [active] => 1
                                    [defaultValue] => 
                                    [label] => Email
                                    [value] => Email
                                )

                            [2] => stdClass Object
                                (
                                    [active] => 1
                                    [defaultValue] => 
                                    [label] => Send Letter
                                    [value] => Send Letter
                                )

                            [3] => stdClass Object
                                (
                                    [active] => 1
                                    [defaultValue] => 
                                    [label] => Send Quote
                                    [value] => Send Quote
                                )

                            [4] => stdClass Object
                                (
                                    [active] => 1
                                    [defaultValue] => 
                                    [label] => Other
                                    [value] => Other
                                )

                        )

                    [precision] => 0
                    [restrictedPicklist] => 
                    [scale] => 0
                    [soapType] => xsd:string
                    [sortable] => 1
                    [type] => combobox
                    [unique] => 
                    [updateable] => 1
                )

            [4] => stdClass Object
                (
                    [autoNumber] => 
                    [byteLength] => 0
                    [calculated] => 
                    [caseSensitive] => 
                    [createable] => 1
                    [custom] => 
                    [defaultedOnCreate] => 
                    [digits] => 0
                    [filterable] => 1
                    [idLookup] => 
                    [label] => Due Date Only
                    [length] => 0
                    [name] => ActivityDate
                    [nameField] => 
                    [namePointing] => 
                    [nillable] => 1
                    [precision] => 0
                    [restrictedPicklist] => 
                    [scale] => 0
                    [soapType] => xsd:date
                    [sortable] => 1
                    [type] => date
                    [unique] => 
                    [updateable] => 1
                )

            [5] => stdClass Object
                (
                    [autoNumber] => 
                    [byteLength] => 120
                    [calculated] => 
                    [caseSensitive] => 
                    [createable] => 1
                    [custom] => 
                    [defaultedOnCreate] => 
                    [digits] => 0
                    [filterable] => 1
                    [idLookup] => 
                    [label] => Status
                    [length] => 40
                    [name] => Status
                    [nameField] => 
                    [namePointing] => 
                    [nillable] => 
                    [picklistValues] => Array
                        (
                            [0] => stdClass Object
                                (
                                    [active] => 1
                                    [defaultValue] => 1
                                    [label] => Not Started
                                    [value] => Not Started
                                )

                            [1] => stdClass Object
                                (
                                    [active] => 1
                                    [defaultValue] => 
                                    [label] => In Progress
                                    [value] => In Progress
                                )

                            [2] => stdClass Object
                                (
                                    [active] => 1
                                    [defaultValue] => 
                                    [label] => Completed
                                    [value] => Completed
                                )

                            [3] => stdClass Object
                                (
                                    [active] => 1
                                    [defaultValue] => 
                                    [label] => Waiting on someone else
                                    [value] => Waiting on someone else
                                )

                            [4] => stdClass Object
                                (
                                    [active] => 1
                                    [defaultValue] => 
                                    [label] => Deferred
                                    [value] => Deferred
                                )

                        )

                    [precision] => 0
                    [restrictedPicklist] => 
                    [scale] => 0
                    [soapType] => xsd:string
                    [sortable] => 1
                    [type] => picklist
                    [unique] => 
                    [updateable] => 1
                )

            [6] => stdClass Object
                (
                    [autoNumber] => 
                    [byteLength] => 120
                    [calculated] => 
                    [caseSensitive] => 
                    [createable] => 1
                    [custom] => 
                    [defaultedOnCreate] => 
                    [digits] => 0
                    [filterable] => 1
                    [idLookup] => 
                    [label] => Priority
                    [length] => 40
                    [name] => Priority
                    [nameField] => 
                    [namePointing] => 
                    [nillable] => 
                    [picklistValues] => Array
                        (
                            [0] => stdClass Object
                                (
                                    [active] => 1
                                    [defaultValue] => 
                                    [label] => High
                                    [value] => High
                                )

                            [1] => stdClass Object
                                (
                                    [active] => 1
                                    [defaultValue] => 1
                                    [label] => Normal
                                    [value] => Normal
                                )

                            [2] => stdClass Object
                                (
                                    [active] => 1
                                    [defaultValue] => 
                                    [label] => Low
                                    [value] => Low
                                )

                        )

                    [precision] => 0
                    [restrictedPicklist] => 
                    [scale] => 0
                    [soapType] => xsd:string
                    [sortable] => 1
                    [type] => picklist
                    [unique] => 
                    [updateable] => 1
                )

            [7] => stdClass Object
                (
                    [autoNumber] => 
                    [byteLength] => 18
                    [calculated] => 
                    [caseSensitive] => 
                    [createable] => 1
                    [custom] => 
                    [defaultedOnCreate] => 1
                    [digits] => 0
                    [filterable] => 1
                    [idLookup] => 
                    [label] => Assigned To ID
                    [length] => 18
                    [name] => OwnerId
                    [nameField] => 
                    [namePointing] => 1
                    [nillable] => 
                    [precision] => 0
                    [referenceTo] => User
                    [relationshipName] => Owner
                    [restrictedPicklist] => 
                    [scale] => 0
                    [soapType] => tns:ID
                    [sortable] => 1
                    [type] => reference
                    [unique] => 
                    [updateable] => 1
                )

            [8] => stdClass Object
                (
                    [autoNumber] => 
                    [byteLength] => 32000
                    [calculated] => 
                    [caseSensitive] => 
                    [createable] => 1
                    [custom] => 
                    [defaultedOnCreate] => 
                    [digits] => 0
                    [filterable] => 
                    [idLookup] => 
                    [label] => Description
                    [length] => 32000
                    [name] => Description
                    [nameField] => 
                    [namePointing] => 
                    [nillable] => 1
                    [precision] => 0
                    [restrictedPicklist] => 
                    [scale] => 0
                    [soapType] => xsd:string
                    [sortable] => 
                    [type] => textarea
                    [unique] => 
                    [updateable] => 1
                )

            [9] => stdClass Object
                (
                    [autoNumber] => 
                    [byteLength] => 0
                    [calculated] => 
                    [caseSensitive] => 
                    [createable] => 
                    [custom] => 
                    [defaultedOnCreate] => 1
                    [digits] => 0
                    [filterable] => 1
                    [idLookup] => 
                    [label] => Deleted
                    [length] => 0
                    [name] => IsDeleted
                    [nameField] => 
                    [namePointing] => 
                    [nillable] => 
                    [precision] => 0
                    [restrictedPicklist] => 
                    [scale] => 0
                    [soapType] => xsd:boolean
                    [sortable] => 1
                    [type] => boolean
                    [unique] => 
                    [updateable] => 
                )

            [10] => stdClass Object
                (
                    [autoNumber] => 
                    [byteLength] => 18
                    [calculated] => 
                    [caseSensitive] => 
                    [createable] => 
                    [custom] => 
                    [defaultedOnCreate] => 
                    [digits] => 0
                    [filterable] => 1
                    [idLookup] => 
                    [label] => Account ID
                    [length] => 18
                    [name] => AccountId
                    [nameField] => 
                    [namePointing] => 
                    [nillable] => 1
                    [precision] => 0
                    [referenceTo] => Account
                    [restrictedPicklist] => 
                    [scale] => 0
                    [soapType] => tns:ID
                    [sortable] => 1
                    [type] => reference
                    [unique] => 
                    [updateable] => 
                )

            [11] => stdClass Object
                (
                    [autoNumber] => 
                    [byteLength] => 0
                    [calculated] => 
                    [caseSensitive] => 
                    [createable] => 
                    [custom] => 
                    [defaultedOnCreate] => 1
                    [digits] => 0
                    [filterable] => 1
                    [idLookup] => 
                    [label] => Closed
                    [length] => 0
                    [name] => IsClosed
                    [nameField] => 
                    [namePointing] => 
                    [nillable] => 
                    [precision] => 0
                    [restrictedPicklist] => 
                    [scale] => 0
                    [soapType] => xsd:boolean
                    [sortable] => 1
                    [type] => boolean
                    [unique] => 
                    [updateable] => 
                )

            [12] => stdClass Object
                (
                    [autoNumber] => 
                    [byteLength] => 0
                    [calculated] => 
                    [caseSensitive] => 
                    [createable] => 
                    [custom] => 
                    [defaultedOnCreate] => 1
                    [digits] => 0
                    [filterable] => 1
                    [idLookup] => 
                    [label] => Created Date
                    [length] => 0
                    [name] => CreatedDate
                    [nameField] => 
                    [namePointing] => 
                    [nillable] => 
                    [precision] => 0
                    [restrictedPicklist] => 
                    [scale] => 0
                    [soapType] => xsd:dateTime
                    [sortable] => 1
                    [type] => datetime
                    [unique] => 
                    [updateable] => 
                )

            [13] => stdClass Object
                (
                    [autoNumber] => 
                    [byteLength] => 18
                    [calculated] => 
                    [caseSensitive] => 
                    [createable] => 
                    [custom] => 
                    [defaultedOnCreate] => 1
                    [digits] => 0
                    [filterable] => 1
                    [idLookup] => 
                    [label] => Created By ID
                    [length] => 18
                    [name] => CreatedById
                    [nameField] => 
                    [namePointing] => 
                    [nillable] => 
                    [precision] => 0
                    [referenceTo] => User
                    [relationshipName] => CreatedBy
                    [restrictedPicklist] => 
                    [scale] => 0
                    [soapType] => tns:ID
                    [sortable] => 1
                    [type] => reference
                    [unique] => 
                    [updateable] => 
                )

            [14] => stdClass Object
                (
                    [autoNumber] => 
                    [byteLength] => 0
                    [calculated] => 
                    [caseSensitive] => 
                    [createable] => 
                    [custom] => 
                    [defaultedOnCreate] => 1
                    [digits] => 0
                    [filterable] => 1
                    [idLookup] => 
                    [label] => Last Modified Date
                    [length] => 0
                    [name] => LastModifiedDate
                    [nameField] => 
                    [namePointing] => 
                    [nillable] => 
                    [precision] => 0
                    [restrictedPicklist] => 
                    [scale] => 0
                    [soapType] => xsd:dateTime
                    [sortable] => 1
                    [type] => datetime
                    [unique] => 
                    [updateable] => 
                )

            [15] => stdClass Object
                (
                    [autoNumber] => 
                    [byteLength] => 18
                    [calculated] => 
                    [caseSensitive] => 
                    [createable] => 
                    [custom] => 
                    [defaultedOnCreate] => 1
                    [digits] => 0
                    [filterable] => 1
                    [idLookup] => 
                    [label] => Last Modified By ID
                    [length] => 18
                    [name] => LastModifiedById
                    [nameField] => 
                    [namePointing] => 
                    [nillable] => 
                    [precision] => 0
                    [referenceTo] => User
                    [relationshipName] => LastModifiedBy
                    [restrictedPicklist] => 
                    [scale] => 0
                    [soapType] => tns:ID
                    [sortable] => 1
                    [type] => reference
                    [unique] => 
                    [updateable] => 
                )

            [16] => stdClass Object
                (
                    [autoNumber] => 
                    [byteLength] => 0
                    [calculated] => 
                    [caseSensitive] => 
                    [createable] => 
                    [custom] => 
                    [defaultedOnCreate] => 1
                    [digits] => 0
                    [filterable] => 1
                    [idLookup] => 
                    [label] => System Modstamp
                    [length] => 0
                    [name] => SystemModstamp
                    [nameField] => 
                    [namePointing] => 
                    [nillable] => 
                    [precision] => 0
                    [restrictedPicklist] => 
                    [scale] => 0
                    [soapType] => xsd:dateTime
                    [sortable] => 1
                    [type] => datetime
                    [unique] => 
                    [updateable] => 
                )

            [17] => stdClass Object
                (
                    [autoNumber] => 
                    [byteLength] => 0
                    [calculated] => 
                    [caseSensitive] => 
                    [createable] => 
                    [custom] => 
                    [defaultedOnCreate] => 1
                    [digits] => 0
                    [filterable] => 1
                    [idLookup] => 
                    [label] => Archived
                    [length] => 0
                    [name] => IsArchived
                    [nameField] => 
                    [namePointing] => 
                    [nillable] => 
                    [precision] => 0
                    [restrictedPicklist] => 
                    [scale] => 0
                    [soapType] => xsd:boolean
                    [sortable] => 1
                    [type] => boolean
                    [unique] => 
                    [updateable] => 
                )

            [18] => stdClass Object
                (
                    [autoNumber] => 
                    [byteLength] => 0
                    [calculated] => 
                    [caseSensitive] => 
                    [createable] => 1
                    [custom] => 
                    [defaultedOnCreate] => 
                    [digits] => 8
                    [filterable] => 1
                    [idLookup] => 
                    [label] => Call Duration
                    [length] => 0
                    [name] => CallDurationInSeconds
                    [nameField] => 
                    [namePointing] => 
                    [nillable] => 1
                    [precision] => 0
                    [restrictedPicklist] => 
                    [scale] => 0
                    [soapType] => xsd:int
                    [sortable] => 1
                    [type] => int
                    [unique] => 
                    [updateable] => 1
                )

            [19] => stdClass Object
                (
                    [autoNumber] => 
                    [byteLength] => 120
                    [calculated] => 
                    [caseSensitive] => 
                    [createable] => 1
                    [custom] => 
                    [defaultedOnCreate] => 
                    [digits] => 0
                    [filterable] => 1
                    [idLookup] => 
                    [label] => Call Type
                    [length] => 40
                    [name] => CallType
                    [nameField] => 
                    [namePointing] => 
                    [nillable] => 1
                    [picklistValues] => Array
                        (
                            [0] => stdClass Object
                                (
                                    [active] => 1
                                    [defaultValue] => 
                                    [label] => Internal
                                    [value] => Internal
                                )

                            [1] => stdClass Object
                                (
                                    [active] => 1
                                    [defaultValue] => 
                                    [label] => Inbound
                                    [value] => Inbound
                                )

                            [2] => stdClass Object
                                (
                                    [active] => 1
                                    [defaultValue] => 
                                    [label] => Outbound
                                    [value] => Outbound
                                )

                        )

                    [precision] => 0
                    [restrictedPicklist] => 1
                    [scale] => 0
                    [soapType] => xsd:string
                    [sortable] => 1
                    [type] => picklist
                    [unique] => 
                    [updateable] => 1
                )

            [20] => stdClass Object
                (
                    [autoNumber] => 
                    [byteLength] => 765
                    [calculated] => 
                    [caseSensitive] => 
                    [createable] => 1
                    [custom] => 
                    [defaultedOnCreate] => 
                    [digits] => 0
                    [filterable] => 1
                    [idLookup] => 
                    [label] => Call Result
                    [length] => 255
                    [name] => CallDisposition
                    [nameField] => 
                    [namePointing] => 
                    [nillable] => 1
                    [precision] => 0
                    [restrictedPicklist] => 
                    [scale] => 0
                    [soapType] => xsd:string
                    [sortable] => 1
                    [type] => string
                    [unique] => 
                    [updateable] => 1
                )

            [21] => stdClass Object
                (
                    [autoNumber] => 
                    [byteLength] => 765
                    [calculated] => 
                    [caseSensitive] => 
                    [createable] => 1
                    [custom] => 
                    [defaultedOnCreate] => 
                    [digits] => 0
                    [filterable] => 1
                    [idLookup] => 
                    [label] => Call Object Identifier
                    [length] => 255
                    [name] => CallObject
                    [nameField] => 
                    [namePointing] => 
                    [nillable] => 1
                    [precision] => 0
                    [restrictedPicklist] => 
                    [scale] => 0
                    [soapType] => xsd:string
                    [sortable] => 1
                    [type] => string
                    [unique] => 
                    [updateable] => 1
                )

            [22] => stdClass Object
                (
                    [autoNumber] => 
                    [byteLength] => 0
                    [calculated] => 
                    [caseSensitive] => 
                    [createable] => 1
                    [custom] => 
                    [defaultedOnCreate] => 
                    [digits] => 0
                    [filterable] => 1
                    [idLookup] => 
                    [label] => Reminder Date/Time
                    [length] => 0
                    [name] => ReminderDateTime
                    [nameField] => 
                    [namePointing] => 
                    [nillable] => 1
                    [precision] => 0
                    [restrictedPicklist] => 
                    [scale] => 0
                    [soapType] => xsd:dateTime
                    [sortable] => 1
                    [type] => datetime
                    [unique] => 
                    [updateable] => 1
                )

            [23] => stdClass Object
                (
                    [autoNumber] => 
                    [byteLength] => 0
                    [calculated] => 
                    [caseSensitive] => 
                    [createable] => 1
                    [custom] => 
                    [defaultedOnCreate] => 1
                    [digits] => 0
                    [filterable] => 1
                    [idLookup] => 
                    [label] => Reminder Set
                    [length] => 0
                    [name] => IsReminderSet
                    [nameField] => 
                    [namePointing] => 
                    [nillable] => 
                    [precision] => 0
                    [restrictedPicklist] => 
                    [scale] => 0
                    [soapType] => xsd:boolean
                    [sortable] => 1
                    [type] => boolean
                    [unique] => 
                    [updateable] => 1
                )

        )

    [keyPrefix] => 00T
    [label] => Task
    [labelPlural] => Tasks
    [layoutable] => 1
    [mergeable] => 
    [name] => Task
    [queryable] => 1
    [recordTypeInfos] => stdClass Object
        (
            [available] => 1
            [defaultRecordTypeMapping] => 1
            [name] => Master
            [recordTypeId] => 012000000000000AAA
        )

    [replicateable] => 1
    [retrieveable] => 1
    [searchable] => 1
    [triggerable] => 1
    [undeletable] => 1
    [updateable] => 1
    [urlDetail] => https://na5.salesforce.com/{ID}
    [urlEdit] => https://na5.salesforce.com/{ID}/e
    [urlNew] => https://na5.salesforce.com/00T/e
)