通常 - ob_start(); phpinfo();
- $i = ob_get_contents();
- ob_end_clean();
- $html = str_replace(
- "module_Zend Optimizer", "module_Zend_Optimizer",
- preg_replace('%^.*.*$%ms', '$1', $i)
- );
- $html = str_replace(' width="600"', '', $html);
- $str = <<
- STR;
- echo $str;
复制代码 |