I'm not sure if the following is a error from PHP Tools or from VS, so please just tell me if I'm in the wrong forum.
If I'm entering the following code in VS2019, it shows me an error in the Errorlist from VS "Unreachable code detected":
<?php
if (isset($anyid))
{
do_this_function($anyid); //<== Here is the "error"
}


If I change the code to the opposit, there is no error:
<?php
if (!isset($anyid))
{
//do nothing
}
else
{
do_this_function($anyid);
}
thank you in advance for your comments!