问题:用PHPStrom打开之前的项目,突然出现红色波浪线,这是为什么?


报错如下:
Short array syntax is allowed in PHP 5.4 only less... (Ctrl+F1)
Checks that language features used in the source code correspond the selected language level. (i.e. traits can be used only in PHP 5.4). Desired language level is set in the project configuration (Project Settings | PHP).

解决办法:


网友评论