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

Bug #14179 Declaration of MDB2_Driver_Common::raiseError() must be compatible with that of
Submitted: 2008-06-18 18:08 UTC
From: captainpierce Assigned: quipo
Status: Closed Package: MDB2 (version 2.5.0b1)
PHP Version: HEAD CVS-2008-03-16 OS: Linux
Roadmaps: (Not assigned)    
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 : 43 - 31 = ?

 
 [2008-06-18 18:08 UTC] captainpierce (Steven Schaefer)
Description: ------------ This is the same as bug #11612 for PHP 6, but the fix for that bug only changed the raiseError function in the MDB2 class. There's another one in the class MDB2_Driver_Common that also needs two dummy arguments in the function signature, so in reality the fix in 11612 is incomplete. Expected result: ---------------- Nothing! Actual result: -------------- PHP Fatal error: Declaration of MDB2_Driver_Common::raiseError() must be compatible with that of PEAR::raiseError() in /.../MDB2.php on line 3363

Comments

 [2008-07-14 16:21 UTC] quipo (Lorenzo Alberton)
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.