PHP-1231: PHP crashed when using selectCollection inside a Generator

https://jira.mongodb.org/browse/PHP-1231
No, don't paste in junk. I've changed "this" to "z_client" though to make more sense.