This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
uphp:functions:flush [2017/03/18 19:26] jeff |
uphp:functions:flush [2021/09/13 05:57] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
======flush====== | ======flush====== | ||
+ | |||
< | < | ||
Line 5: | Line 6: | ||
====Description==== | ====Description==== | ||
- | <well size=" | + | |
- | </ | + | <well size=" |
+ | <span style=" | ||
+ | </ | ||
This function will send out any pending buffered data immediately | This function will send out any pending buffered data immediately | ||
====Parameters==== | ====Parameters==== | ||
+ | |||
None | None | ||
- | ====Return | + | ====Return |
None | None | ||
====Example==== | ====Example==== | ||
+ | |||
<code php> | <code php> | ||
<? | <? | ||
Line 26: | Line 32: | ||
====Note==== | ====Note==== | ||
+ | |||
This function attempts to push current output all the way to the browser with a few caveats: | This function attempts to push current output all the way to the browser with a few caveats: | ||
* [[flush()]] has no effect on any client-side buffering in the browser | * [[flush()]] has no effect on any client-side buffering in the browser | ||
Line 33: | Line 40: | ||
====See Also==== | ====See Also==== | ||
- | [[print()]] - Output | + | |
+ | [[print()]] - Print data to the current output stream such as a web page or terminal | ||