Also I suggest you use Fiddler to capture a request trace. Check what is returned in the response. In addition, the Bing Search API is a REST API, so we don't have to use a library. We can make http requests on our own. First explorer the API on
https://datamarket.azure.com/dataset/explore/5ba839f1-12ce-4cce-bf57-a49d98d29a44. You will see how the various queries work. Then use the PHP http library to make http requests, and it would work.
Will <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
MSDN Community Support
Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.