#include "php_cxx.h" void set_output_function(void (*output_function)(const char *));
Description: This function controls the behavior of operational output from the php object. This class of output contains all the strings produced in PHP by such commands as echo, print, or printf. The default behavior of the php libraries is to print these strings to stdout prepended with the string ``PHP OUTPUT:''. NOTE: Due to its primarily application as a hypertext processor the default behavior in PHP is to only flush the output buffer when the PHP interpreter is destroyed; to get the output flushed sooner use the PHP function ob_flush(). If set, php will call output_function with a const char * string containing the output.