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

php基础缓存有关问题请问

WBOY
Release: 2016-06-13 13:06:47
Original
839 people have browsed it

php基础缓存问题请教

PHP code
<!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

-->
<?php ob_start();
echo 11;
?>


Copy after login

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

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

------解决方案--------------------
php程序结束时会关闭缓存,并推出缓存内容
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template