Visual Studio Code PHP Intelephense not hilight probably unset varuables. How enable hilight probably unset varuables? $summ not hilighted ($summ = float|array $summ). PhpStorm do it. Code:
Hello,
PHP Tools IntelliSense should be doing that:
It dims the unused variables ($sum), and it underlines unset variables ($something).
$sum
$something
Note, PHP Intelephense is a different extension. You can uninstall it, and install PHP Tools (https://marketplace.visualstudio.com/items?itemName=DEVSENSE.phptools-vscode)