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

Bug #5240 Unnecessary assign by reference in PEAR_ErrorStack
Submitted: 2005-08-30 09:07 UTC
From: yunosh Assigned: cellog
Status: Closed Package: PEAR
PHP Version: 5_1 CVS-2005-08-30 OS:
Roadmaps: (Not assigned)    
Subscription  


 [2005-08-30 09:07 UTC] yunosh
Description: ------------ Index: PEAR/ErrorStack.php =================================================================== RCS file: /repository/pear-core/PEAR/ErrorStack.php,v retrieving revision 1.20 diff -u -r1.20 ErrorStack.php --- PEAR/ErrorStack.php 6 Aug 2005 23:29:16 -0000 1.20 +++ PEAR/ErrorStack.php 30 Aug 2005 09:05:34 -0000 @@ -269,7 +269,7 @@ false, $trace); } $GLOBALS['_PEAR_ERRORSTACK_SINGLETON'][$package] = - &new $stackClass($package, $msgCallback, $contextCallback, $throwPEAR_Error); + new $stackClass($package, $msgCallback, $contextCallback, $throwPEAR_Error); return $GLOBALS['_PEAR_ERRORSTACK_SINGLETON'][$package]; }

Comments

 [2005-09-04 23:30 UTC] cellog
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.