Closed eldair closed 3 months ago
Describe the bug Variable is falsely reported as undefined after a while statement.
while
To Reproduce
$a = true; $b = 'asd'; $c = 1; while ($a) { $c++; $a = $c < 10; $b .= $c; } return $b;
$b is reported as undefined in the last line.
Expected behavior No error reported
Screenshots
Platform and version VScode on wsl 2/windows 11, intelephense v1.11
Thanks! Will be fixed in 1.11.2
Describe the bug Variable is falsely reported as undefined after a
while
statement.To Reproduce
$b is reported as undefined in the last line.
Expected behavior No error reported
Screenshots
Platform and version VScode on wsl 2/windows 11, intelephense v1.11