Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.5.0a1

Bug #11409 PHP Notices accompany Global Never Found errors
Submitted: 2007-06-22 21:21 UTC
From: ashnazg Assigned: ashnazg
Status: Closed Package: PhpDocumentor (version 1.4.0a2)
PHP Version: 5.1.6 OS: Windows XP
Roadmaps: 1.4.0RC1    
Subscription  


 [2007-06-22 21:21 UTC] ashnazg (Chuck Burgess)
Description: ------------ Each "global variable $whatever specified in @global tag was never found" error is accompanied by PHP Notices about "Undefined offset". Test script: --------------- <?php /** * some file * @package BugReports */ /** * @global string $whatever my global var */ $_GLOBALS['whatever'] = 'test'; ?>

Comments

 [2007-06-22 21:23 UTC] ashnazg (Chuck Burgess)
Discovered this while troubleshooting SF #1675383 (https://sourceforge.net/tracker/index.php?func=detail&aid=1675383&group_id=11194&atid=111194). This small patch clears it right up.
 [2007-06-25 13:40 UTC] ashnazg (Chuck Burgess)
Committed to CVS.