Output Buffering
7 entries
flush
Pushes the system write buffers of PHP and its backend (CGI/web server) toward the client; does not touch ob_start user-level buffers.
ob_end_flush / ob_flush
Two flush verbs: ob_flush pushes the active user buffer one layer down (frame stays open), ob_end_flush flushes and closes that frame; flush() pushes system-level buffers toward the client.
ob_get_clean
Returns the current buffer contents and ends buffering — equivalent to ob_get_contents plus ob_end_clean.
ob_get_length
Returns the byte length of the active output buffer, or false if buffering is off.
ob_get_level
Returns the current output-buffering nesting level: each ob_start pushes a frame, each ob_end_* pops one - nested buffers are a stack.
ob_implicit_flush
Toggles implicit flush mode; when enabled every output call flushes automatically.
ob_start
Turns on output buffering; subsequent output goes into a buffer instead of being sent directly.