Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/laravel/10.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
PHP“;“未定义”;在VS代码中安装Laravel后出错_Php_Laravel_Visual Studio Code - Fatal编程技术网

PHP“;“未定义”;在VS代码中安装Laravel后出错

PHP“;“未定义”;在VS代码中安装Laravel后出错,php,laravel,visual-studio-code,Php,Laravel,Visual Studio Code,我所做的只是用composer create project Laravel/Laravel games\u review创建了一个新的Laravel项目,我开始在不触及PHP代码中的一行代码的情况下得到这些错误 我还看到一个VS代码错误,它说 The PHP Language Server server crashed 5 times in the last 3 minutes. The server will not be restarted. Source: PHP IntelliSen

我所做的只是用
composer create project Laravel/Laravel games\u review
创建了一个新的Laravel项目,我开始在不触及PHP代码中的一行代码的情况下得到这些错误

我还看到一个VS代码错误,它说

The PHP Language Server server crashed 5 times in the last 3 minutes. The server will not be restarted.
Source: PHP IntelliSense (Extension)
我的路径中有PHP,当我在控制台中键入
PHP-v
时,它会说

PHP 8.0.3 (cli) (built: Mar  2 2021 23:34:05) ( ZTS Visual C++ 2019 x64 )
Copyright (c) The PHP Group
Zend Engine v4.0.3, Copyright (c) Zend Technologies
在VSCode中,我安装了三个PHP扩展包

  • PHP Intelephense
  • PHP调试
  • PHP智能感知

  • 我的VSCode
    settings.json文件中没有与PHP相关的内容
    file

    您对vs代码有什么期望?知道所有的拉威尔课程吗?您是否在其中安装了laravel插件?如果您想获得更多IntelliSense,或者需要购买
    PHP Intellephense
    ,该插件的确切名称是什么?因为vscodeproblem与PHP IntelliSense扩展相关,所以可能会禁用它或查找它与PHP 8的兼容性?