![]() PhpStorm will check the type and highlight violations in the editor window. PhpStorm will, of course, help you with autocompletion and let you know if anything doesn’t follow the language syntax.ĭeclared enums can be used as type declarations in parameters, return values, and class properties. You can switch from the toolbar or by specifying the requirement in composer.json.ĭeclare a new enum using the keywords enum and case. PHP 8.1 will be available in the language level selection for the project. If you don’t want to miss what else is planned for PHP 8.1, sign up for our PHP Annotated newsletter with a roundup of news from the PHP world. One of the most significant and expected features will, of course, be enums. ![]() ![]() As is our tradition, we will start rolling out support for new features early. The new version of the interpreter is expected to be released in late November. With that said, let’s take a look at the first portion of the updates in the upcoming 2021.2 release. Occasionally, a video outlining the most recent features appears on our YouTube channel, so subscribe to stay posted. Follow us on Twitter and be the first to get each new post. You can install EAP side-by-side with your stable version of PhpStorm – there is no need to uninstall it.Īlong with the build, every week we will publish a post with a story about new features and changes.PhpStorm EAP builds are not fully tested and may be unstable.Every build is available for a month after it’s been published. EAP builds can be used completely free of charge and without a license.For two months before the next release, we will publish weekly new builds and showcase upcoming features. ![]() If you’re not familiar with our EAP, here’s a quick recap. ![]() You can get the first EAP build via the Toolbox App, download it from our website, use a snap package (for Ubuntu), or from inside PhpStorm, select Automatically check updates for Early Access Program under Preferences / Settings | Appearance & Behavior | System Settings | Updates. Today we’re starting the Early Access Program (EAP) for PhpStorm 2021.2. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |