MSN SOAP Error in PHP Version Less Than 5.1.4?

Awhile back, I copied a script from IBM’s website that used MSN, Yahoo and Google’s API to fetch search results and store them in a database. Much to my chagrin, after tweaking the script to accommodate my needs, I found that I couldn’t get MSN to return more than 10 results. I spent over an hour trying to figure whether it was a problem I had induced while making my changes. I finally gave up, as it was a side project and not that important. I couldn’t find anything on PHP Bugs site and this anomaly occurred on both Windows and Linux, both running PHP <5.1 with SOAP enabled.

Recently, I leased a new dedicated server and have PHP 5.1.4 running on CentOS and the problem has disappeared. I am using the exact same code, so all I can assume is that versions prior to 5.1.4 (could be a lower release will work, but I know for sure 5.1.4 works) have a bug in the SOAP implementation that fails to get the correct number of results for MSN.

Leave a Reply