original_string: public function DumpList($options = array(), $listId = false) {
          $api = $this->url . 'list/';
          if (!$listId)
              $listId = $this->listId;
          $payload = array_merge(array('id' => $this->listId), $options);
          $data = $this->requestMonkey($api, $payload, true);
          if (empty($data) || !isset($data))
              return $data;
          $result = preg_split('/$\R?^/m', $data);
  
          $headerArray = json_decode($result[0]);
          unset($result[0]);
  
          $data = array();
          foreach ($result as $value) {
              $data[] = array_combine($headerArray, json_decode($value));
          }
  
          return $data;
      }
code: public function DumpList($options = array(), $listId = false) {
          $api = $this->url . 'list/';
          if (!$listId)
              $listId = $this->listId;
          $payload = array_merge(array('id' => $this->listId), $options);
          $data = $this->requestMonkey($api, $payload, true);
          if (empty($data) || !isset($data))
              return $data;
          $result = preg_split('/$\R?^/m', $data);
  
          $headerArray = json_decode($result[0]);
          unset($result[0]);
  
          $data = array();
          foreach ($result as $value) {
              $data[] = array_combine($headerArray, json_decode($value));
          }
  
          return $data;
      }
code_tokens: public function DumpList ( $ options = array ( ) , $ listId = false ) { $ api = $ this -> url . 'list/' ; if ( ! $ listId ) $ listId = $ this -> listId ; $ payload = array_merge ( array ( 'id' => $ this -> listId ) , $ options ) ; $ data = $ this -> requestMonkey ( $ api , $ payload , true ) ; if ( empty ( $ data ) || ! isset ( $ data ) ) return $ data ; $ result = preg_split ( '/$\R?^/m' , $ data ) ; $ headerArray = json_decode ( $ result [ 0 ] ) ; unset ( $ result [ 0 ] ) ; $ data = array ( ) ; foreach ( $ result as $ value ) { $ data [ ] = array_combine ( $ headerArray , json_decode ( $ value ) ) ; } return $ data ; }
docstring: Dump members of a list
  @link http://apidocs.mailchimp.com/export/1.0/list.func.php Read mailchimp api docs
  @param array $options
  @param string $listId
  @return array
docstring_tokens: Dump members of a list