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);

  $processSubmitRequest1 = new ProcessSubmitRequest();
  $processSubmitRequest1->objectId = "0038000000TwXXT";
  $processSubmitRequest1->comments = "Please approve this request.";
  $processSubmitRequest1->nextApproverIds = array("005700000014rfA");

  $processSubmitRequest2 = new ProcessSubmitRequest();
  $processSubmitRequest2->objectId = "0038000000TwXXT";
  $processSubmitRequest2->comments = "Please approve this request.";
  $processSubmitRequest2->nextApproverIds = array("005700000014rfA");  
  

  $processSubmitRequestResponse = $mySforceConnection->processSubmitRequest(array ($processSubmitRequest1, $processSubmitRequest2));
  print_r($processSubmitRequestResponse);

} catch (Exception $ex) {
  echo $mySforceConnection->getLastRequest();
  print_r($ex);
}
?>

Sample Output