on-internet
← Community

How to set VS Code extension Intelephense for PHP 8?

Stack Overflow ·

I would like to set my bought Visual Studio Code extension to use PHP 8 version for it's "intelisense" functionality. Checking defaultSettings.json for 'intelephense' search query gives lots of hits, but only one stands out to me for upgrading to PHP 8: // A semver compatible string that represents the target PHP version. Used for providing version appropriate suggestions and diagnostics. PHP 5.3.0 and greater supported. "intelephense.environment.phpVersion": "7.4.0", This should probably be changed in Workspace Settings .vscode\settings.json to "intelephense.environment.phpVersion": "8.1.0-de

Comments

Sign in or sign up to comment and upvote.

No comments yet.