Use native PHP buffering functions instead of userspace ones
Explicitly include php_output.h
Merge pull request #763 from sjinks/native-buffering

[NFR] Use native PHP buffering functions instead of userspace ones