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  


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 45 - 40 = ?

 
 [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.