I noticed that Visual Studio Code is not showing an error about undefined variables.
For example:
<?php
if ($test > 2) {
echo 'hi';
}
?>
If I run the code above, I would expect an error for undefined variable $test, but it’s not showing any errors under PROBLEMS:
I only get a warning under TERMINAL.
Is there any way to make Visual Studio Code show an error for undefined variables or is it not possible?