PHP Tools for Visual Studio v1.68.16325

Adds support for PHP 8.2 and improves diagnostics.
September 22, 2022 - 15:48
New Version

Features

  • Added support for PHP 8.2.
  • Diagnostics:
    • Dynamic Properties - The editor now checks accessing class dynamic properties, i.e. properties that were not declared, according to their access.
    • Annotating 'foreach' Control Variables - Type of control variables can now be annotated using 'inlined DocComment'. The same works for the key variable as well.
    • More Control Flow Diagnostics - In cases where a function has a mixed return type-hint, the missing return is now reported.
  • Improvements:
    • Updated Attribute class definition.
    • Generated getter/setter snippet (through a property code action) now respects static keywords.
    • DocComments now allow type hints to be enclosed in parentheses.
    • Memory usage optimizations.
    • Performance improvements.
PHP Tools for Visual Studio

PHP Tools for Visual Studio

Develop PHP websites and applications in Visual Studio.

Got a Question?

Live Chat with our DEVSENSE licensing specialists now.