I'm trying to debug one of my plugins and see why it's outputting an error. The obvious thing would be to output the variables and check they are all there right?
Try putting this in global_complete:
PHP Code:
$var = 'moo'; function moo() { global $var; echo $var; } moo();
Nothing is output. However, if you put this in there:
PHP Code:
$var = 'moo'; function moo() { global $var; echo $var; } moo(); echo 'test';
It'll output 'test'. Am I missing something here

?