-
Notifications
You must be signed in to change notification settings - Fork 472
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ob_* 等函数使用问题 #18
Comments
谢谢反馈! |
经过测试,swoole_http_response无法实现flush输出,只能一次性输出。 不过仍然可以使用ob,执行ob_start()和ob_end_*()配对即可。 ob_start();
echo time(), '<br>';
ob_end_flush(); 另外,为何会有持续输出这种需求,应该可以用其他方式来实现,欢迎进技术群 |
确实是可以使用其他方式来实现,不过这个是旧业务,是一个文件扫描持续输出的功能,影响不大 |
Closed
chatGPT逐字输出啊,laravel-s 得用php-sse么?我试了一下,不行,单开个swoole server可以 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我在业务中有使用
ob_flush
函数用来做持续输出,不过在laravelS无法输出,只输出到了日志文件里The text was updated successfully, but these errors were encountered: