Home  >  Article  >  Backend Development  >  php基础缓存有关问题请问

php基础缓存有关问题请问

WBOY
WBOYOriginal
2016-06-13 10:57:22802browse

php基础缓存问题请教

PHP code
<!--Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--><?phpob_start ();echo 11;?>

上面这段代码执行结果输出:11

请教的是:ob_start();之后的所有输出不是都到缓存里了吗 按道理应该什么输出都没有才是啊 为何这里有输出 不懂 求大牛指点 跪谢!

------解决方案--------------------
php程序结束时会关闭缓存,并推出缓存内容
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn