hphp_clear_unflushed

Clears any output contents that have not been flushed to networked

function hphp_clear_unflushed(): void;

This is useful when handling a fatal error. Before displaying a customized PHP page, one may call this function to clear previously written content, so to replay what will be displayed.

Returns

  • void