Hi,

Here's an example code where a global variable is imported into a function. The variable is not used but it doesn't appear greyed out like local variables would. Would be nice to see this in this case too.

Thanks

$foo = null;

function bar() {
  global $foo; // is not used, but doesn't appear greyed out
}
    Write a Reply...