PHPDoc does not seem to recognize global variables in output. What am I doing wrong?
问题 I have the following in my code /** * The primary database connection object * * @global object $GLOBALS['db'] * @name $db */ global $db; Now you would think that this would be sufficient, but when I run phpdoc, there is no mention of this variable anywhere in the documentation or any other global variable. What gives? This is straight out of the documentation. Why isn't it recognizing and recording this variable as a global? As a secondary question, it seems you ought to be able to reference