标签:
ob_start(); //打开缓存区
include $this->compile_path; //缓存区的输出
$contents = ob_get_contents(); //获取缓存区内容
ob_end_clean(); //清除缓存区
echo $contents; //输出内容
标签:
原文地址:http://www.cnblogs.com/zhizhong/p/4335505.html