original_string: public function addURL($url,$options=array()) {
          $ch = curl_init($url);
          curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
          foreach($options as $option=>$value) {
              curl_setopt($ch, $option, $value);
          }
          return $this->addCurl($ch);
      }
code: public function addURL($url,$options=array()) {
          $ch = curl_init($url);
          curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
          foreach($options as $option=>$value) {
              curl_setopt($ch, $option, $value);
          }
          return $this->addCurl($ch);
      }
code_tokens: public function addURL ( $ url , $ options = array ( ) ) { $ ch = curl_init ( $ url ) ; curl_setopt ( $ ch , CURLOPT_RETURNTRANSFER , 1 ) ; foreach ( $ options as $ option => $ value ) { curl_setopt ( $ ch , $ option , $ value ) ; } return $ this -> addCurl ( $ ch ) ; }
docstring: simplifies example and allows for additional curl options to be passed in via array
docstring_tokens: simplifies example and allows for additional curl options to be passed in via array