关于ob_get_clean的疑义!

WBOY
Release: 2016-06-13 11:57:55
Original
794 people have browsed it

关于ob_get_clean的疑问!!

<?php<br />echo "hello word";<br />$out=ob_get_clean();<br />echo $out." everyone";<br />?>
Copy after login

这段程序执行结果是 hello word everyone
奇怪的是为什么可以不用声明 ob_start()
------解决方案--------------------
缓冲区默认是打开的
你可用 ob_get_level() 观察到

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!