|
ob_get_cleanGet the contents of the active output buffer and turn it off Description
stringfalse ob_get_clean()
This function calls the output handler
(with the
ob_get_clean will fail
without an active output buffer started with the
ob_get_clean
will discard the contents of the active output buffer
even if it was started without the
ParametersThis function has no parameters. Return Values
Returns the contents of the active output buffer on success
or Caution
ob_get_clean will return false
but will not generate an Errors/Exceptions
If the function fails it generates an Examples
Example #1 A simple ob_get_clean example
The above example will output: string(11) "hello world" See Also
|