VS Code 中的“Code Runner”扩展对于 PHP 执行速度很慢

问题描述 投票:0回答:0

我刚刚打印了文字“Hello World!”使用 PHP。当我使用 VS Code 的“Code Runner”扩展运行此代码时,我必须等待很长时间(大约 5 秒以上)才能看到输出。

这是 Code Runner 给出的输出:

[Running] /Applications/MAMP/bin/php/php8.1.13/bin/php "/Applications/MAMP/htdocs/php/php_practice/11_3_inheritance.php"
Hello World!
[Done] exited with code=0 in 5.065 seconds

我禁用了所有其他扩展。时间还是很长。

我使用的是 MacBook Air M1。

有人可以帮我吗?

我尝试禁用所有其他扩展。但问题仍然存在。

php visual-studio-code execution-time vscode-code-runner coderunner
© www.soinside.com 2019 - 2024. All rights reserved.