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

Bug #7789 &_getFilePointer() cannot return a reference
Submitted: 2006-06-01 23:20 UTC Modified: 2007-02-20 05:06 UTC
From: paulbaranowski Assigned: mike
Status: Closed Package: File (version 1.2.2)
PHP Version: 4.4.2 OS: Linux (Ubuntu Dapper)
Roadmaps: 1.3.0a1    
Subscription  


 [2006-06-01 23:20 UTC] paul at paulbaranowski dot org (Paul Baranowski)
Description: ------------ Error message: Only variable references should be returned by reference Stacktrace: _getfilepointer() called at [.../include/pear/File.php:143] file::_getfilepointer() called at [.../include/pear/File.php:255] file::write() called at [...] Explanation: _getFilePointer() sometimes returns a PEAR_Error object, which is not a reference to something. This causes the error shown above.

Comments

 [2007-02-20 05:06 UTC] mike (Michael Wallner)
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.