cleanup, docs
This commit is contained in:
@@ -2,15 +2,18 @@
|
||||
void ob_close()
|
||||
|
||||
:params
|
||||
(none)
|
||||
return value : none
|
||||
|
||||
:content
|
||||
Discards the current output buffer and its contents, switching back to the previous buffer on the stack. Use it when you captured output only to throw it away (e.g. rendering for a side effect).
|
||||
|
||||
:example
|
||||
ob_start();
|
||||
print("this output is discarded");
|
||||
ob_close();
|
||||
print("the buffered text never reached the response\n");
|
||||
|
||||
:see
|
||||
>ob
|
||||
|
||||
:content
|
||||
Discards the current output buffer.
|
||||
|
||||
If more output buffers remain on the stack, UCE switches to the next one.
|
||||
|
||||
:example
|
||||
print("ob_close example\n");
|
||||
ob_get_close
|
||||
ob_start
|
||||
|
||||
Reference in New Issue
Block a user