vgrem/phpSPO — pull request #1 by kmcconnell (2014-06-17 23:06:51+00:00)
Title: Getting single items and lists with spaces in names

phpSPO has moved my project light years forward. Thanks for putting this together. I added a function to request just a single item from a list in addition to getItems. I also found that lists with spaces in their names caused issues when adding or updating lists. So I added a str_replace on those functions to replace %20 with _x0020_ which works great.

This allows you to use `$listTitle = 'List%20Name';` when the list name has a space.

Thanks again for great code! Hopefully you don't mind me jumping in with my two cents as I incorporate into my project.