在 php 中,有没有办法清除/删除所有以前回显或打印的项目?
例如:
<?php
echo 'a';
print 'b';
// some statement that removes all printed/echoed items
echo 'c';
// the final output should be equal to 'c', not 'abc'
?>
我的脚本使用了 include 函数。包含的文件不应该回显任何内容。以防万一有人(例如=黑客)尝试,我需要一种删除方法。