<pre class="best-text mb-10">ob_clean这个函数的作用就是用来丢弃输出缓冲区中的内容,如果你的网站有许多生成的图片类文件,那么想要访问正确,就要经常清除缓冲区。
<pre class="best-text mb-10">If you work on an extremely large project with a lot of source and required files,like myself,you will be well-advised to always clear the output buffer prior to creating an image in <a class="baidu-highlight" href="https://www.baidu.com/s?wd=PHP&tn=44039180_cpr&fenlei=mv6quAkxTZn0IZRqIHckPjm4nH00T1Y3nvFhPyc4PWm4m1RdnADL0ZwV5Hcvrjm3rH6sPfKWUMw85HfYnjn4nH6sgvPsT6KdThsqpZwYTjCEQLGcpyw9Uz4Bmy-bIi4WUvYETgN-TLwGUv3En1bkPH6dnj03" rel="nofollow" target="_blank">PHP.