Tracking down random nulls from PHP Couchbase extension

Parikshit Agnihotry and Leo Nishio