{"action":"closed","issue":{"url":"https://api.github.com/repos/php-curl-class/php-curl-class/issues/131","labels_url":"https://api.github.com/repos/php-curl-class/php-curl-class/issues/131/labels{/name}","comments_url":"https://api.github.com/repos/php-curl-class/php-curl-class/issues/131/comments","events_url":"https://api.github.com/repos/php-curl-class/php-curl-class/issues/131/events","html_url":"https://github.com/php-curl-class/php-curl-class/issues/131","id":56815137,"number":131,"title":"PHP Warning curl_setopt(): cannot represent a stream of type MEMORY as a STDIO FILE*","user":{"login":"flyon","id":341567,"avatar_url":"https://avatars.githubusercontent.com/u/341567?v=3","gravatar_id":"","url":"https://api.github.com/users/flyon","html_url":"https://github.com/flyon","followers_url":"https://api.github.com/users/flyon/followers","following_url":"https://api.github.com/users/flyon/following{/other_user}","gists_url":"https://api.github.com/users/flyon/gists{/gist_id}","starred_url":"https://api.github.com/users/flyon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flyon/subscriptions","organizations_url":"https://api.github.com/users/flyon/orgs","repos_url":"https://api.github.com/users/flyon/repos","events_url":"https://api.github.com/users/flyon/events{/privacy}","received_events_url":"https://api.github.com/users/flyon/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-06T14:04:17Z","updated_at":"2015-02-12T15:10:59Z","closed_at":"2015-02-12T15:10:59Z","body":"I get this warning when I do a GET request. The result still comes in, but with this warning.\r\nI'm on a windows WAMP installation. \r\n\r\nThis SO question (http://stackoverflow.com/questions/6841854/how-to-do-curl-put-requests-with-a-php-memory-file-handle) suggests: try to set rw+ for the file handle or use php://temp instead of memory.\r\n\r\nBut I'm not sure how to \"set rw+ for the file handle\", and switching to php://temp would mean changing the code of this library."}}