Skip to content
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

这里可以使用 app()->runningInConsole 来判断,在 cli-server 等服务框架运行时显示不太友好。 #2883

Open
zoujingli opened this issue May 18, 2023 · 0 comments

Comments

@zoujingli
Copy link

zoujingli commented May 18, 2023

https://github.com/top-think/framework/blob/05adb994cf82a2f9b34145ac41a6082a9914873f/src/helper.php#LL193C16-L193C16

比如 workerman 或 swoole 方式启用 web 服务时,dump 就不好用了

@zoujingli zoujingli changed the title 这里可以使用使用 app()->runningInConsole 来判断,在 cli server 显示不太友好。 这里可以使用 app()->runningInConsole 来判断,在 cli-server 等服务框架运行时显示不太友好。 May 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants