/**
* PHP输出缓冲实现
*
* @param
* @arrange 512-笔记网: jb51.cc
**/
// Start buffering
ob_start();
// Output stuff (probably not this simple,might be custom CMS functions...
echo 'Print to the screen!!!';
// Get value of buffering so far
$getContent = ob_get_contents();
// Stop buffering
ob_end_clean();
// Do stuff to $getContent as needed
// Use it
echo 'Now: ' . $getContent;
/*** 来自编程之家 jb51.cc(jb51.cc) ***/