title: do you know how to remove vscode error underline in php when i define constant?
body: <p>in my vscode I define constant and when i want to print it,  vscode gives error and red underline. but it works (prints). I want to remove this error underline but how, i don't know. can you help?</p>
  <pre><code>$db['db_host'] = &quot;localhost&quot;;
  $db['db_user'] = &quot;root&quot;;
  $db['db_pass'] = &quot;password&quot;;
  $db['db_name'] = &quot;cms&quot;;
  
  foreach ($db as $key =&gt; $value) {
      define(strtoupper($key), $value);
  }
  
  $connection = mysqli_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME);
  </code></pre>
  <p>IT works. but VSCODE marks red underline at bottom DB_HOST,DB_USER, DB_PASS, DB_NAME.</p>
  <p>I FIX this problem just change code like :</p>
  <pre><code> $connection = mysqli_connect(constant(&quot;DB_HOST&quot;), constant(&quot;DB_USER&quot;), constant(&quot;DB_PASS&quot;), constant(&quot;DB_NAME&quot;));
  </code></pre>