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  
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes. If this is not your bug, you can add a comment by following this link. If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
2007-02-20 10:06 UTC
Package:
Bug Type:
Summary:
From: paul at paulbaranowski dot org
New email:
PHP Version: Package Version: OS:

 

 [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.