💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
[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. ```