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

https://jira.mongodb.org/browse/PHP-1231
Because it was never like that. On refactoring, I don't want to change these inconsequential things. 

Nested macros could also be problematic.