NIUCLOUD是一款SaaS管理后台框架多应用插件+云编译。上千名开发者、服务商正在积极拥抱开发者生态。欢迎开发者们免费入驻。一起助力发展! 广告
[TOC] ## php://input ## php://output ### 实例1 ``` $fp = fopen('php://output', 'w'); fwrite($fp, "This is a test.\n"); // 等价于 echo "This is a test.\n"; ``` ### 使用 流处理对输出内容进行过滤 ``` $fp = fopen('php://output', 'w'); // 对流进行过滤 stream_filter_append($fp, 'string.toupper'); fwrite($fp, "This is a test.\n"); // THIS IS A TEST. ```