src/Guzzle/Http/Curl/CurlHandle.php
public function getStderr($asResource = false)
    {
        $stderr = $this->getOptions()->get(CURLOPT_STDERR);
        if (!$stderr) {
            return null;
        }

        if ($asResource) {
            return $stderr;
        }

        fseek($stderr, 0);
        $e = stream_get_contents($stderr);
        fseek($stderr, 0, SEEK_END);

        return $e;
    }
public function getStderr($asResource = false)
    {
        $stderr = $this->getOptions()->get(CURLOPT_STDERR);
        if (!$stderr) {
            return null;
        }

        if ($asResource) {
            return $stderr;
        }

        fseek($stderr, 0);
        $e = stream_get_contents($stderr);
        fseek($stderr, 0, SEEK_END);

        return $e;
    }
public function getStderr ( $ asResource = false ) { $ stderr = $ this -> getOptions ( ) -> get ( CURLOPT_STDERR ) ; if ( ! $ stderr ) { return null ; } if ( $ asResource ) { return $ stderr ; } fseek ( $ stderr , 0 ) ; $ e = stream_get_contents ( $ stderr ) ; fseek ( $ stderr , 0 , SEEK_END ) ; return $ e ; }
Get the stderr output

@param bool $asResource Set to TRUE to get an fopen resource

@return string|resource|null
Get the stderr output