Minor php fixes
Merge pull request #32 from blaketmiller/ben

Minor php fixes