Update Pubnub.php

Fixing "Only variables should be passed by reference" error
Merge pull request #1 from xurumelous/patch-1

Update Pubnub.php