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-02 04:20 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  
Comments Add Comment Add patch


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 : 32 - 24 = ?

 
 [2006-06-02 04: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 10: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.