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

Bug #6611 Suppress a Notice Error Report
Submitted: 2006-01-27 14:14 UTC Modified: 2006-05-21 02:12 UTC
From: amistry Assigned: amistry
Status: Closed Package: Auth_SASL
PHP Version: 5.1.2 OS: FreeBSD 6-STABLE
Roadmaps: (Not assigned)    
Subscription  


 [2006-01-27 14:14 UTC] amistry
Description: ------------ The following patch supresses a E_NOTICE warning about returning variables references in PHP 5. Test script: --------------- --- SASL.php.orig Fri Jan 27 14:10:45 2006 +++ SASL.php Fri Jan 27 14:11:45 2006 @@ -91,7 +91,8 @@ } require_once($filename); - return new $classname(); + $obj = new $classname(); + return $obj; } }

Comments

 [2006-02-10 05:35 UTC] amistry at php dot net
Suppress 2 more warnings if there is no access to /dev/random /dev/urandom http://am-productions.biz/docs/DigestMD5.php.patch
 [2006-05-21 01:43 UTC] amistry at php dot net (Anish Mistry)
Fixed in CVS
 [2006-05-21 02:12 UTC] amistry at php dot net (Anish Mistry)
Thank you for your bug report. This issue has been fixed in the latest released version of the package, which you can download at http://pear.php.net/get/Auth_SASL