PHP-1151: Remove support for compiling without PHP streams

Also removed the code, and (ir)relevant test cases.
Fixed up return from function from a previous PR.
Merged pull request #728