码迷,mamicode.com
首页 > 其他好文 > 详细

ob_get_contents()

时间:2014-12-27 17:15:44      阅读:123      评论:0      收藏:0      [点我收藏+]

标签:

ob_start();//buf1
echo ‘multiple‘;
ob_start();//buf2
echo ‘bufferswork‘;
$buf2 = ob_get_contents();
ob_end_clean();
$buf1 = ob_get_contents();
ob_end_clean();
echo $buf1;
echo ‘‘;
echo $buf2;

ob_get_contents()

标签:

原文地址:http://www.cnblogs.com/alex-13/p/4188610.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!