public static function GetArrayFromSoapArray($objSoapArray) { $objArrayToReturn = array(); foreach ($objSoapArray as $objSoapObject) { array_push($objArrayToReturn, FormAnswer::GetObjectFromSoapObject($objSoapObject)); } return $objArrayToReturn; }