Update Pubnub.php

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

Update Pubnub.php