ob_implicit_flush

(PHP 4, PHP 5, PHP 7, PHP 8)

ob_implicit_flush打开/关闭绝对刷送

说明

ob_implicit_flush(bool $enable = true): void

ob_implicit_flush() 将打开或关闭绝对(隐式)刷送。绝对(隐式)刷送将导致在每次输出调用后有一次刷送操作,以便不再需要对 flush() 的显式调用。

参数

enable

设为 true 打开绝对刷送,反之是 false

返回值

没有返回值。

更新日志

版本 说明
8.0.0 enable 现在需要 bool 值;之前,需要 int

参见

  • flush() - 刷新系统输出缓冲区
  • ob_start() - 打开输出控制缓冲
  • ob_end_flush() - 冲刷出(送出)输出缓冲区内容并关闭缓冲区

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top