zendesk/zendesk_api_client_php — pull request #20 by rene-lafleur (2014-05-22 22:20:10+00:00)
Title: Update Http.php

When $json is a string, the condition on line 48 is evaluated like so :
isset($json['filename'])
-> isset($json[0]) (string when interpreted as a integer becomes 0)
-> isset({first character of $json})

And so fopen then attempts to open a file named '{'.