public function getInfo($opt = null) { $args = array(); $args[] = $this->curl; if (func_num_args()) { $args[] = $opt; } return call_user_func_array('curl_getinfo', $args); }