ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_contents ob_get_length ob_get_status 用法
ob为output buffer
ob_start() 开启缓冲池
ob_clean() 清除缓冲池
ob_deflatehandler() Deflate output handler and can only be used once
ob_end_clean() 清除缓冲池并关闭该缓冲池
ob_flush() 发送缓冲池内容,清空缓冲池
ob_get_clean() 提取当前缓冲池内容,并删除该缓冲池,相当于同时执行ob_get_contents() and ob_end_clean().
ob_get_contents() 返回当前缓冲池的内容
ob_get_flush() 发送缓冲池内容,并关闭缓冲池
ob_get_length() 返回缓冲池的长度
ob_get_status() Get status of output buffers