Home>Article>Development Tools> PhpStorm software configures the PHP language version
The following columnphpstorm tutorialwill introduce to you how to configure the PHP language version of PhpStorm. I hope it will be helpful to friends in need!
Problem Description
Generally speaking, the default PHP language version in PhpStorm is PHP 5.4, and PhpStorm will Files in the editor are automatically verified with this PHP version.
If we use the new features of PHP 7.0 (such as the null coalescing operator??) in the PHP file, then because PhpStorm cannot recognize the new feature when verifying the file, it will be in the corresponding location A warning sign (red wavy line) is displayed.
Although this will not have a big impact on our use of PhpStorm, this red warning looks unpleasant.
Solution
Modify the configuration of PhpStorm and adjust the PHP language version to PHP 7.0.
Click on the menu barFile → Settings → Languages & Frameworks → PHP
, change the value of the PHP language level drop-down list to 7, and click OK to save.
PhpStorm Introduction:
PhpStorm is a commercial PHP integrated development tool developed by JetBrains. It is designed to improve user efficiency, deeply understand user coding, and provide Smart code completion, fast navigation, and on-the-fly error checking. PhpStorm can help users adjust their coding, run unit tests or provide visual debugging functions at any time.
PhpStorm is written in Java. Users can extend the IDE by installing plugins created for PhpStorm or writing their own. The software also communicates with external sources such as XDebug.
All features available in WebStorm are included in PhpStorm, with added support for PHP and databases. WebStorm comes with pre-installed JavaScript plugins (such as Node.js).
Features:
The above is the detailed content of PhpStorm software configures the PHP language version. For more information, please follow other related articles on the PHP Chinese website!