Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<Output rewrite usageflush>
^Output ControlLast updated: Mon, 26 Oct 2026

Output Control Functions

See Also

See also header() and setcookie().

Table of Contents

  • flush — Flush system output buffer
  • ob_clean — Clean (erase) the contents of the active output buffer
  • ob_end_clean — Clean (erase) the contents of the active output buffer and turn it off
  • ob_end_flush — Flush (send) the return value of the active output handler and turn the active output buffer off
  • ob_flush — Flush (send) the return value of the active output handler
  • ob_get_clean — Get the contents of the active output buffer and turn it off
  • ob_get_contents — Return the contents of the output buffer
  • ob_get_flush — Flush (send) the return value of the active output handler, return the contents of the active output buffer and turn it off
  • ob_get_length — Return the length of the output buffer
  • ob_get_level — Return the nesting level of the output buffering mechanism
  • ob_get_status — Get status of output buffers
  • ob_implicit_flush — Turn implicit flush on/off
  • ob_list_handlers — List all output handlers in use
  • ob_start — Turn on output buffering
  • output_add_rewrite_var — Add URL rewriter values
  • output_reset_rewrite_vars — Reset URL rewriter values

<Output rewrite usageflush>
^Output ControlLast updated: Mon, 26 Oct 2026