doumo2501 2013-10-03 10:14
浏览 20


Quote from

Reasons for failure are first that you called the function without an active buffer or that for some reason a buffer could not be deleted (possible for special buffer)

What is this special buffer?

Right now, to clean all buffers, I have code like this

while (@ob_end_clean());

But if for some reason it should encounter a "special buffer" this would probably make an infinite loop.

  • 写回答

1条回答 默认 最新

  • douju1953 2013-10-03 10:46

    From the manual again

    I think special buffers may refer to buffers created via ob_start() with specific parameters like chunk_size or erase.


    If the optional parameter chunk_size is passed, the buffer will be flushed after any output call which causes the buffer's length to equal or exceed chunk_size. The default value 0 means that the output function will only be called when the output buffer is closed.


    If the optional parameter erase is set to FALSE, the buffer will not be deleted until the script finishes. This causes that flushing and cleaning functions would issue a notice and return FALSE if called.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?



  • ¥20 腾讯企业邮箱邮件可以恢复么
  • ¥15 有人知道怎么将自己的迁移策略布到edgecloudsim上使用吗?
  • ¥15 错误 LNK2001 无法解析的外部符号
  • ¥50 安装pyaudiokits失败
  • ¥15 计组这些题应该咋做呀
  • ¥60 更换迈创SOL6M4AE卡的时候,驱动要重新装才能使用,怎么解决?
  • ¥15 让node服务器有自动加载文件的功能
  • ¥15 jmeter脚本回放有的是对的有的是错的
  • ¥15 r语言蛋白组学相关问题
  • ¥15 Python时间序列如何拟合疏系数模型