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

Bug #563 Incorrect use of global variable
Submitted: 2004-01-13 12:35 UTC
From: schst Assigned: et
Status: Closed Package: Console_Color
PHP Version: Irrelevant OS: Irrelevant
Roadmaps: (Not assigned)    
Subscription  


 [2004-01-13 12:35 UTC] schst
Description: ------------ In line 21 a variable $_CONSOLE_COLOR_CODES = array () is defined. If including the file inside a function or method, this variable is not global as it should be. Use $GLOBALS['_CONSOLE_COLOR_CODES'] instead.

Comments

 [2004-01-17 15:15 UTC] et
This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on pear.php.net. In case this was a pear.php.net website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PEAR better.
 [2004-03-24 09:45 UTC] gerd at php-tools dot de
Hi! I just read that this bug was fixed two month ago - it would be nice if there will be a new release of the package. regards, gERD