Home > Backend Development > PHP Tutorial > How to switch PHP version in PhpStorm

How to switch PHP version in PhpStorm

little bottle
Release: 2023-04-06 09:26:01
forward
8090 people have browsed it

This article mainly talks about how to switch the PHP version in PHPStorm. It has certain learning value. Interested friends can learn about it.

The default PHP version in PhpStorm is PHP 5.4. PhpStorm will automatically verify the PHP files in the editor with this version.
EX: The PHP file uses new features of PHP version 5.4 or above. Since PhpStorm cannot recognize the new feature when verifying the file, a warning mark (red wavy line) will be displayed in the corresponding position.
Set PhpStorm PHP version steps
File => Settings... => Languages ​​& Frameworks => PHP

## If language level It cannot be selected because the synchronization of composer php version is checked. Uncheck and reset it

Related tutorials:

PHP video tutorial

The above is the detailed content of How to switch PHP version in PhpStorm. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:cnblogs.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template