update PHP SDK

wrapped additional debug content in isset to prevent undefined index error. defined $msg as an empty string to prevent undefined variable error.
Merge pull request #56 from ccalfee/patch-10

update PHP SDK