Language version disabled in multiple php version
When given multiple Php versions in composer.json with || operator, language version is disabled and set to first Php version from left. Shouldn't it show both the versions as an option to select?


Please sign in to leave a comment.
No, because your project should be runnable with both PHP 7.4 and 8.0, it means that you can't use languages features that are only available in PHP 8 because in this case someone who has PHP 7.4 won't be able to run it.
A thread with argument about this matter on our tracker: https://youtrack.jetbrains.com/issue/WI-39199